Discussion:
[Mtamazon] Another case of "file not found"...
Lee Butler
2004-11-25 20:28:03 UTC
Permalink
Yesterday I installed MTAmazon and added my wishlist to a MT blog I'm
trying to build. Everything worked 100% correctly and I was joyous!

Then I did a rebuild on the index page today and I get the following
error:

Build error in template 'Main Index': Error in <MTAmazon> tag: Error
reading XML content: File does not exist: at
C:\webserver\cgi\extlib/MTPlugins/MTAmazon.pm line 142 .

I check on the file in the cache directory and it is 0 bytes, but it
does exist. I'm presuming that the error came up because there was no
XML to load so the parsing failed rather than an actual fileopen
failure.

That leads me to think that Amazon is returning nothing to the query.
That's the unchanged wishlist query which worked correctly yesterday.

First, is there anything else I should try to fix rather than just
writing it off as an Amazon problem?

Second, does anyone have a change to the mtamazon.pm file that would
just skip building the content when this happens so my page rebuilds
will finish (with no Amazon data)?

TIA, Lee
Lee Butler
2004-11-25 21:22:25 UTC
Permalink
Sorry for the email spam. This turned out to be a problem with DNS
name resolution from scripts running on the server.. That would also
explain why the file was 0 bytes, but not all that obvious.
Post by Lee Butler
Yesterday I installed MTAmazon and added my wishlist to a MT blog I'm
trying to build. Everything worked 100% correctly and I was joyous!
Then I did a rebuild on the index page today and I get the following
Build error in template 'Main Index': Error in <MTAmazon> tag: Error
reading XML content: File does not exist: at
C:\webserver\cgi\extlib/MTPlugins/MTAmazon.pm line 142 .
I check on the file in the cache directory and it is 0 bytes, but it
does exist. I'm presuming that the error came up because there was no
XML to load so the parsing failed rather than an actual fileopen
failure.
That leads me to think that Amazon is returning nothing to the query.
That's the unchanged wishlist query which worked correctly yesterday.
First, is there anything else I should try to fix rather than just
writing it off as an Amazon problem?
Second, does anyone have a change to the mtamazon.pm file that would
just skip building the content when this happens so my page rebuilds
will finish (with no Amazon data)?
TIA, Lee
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real
users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
You received this email because you have subscribed to Mtamazon-users.
To subscribe, unsubscribe, or change your subscription options, please
visit
https://lists.sourceforge.net/lists/listinfo/mtamazon-users
Loading...