Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Need help debugging...error just popped up

Started by reo4ua, August 12, 2008, 07:40:25 PM

Previous topic - Next topic


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????


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

lordtron - New Design To Gaming


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


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.
"An important reward for a job well done is a personal sense of worthwhile achievement."

[ Themes ]