Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: Jack_the_ripper on July 22, 2010, 06:22:50 AM

Title: Forum crashed - cache error
Post by: Jack_the_ripper on July 22, 2010, 06:22:50 AM
Hi!

I've got a big problem.
One or 2 days ago my forum crashed. Error message:

Warning: Unexpected character in input: ''' (ASCII=39) state=1 in /home/xxx/public_html/forum/cache/data_73a1cbe2022924cb8055739c586ca2b8-SMF-modSettings.php on line 1

Parse error: syntax error, unexpected ':' in /home/xxx/public_html/forum/cache/data_73a1cbe2022924cb8055739c586ca2b8-SMF-modSettings.php on line 1

First line:
<?php if (!defined('SMF')) die; if (1279653268 < time()) $expired = true;

When is is work i disable the load distribution and the google map.

I  change the file to one older ads seems it is good.
Morning again this message and my forum is down.


In the package menu i can not able to remove or install anything!

How can i fix it?
Thanks!
Title: Re: Forum crashed - cache error
Post by: xenovanis on July 22, 2010, 06:47:42 AM
Try clearing your cache in Admin -> Configuration -> Server Settings -> Caching

Or just delete all files from the /cache directory, except index.php and .htaccess.
Title: Re: Forum crashed - cache error
Post by: Jack_the_ripper on July 22, 2010, 06:56:28 AM
I deleted cache directory.

I t seems it is ok.
I able to install and uninstall packages.
Within a day, it appears that there will be another stop.
Title: Re: Forum crashed - cache error
Post by: xenovanis on July 22, 2010, 06:58:03 AM
Don't delete the cache directory, just the files inside it.

You might want to try disabling caching if the problem persists. I haven't found a fix for it yet.
Title: Re: Forum crashed - cache error
Post by: Jack_the_ripper on July 22, 2010, 07:03:24 AM
Sorry. I wanted to write that only the files inside :-[

And if persist where can i disable caching?
If i disable it it will charge more the server?
Title: Re: Forum crashed - cache error
Post by: xenovanis on July 22, 2010, 07:11:07 AM
Admin -> Configuration -> Server Settings -> Caching -> Caching Level  -> set to No Caching

I can't really tell you what the difference would be, hopefully these topics help answering your questions:
http://www.simplemachines.org/community/index.php?topic=377949.0
http://www.simplemachines.org/community/index.php?topic=378282.0