RE: [Mtamazon] file not found - cache issue
"Adam Kalsey" <adam-AwwqhEA/[email protected]> Thu, 29 Jul 2004 12:18:09 -0700
| Newsgroups | gmane.comp.web.mtamazon.user |
|---|---|
| Message-ID | <[email protected]> |
> Is there any way to remove support for caching entirely or > perhaps remove the cache eviction functionality? You can turn off caching through a configuration directive in the config file, but that's not recommended. Your site will make a fresh request to Amazon for every rebuild, including each time comments are posted. Cache files are never deleted, the plugin simply ignores them it they are an hour or more old. So you aren't running into a deletion problem. > Build error in template 'Main Index': Error in <MTOtherBlog> tag: > Error in <MTEntries> tag: Error in <MTTagInvoke> tag: Error > reading XML content: File does not exist: at > /var/www/html/extlib/MTPlugins/MTAmazon.pm line 142 . I can't think of why it would be saying that the file doesn't exist on that line. Assuming you're using the latest version of MTAmazon, it doesn't look for a file at all anywhere near that line. By the time you get to that point in the code, the cache file has already been checked and loaded. That's the point at which the code parses the XML content. There was a similar problem reported a while back and the solution was that XML::Parser and Expat were not installed on the server. Installing XML::Parser (which in turn installs Expat) solved it. But the fact that you've been running find for a few days puzzles me. Perhaps something has gone wrong with the XML::Parser installation. Could you have your server admiin re-install it and see if that fixes the problem? ........................................................................ Adam Kalsey 916.600.2497 Internet consultant adam-AwwqhEA/[email protected] Kalsey Consulting Group http://www.kalsey.com/ aim: KalseyGroup icq: 137208951 ........................................................................ BlogSnob - Promote your blog http://blogsnob.simpleads.net/ Zempt - Simple Movable Type publishing http://zempt.com/ ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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