<div dir="ltr">Yes, the Amazon API changed this spring. A patch for 2.29 was discussed on the list and released:<br> <a href="http://lists.katipo.co.nz/public/koha/2008-April/013479.html">http://lists.katipo.co.nz/public/koha/2008-April/013479.html</a><br>
<br>Other users report success after applying that.<br><br>--Joe Atzberger<br>LibLime<br><br><div class="gmail_quote">On Wed, Jul 23, 2008 at 6:07 PM, Magnus Enger <span dir="ltr"><<a href="mailto:magnus@enger.priv.no">magnus@enger.priv.no</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi!<br>
<br>
Looks like you need to provide Koha with two pieces of information in the<br>
preferences: AmazonAssocTag and AWSAccessKeyID (Access Key ID - if you do not<br>
provide this you will not be getiting the Amazon Reviews). See<br>
<a href="http://aws.amazon.com/" target="_blank">http://aws.amazon.com/</a> for info on how to get these.<br>
<br>
Regards,<br>
Magnus Enger<br>
<a href="http://collib.info" target="_blank">collib.info</a><br>
<br>
----- Original Message -----<br>
From: "Charles N Burns" <<a href="mailto:charlesnburns@gmail.com">charlesnburns@gmail.com</a>><br>
To: <a href="mailto:koha@lists.katipo.co.nz">koha@lists.katipo.co.nz</a><br>
Sent: Tue, 22 Jul 2008 22:33:21 -0600<br>
Subject: [Koha] Koha 2.29, HTTP 500 internal server error with Amazon AWS<br>
<br>
> Hello all,<br>
><br>
> Please cc this email to my email address as I am not subscribed to the<br>
> list. I would subscribe, but I am setting up Koha for a friend's<br>
> community elementary school's library, but have no library of my own.<br>
> :)<br>
><br>
> Problem is:<br>
> When I enable AWS (Amazon Web Services) with "AmazonContent = 1", any<br>
> attempt to view a book from search is met with the familiar:<br>
><br>
> "Internal Server Error<br>
><br>
> The server encountered an internal error or misconfiguration and was<br>
> unable to complete your request."<br>
> (etc.)<br>
><br>
> An example of a URL that crashes Koha is this:<br>
> <a href="http://KOHA_SERVER/cgi-bin/koha/opac-detail.pl?bib=5338" target="_blank">http://KOHA_SERVER/cgi-bin/koha/opac-detail.pl?bib=5338</a><br>
><br>
> (So the problem seems to be in opac-detail.pl)<br>
><br>
> ----------<br>
><br>
> When I execute opac-detail.pl directly in the command line:<br>
><br>
> # export PERL5LIB=/usr/local/koha/intranet/modules<br>
> # /usr/local/koha/opac/cgi-bin/opac-detail.pl<br>
><br>
> I get:<br>
><br>
> could not retrieve<br>
><br>
<a href="http://xml.amazon.com/onca/xml3?t=&dev-t=%28My_amazon_qws_id%29&type=heavy&f=xml&" target="_blank">http://xml.amazon.com/onca/xml3?t=&dev-t=(My_amazon_qws_id)&type=heavy&f=xml&</a><br>
<br>
> AsinSearch=<br>
> at /usr/local/koha/intranet/modules/C4/Amazon.pm line 64.<br>
> Could not find opac-detail.xml in /usr/local/koha/opac/cgi-bin/ at<br>
> /usr/local/koha/intranet/modules/C4/Amazon.pm line 66<br>
><br>
> ----------<br>
><br>
> No log files mention anything special other than the access log, which<br>
> is pretty worthless:<br>
><br>
> # cat opac-access_log<br>
> (...)<br>
> <a href="http://10.0.0.196" target="_blank">10.0.0.196</a> - - [22/Jul/2008:22:22:25 -0600] "GET<br>
> /cgi-bin/koha/opac-detail.pl?bib=5338 HTTP/1.1" 500 663<br>
><br>
> ----------<br>
><br>
> The setup:<br>
> Ubuntu Hardy 8.04 with most recent updates<br>
> Koha 2.2.9<br>
> Apache ID string: "Apache/2.2.8 (Ubuntu) PHP/5.2.4-2ubuntu5.2 with<br>
> Suhosin-Patch Server at <a href="http://10.0.0.161" target="_blank">10.0.0.161</a> Port 80"<br>
> Perl v5.8.8<br>
><br>
> ----------<br>
><br>
> So it looks like either Amazon isn't providing some XML file, or the<br>
> request generated by Koha is not correct.<br>
> Either way, I think it's extremely bad that the results of a request<br>
> to an external website (Amazon.com) had the effect of basically<br>
> "crashing" Koha. I think Koha really ought to handle this, though I<br>
> don't actually know if it's something Koha can prevent.<br>
><br>
><br>
> So the question is:<br>
> How do I get AWS to work with Koha?<br>
><br>
> Best regards,<br>
><br>
> Charles Burns<br>
><br>
> --<br>
> "Be who you are and say what you feel, because those who mind don't<br>
> matter and those who matter don't mind." --Dr. Seuss<br>
> _______________________________________________<br>
> Koha mailing list<br>
> <a href="mailto:Koha@lists.katipo.co.nz">Koha@lists.katipo.co.nz</a><br>
> <a href="http://lists.katipo.co.nz/mailman/listinfo/koha" target="_blank">http://lists.katipo.co.nz/mailman/listinfo/koha</a><br>
_______________________________________________<br>
Koha mailing list<br>
<a href="mailto:Koha@lists.katipo.co.nz">Koha@lists.katipo.co.nz</a><br>
<a href="http://lists.katipo.co.nz/mailman/listinfo/koha" target="_blank">http://lists.katipo.co.nz/mailman/listinfo/koha</a><br>
</blockquote></div><br></div>