duanche9384 2012-10-19 04:10
浏览 29
已采纳

设置Fedex运输方法后Magento 500出错

This can easily be recreated for me by disabling FedEx shipping method and going to the cart and then enabling it and it gives me 500 error.

Here's the system log from magento. For security purposes I've replaced the domain name with "domain".

2012-10-19T03:57:53+00:00 ERR (3): Warning: include(SoapClient.php): failed to open stream: No such file or directory  in /var/www/vhosts/www.domain.com/httpdocs/lib/Varien/Autoload.php on line 93
2012-10-19T03:57:53+00:00 ERR (3): Warning: include(SoapClient.php): failed to open stream: No such file or directory  in /var/www/vhosts/www.domain.com/httpdocs/lib/Varien/Autoload.php on line 93
2012-10-19T03:57:53+00:00 ERR (3): Warning: include(): Failed opening 'SoapClient.php' for inclusion (include_path='/var/www/vhosts/www.domain.com/httpdocs/app/code/local:/var/www/vhosts/www.domain.com/httpdocs/app/code/community:/var/www/vhosts/www.domain.com/httpdocs/app/code/core:/var/www/vhosts/www.domain.com/httpdocs/lib:.:')  in /var/www/vhosts/www.domain.com/httpdocs/lib/Varien/Autoload.php on line 93

I have installed php-soap via yum but I don't think it's enabled in php because in my php info all it mentions about php soap is the soap.ini file. In that file. soap is uncommented, but I'm not sure that I've correctly added it to the PHP.ini file. I wasn't able to locate the php.ini file but was able to use plesk to add a command for the php file which was supposed to enable soap, but I'm not sure if that's working.

Any help or pointers is greatly appreciated! I've spent so much time on this issue.

  • 写回答

1条回答 默认 最新

  • douqinlin5094 2012-10-19 08:02
    关注

    I have figured it out! I was using PHP 5.3.3 and I had PHP 5.3.17 installed.

    All I had to do was yum update php and then service httpd restart on the server. my php-common and php-soap were at version 5.3.17 and php installation was at 5.5.3 they weren't compatible.

    I thought this was a programming issue!

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 乌班图ip地址配置及远程SSH
  • ¥15 怎么让点阵屏显示静态爱心,用keiluVision5写出让点阵屏显示静态爱心的代码,越快越好
  • ¥15 PSPICE制作一个加法器
  • ¥15 javaweb项目无法正常跳转
  • ¥15 VMBox虚拟机无法访问
  • ¥15 skd显示找不到头文件
  • ¥15 机器视觉中图片中长度与真实长度的关系
  • ¥15 fastreport table 怎么只让每页的最下面和最顶部有横线
  • ¥15 java 的protected权限 ,问题在注释里
  • ¥15 这个是哪里有问题啊?