Hello,

a time ago I made a script with zend amazon. It worked fine. It tried the
same script today. And it's not working anymore. Something changed on
Amazon?

$amazon = new Zend_Service_Amazon_Query('MYKEY','US');
$amazon->category('Books')
        ->Keywords("php")
        ->ResponseGroup('Large')
        ->ItemPage($this->_getParam('page'));
$books = $amazon->search();

output:

Fatal error: Uncaught exception 'Zend_Service_Exception' with message 'An
error occurred sending request. Status code: 400' in
C:\wamp\www\_phpscriptor\public_html\library\Zend\Service\Amazon.php:110
Stack trace: #0
C:\wamp\www\_phpscriptor\public_html\library\Zend\Service\Amazon\Query.php(96):
Zend_Service_Amazon->itemSearch(Array) #1
C:\wamp\www\_phpscriptor\public_html\app\modules\books\controllers\IndexController.php(24):
Zend_Service_Amazon_Query->search() #2
C:\wamp\www\_phpscriptor\public_html\library\Zend\Controller\Action.php(502):
Books_IndexController->indexAction() #3
C:\wamp\www\_phpscriptor\public_html\library\Zend\Controller\Dispatcher\Standard.php(293):
Zend_Controller_Action->dispatch('indexAction') #4
C:\wamp\www\_phpscriptor\public_html\library\Zend\Controller\Front.php(946):
Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http),
Object(Zend_Controller_Response_Http)) #5
C:\wamp\www\_phpscriptor\public_html\application.php(182):
Zend_Controller_Front->dispatch() #6 C:\wamp\w in
C:\wamp\www\_phpscriptor\public_html\library\Zend\Service\Amazon.php on line
110

-----
visit my website at  http://www.phpscriptor.com/ http://www.phpscriptor.com/ 
-- 
View this message in context: 
http://www.nabble.com/Zend-Amazon-not-working-anymore-tp25195723p25195723.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to