Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: reo4ua on August 12, 2008, 07:40:25 PM

Title: Need help debugging...error just popped up
Post by: reo4ua on August 12, 2008, 07:40:25 PM
I added a button to the menu bar yesterday.  All worked fine during testing throughout the day.  Suddenly when I visit the site for the first time today, this is what I get.  What does it mean and how do I fix it????

Thanks!

Warning: Unexpected character in input: ''' (ASCII=39) state=1 in /home/southeas/public_html/forums/cache/data_22c7b3d5ad1af00956e90fb2424f8584-SMF-theme_settings-1.php on line 1

Parse error: syntax error, unexpected ':' in /home/southeas/public_html/forums/cache/data_22c7b3d5ad1af00956e90fb2424f8584-SMF-theme_settings-1.php on line 1
Title: Re: Need help debugging...error just popped up
Post by: lordtron on August 13, 2008, 03:07:43 AM
Can you attach SMF-theme_settings-1.php
Title: Re: Need help debugging...error just popped up
Post by: reo4ua on August 14, 2008, 02:39:47 PM
I've solved this error by emptying the cache folder.  All seemed normal again last night.  This afternoon, I received the following database error:

QuoteDatabase Error
Incorrect key file for table './southeas_smf/smf_sessions.MYI'; try to repair it
File: /home/southeas/public_html/forums/Sources/Load.php
Line: 2246

Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 2.0 Beta 3.1 Public, while your database is at version 2.0 Beta 3 Public. The above error might possibly go away if you execute the latest version of upgrade.php. 

I've not upgraded since the original upgrade to s.0b3.1.  Not sure why my database would be a different version.  Should I run the upgrade file or no?????

Also, the following error has occured:

QuoteTable 'smf_sessions' is marked as crashed and should be repaired
Title: Re: Need help debugging...error just popped up
Post by: Rumbaar on August 19, 2008, 07:40:24 AM
Well those are mySQL db issues, and you'll need to get into your cPanel/phpMyAdmin level of your host.  Then migrate to your forums db and select the affected tables and perform the repair option on them.

If this is happening on regular bases, have a word to your host.  You shouldn't be getting tables crashing like this in normal operations.