Я пытаюсь создать файл класса, который содержит все методы для вызова Amazon Product API, Report API, Feeds API.
Поэтому я должен включить все необходимые файлы. Я получил все папки классов API Amazon по одному пути с этим файлом класса, и я включаю следующий путь:
=============================================== =========
// Для getASIN
require_once 'AmazonProductsAPI/src/MarketplaceWebServiceProducts/Client.php';
require_once 'AmazonProductsAPI/src/MarketplaceWebServiceProducts/Model/GetCompetitivePricingForSKURequest.php';
require_once 'AmazonProductsAPI/src/MarketplaceWebServiceProducts/Model/SellerSKUListType.php';
//For putPrice (Price Change)
require_once 'FeedsAPIClass/src/MarketplaceWebService/Client.php';
require_once 'FeedsAPIClass/src/MarketplaceWebService/Mock.php';
require_once 'FeedsAPIClass/src/MarketplaceWebService/Model/SubmitFeedRequest.php';
//For Updating Quantity and Price From Amazon Report API to Our DB
require_once 'ReportsAPIClass/src/MarketplaceWebService/Client.php';
require_once 'ReportsAPIClass/src/MarketplaceWebService/Model/RequestReportRequest.php';
require_once 'ReportsAPIClass/src/MarketplaceWebService/Model/GetReportListRequest.php';
require_once 'ReportsAPIClass/src/MarketplaceWebService/Model/GetReportRequest.php';
======================================================
But i am getting error like:
======================================================
enter code here
PHP Warning: require_once(MarketplaceWebServiceProducts/Interface.php): failed to open stream: No such file or directory in /mnt/hgfs/keyur On My Mac/webs/keyur.iec.com/htdocs/vendors/AmazonAPI/AmazonProductsAPI/src/MarketplaceWebServiceProducts/Client.php on line 22
Warning: require_once(MarketplaceWebServiceProducts/Interface.php): failed to open stream: No such file or directory in /mnt/hgfs/keyur On My Mac/webs/keyur.iec.com/htdocs/vendors/AmazonAPI/AmazonProductsAPI/src/MarketplaceWebServiceProducts/Client.php on line 22
PHP Fatal error: require_once(): Failed opening required 'MarketplaceWebServiceProducts/Interface.php' (include_path='.:/usr/share/pear:/usr/share/php:/mnt/hgfs/keyur\ On\ My\ Mac/webs/keyur.iec.com/htdocs/vendors/AmazonAPI/AmazonProductsAPI/src') in /mnt/hgfs/keyur On My Mac/webs/keyur.iec.com/htdocs/vendors/AmazonAPI/AmazonProductsAPI/src/MarketplaceWebServiceProducts/Client.php on line 22
Fatal error: require_once(): Failed opening required 'MarketplaceWebServiceProducts/Interface.php' (include_path='.:/usr/share/pear:/usr/share/php:/mnt/hgfs/keyur\ On\ My\ Mac/webs/keyur.iec.com/htdocs/vendors/AmazonAPI/AmazonProductsAPI/src') in /mnt/hgfs/keyur On My Mac/webs/keyur.iec.com/htdocs/vendors/AmazonAPI/AmazonProductsAPI/src/MarketplaceWebServiceProducts/Client.php on line 22
=============================================== =====
По моему компьютеру это правильные пути, но я не знаю, что не так.
Пожалуйста, помогите .........................