0

I created script which uses Amazon Marketplace Web Services and I want to put it inside a controller indexAction() function. However when I do this it says that

Class 'MarketplaceWebServiceOrders_Client' not found in path_to_my_bundle

How can I load this class in correct way? Should I place

amazon-mws-v20090101-php-2012-09-28.V386158529

amazon-mws-v20110101-php-2012-09-28.V386158559

folders under vendor folder and register it somehow?

4

1 回答 1

0

您的包含路径有问题,请在 php.ini 中设置 include_path。或者如果您显示您的代码,那么我们可以帮助您找出问题所在。

于 2012-12-11T10:12:15.847 回答