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 WPF 大屏看板表格背景图片设置
  • ¥15 这个主板怎么能扩出一两个sata口
  • ¥15 不是,这到底错哪儿了😭
  • ¥15 2020长安杯与连接网探
  • ¥15 关于#matlab#的问题:在模糊控制器中选出线路信息,在simulink中根据线路信息生成速度时间目标曲线(初速度为20m/s,15秒后减为0的速度时间图像)我想问线路信息是什么
  • ¥15 banner广告展示设置多少时间不怎么会消耗用户价值
  • ¥16 mybatis的代理对象无法通过@Autowired装填
  • ¥15 可见光定位matlab仿真
  • ¥15 arduino 四自由度机械臂
  • ¥15 wordpress 产品图片 GIF 没法显示