Magento 1.9.1.0 soap登录失败 - 没有错误日志,没有想法

时间:2015-06-17 22:11:47

标签: php magento zend-framework soap

我在Magento写了一个肥皂请求的脚本。该脚本在我的本地安装和小型测试服务器上运行完美。它从外部数据库更新并创建产品数据。

我知道现在不再知道在哪里寻找错误了。

运行脚本时,我总是遇到以下错误:

<b>Fatal error</b>:  Uncaught SoapFault exception: [HTTP] Internal Server Error in C:\xampp\htdocs\mage.update.products.v3.php:52

在错误日志中搜索没有发现任何内容 - 因为没有列出错误。

我尝试了以下内容:

  • 在php.ini中设置default_socket_timeout = 120
  • 从MageGyver安装ApiImprovements以修复可能的标头问题

你们有什么建议吗?即使是现在,还有很多,非常感谢!

修改

现在我在日志文件中看到以下错误:

[Thu Jun 18 16:10:58.121061 2015] [fcgid:warn] [pid 1940] [client <ip>:59643] mod_fcgid: stderr: PHP Warning:  SoapServer::SoapServer(https://<magehost>/index.php/api/soap/index/?wsdl=1): failed to open stream: Connection timed out in /var/www/vhosts/<magehost>/httpdocs/lib/Zend/Soap/Server.php on line 814
[Thu Jun 18 16:10:58.121095 2015] [fcgid:warn] [pid 1940] [client <ip>:59643] mod_fcgid: stderr: PHP Warning:  SoapServer::SoapServer(): I/O warning : failed to load external entity &quot;https://<magehost>/index.php/api/soap/index/?wsdl=1&quot; in /var/www/vhosts/<magehost>/httpdocs/lib/Zend/Soap/Server.php on line 814
[Thu Jun 18 16:10:58.121112 2015] [fcgid:warn] [pid 1940] [client <ip>:59643] mod_fcgid: stderr: PHP Fatal error:  SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://<magehost>/index.php/api/soap/index/?wsdl=1' : failed to load external entity "https://<magehost>/index.php/api/soap/index/?wsdl=1"
[Thu Jun 18 16:10:58.121124 2015] [fcgid:warn] [pid 1940] [client <ip>:59643] mod_fcgid: stderr:  in /var/www/vhosts/<magehost>/httpdocs/lib/Zend/Soap/Server.php on line 814

0 个答案:

没有答案