I understand that this is an old question, but I had a similar problem, and I decided to share my findings.
The problem here arose due to a change in the installation path of the library.
... not found in C:\xampp\htdocs\sites\amazon marketplace\Samples\GetReportCountSample.php
Not including the Lib directory, it generated this error. If you read the .config.php file, you will see
function __autoload($className){ $filePath = str_replace('_', DIRECTORY_SEPARATOR, $className) . '.php'; $includePaths = explode(PATH_SEPARATOR, get_include_path()); foreach($includePaths as $includePath){ if(file_exists($includePath . DIRECTORY_SEPARATOR . $filePath)){ require_once $filePath; return; } } }
This means that you need to have the correct path once the class has been split with underscores. In doing so, he searches for the path "MarketplaceWebService / client.php". Having deleted the "MarketplaceWebService" directory, he will not be able to find this file to determine the class.
To fix it, just set your library to "htdocs \ sites \ amazon marketplace \ MarketplaceWebService \" and everything should be fine.
Hope this helps someone.
Jason
source share