Keyword

Cache file randomly saves garbage data

  • John Doe
  • John Doe's Avatar Topic Author
  • Offline
  • New Member
More
4 years 3 months ago - 4 years 3 months ago #143783 by John Doe
John Doe created the topic: Cache file randomly saves garbage data
While otherwise working correctly, simple rss feed reader randomly (but quite often, about 50-50 chance) creates a cache file that has invalid data in it, while both the website and feed are fine. This results in an error in reading the cached file and nothing displaying. It can only be fixed by clearing the cache file, although you still don't know if the new file will be written properly or not.

Corrupt feed xml file: pastebin.com/3330TNpQ
Proper feed xml file (note that nothing changed in the feed or website): pastebin.com/Cm75XGeP

Feed URL: isathens.gr/syllogos/arxeio-drasewn-isa/arxeio-syndikalistiko.feed?type=rss

I've tried disabling cache by setting it to 0 minutes in the module's configuration (although not the best solution) but it kept creating a cache file

Using Joomla 3.4.1, Simple RSS Feed Reader v3.3 on a local wamp server on windows. Tried with PHP 5.3 and 5.5, Apache 2.2

Thanks in advance
Last edit: 4 years 3 months ago by John Doe. Reason: Corrected php ver typo

Please Log in or Create an account to join the conversation.

More
4 years 3 months ago #143786 by Lefteris
Lefteris replied the topic: Cache file randomly saves garbage data
Hi,

I cannot verify the issue. Just tested and it works fine on my setup. What's your exact PHP version?

IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

---
JoomlaWorks
www.joomlaworks.net/

Please Log in or Create an account to join the conversation.

  • John Doe
  • John Doe's Avatar Topic Author
  • Offline
  • New Member
More
4 years 3 months ago #143787 by John Doe
John Doe replied the topic: Cache file randomly saves garbage data
Thanks for the reply, just checked both wamp installations I replicated it and the PHP versions are 5.5.12 and 5.3.13

Please Log in or Create an account to join the conversation.

More
4 years 3 months ago #143797 by Lefteris
Lefteris replied the topic: Cache file randomly saves garbage data
Do you get the same behavior in both installations?

IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

---
JoomlaWorks
www.joomlaworks.net/

Please Log in or Create an account to join the conversation.

  • John Doe
  • John Doe's Avatar Topic Author
  • Offline
  • New Member
More
4 years 3 months ago #143799 by John Doe
John Doe replied the topic: Cache file randomly saves garbage data
Same behavior yeah

Please Log in or Create an account to join the conversation.

More
4 years 3 months ago #143818 by Lefteris
Lefteris replied the topic: Cache file randomly saves garbage data
Can you try with a different feed and report the results?

IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

---
JoomlaWorks
www.joomlaworks.net/

Please Log in or Create an account to join the conversation.

  • John Doe
  • John Doe's Avatar Topic Author
  • Offline
  • New Member
More
4 years 3 months ago #143824 by John Doe
John Doe replied the topic: Cache file randomly saves garbage data
Will do

Please Log in or Create an account to join the conversation.

  • John Doe
  • John Doe's Avatar Topic Author
  • Offline
  • New Member
More
4 years 3 months ago #143897 by John Doe
John Doe replied the topic: Cache file randomly saves garbage data
Didn't get the error with a different website, so I guess it's somehow that feed that is problematic...

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum