Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: glennk on January 19, 2010, 03:06:02 AM

Title: Cache Problem
Post by: glennk on January 19, 2010, 03:06:02 AM
I have asked my host to explain the issue that caused my forum to be unaccessable all through the night. This is his reply

QuoteThe problem you experienced today was to do with PHP code failing to execute from thecache folder for your forum. It was complaining about a variable called $end, whichsuggests (in light of the crash problems with this server) that the cache file may nothave been completed when it was built by the forum software. Removing the file from thecache directory appears to have resolved the issue.

I am wondering if this is linked

http://www.simplemachines.org/community/index.php?topic=354822.0
Title: Re: Cache Problem
Post by: Nick Whetstone on January 19, 2010, 09:23:10 AM
If there were errors in the cached files that were fixed in the main files, it could very well cause errors when the forum attempts to use the cached. A) Correcting the errors in both the main and the cached files or B) Fixing the main files and clearing out all files in the cache directory should usually fix these problems.
Title: Re: Cache Problem
Post by: glennk on January 19, 2010, 12:52:25 PM
Sorry I dont really understand that. I am not quick at picking things up. Could you possibly try explain again, and what do I need to do to sort it out ??
Title: Re: Cache Problem
Post by: Nick Whetstone on January 19, 2010, 12:58:08 PM
First, make sure that the regular files (the ones not in the cache) are error-free.  Then, if your forum still doesn't work, go to your file manager (in cPanel, Plesk, etc.), then go to your forum's cache directory (/location_of_smf/cache). Delete all files in that directory.