coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: thapame on August 23, 2007, 07:52:16 PM

Title: Fatal error : Help
Post by: thapame on August 23, 2007, 07:52:16 PM
I recently got error on my CPG. I have not done anything like upgrade, file edit or any other things.
When I turned on the debug_mode from phpmyadmin I got an error msg below
===========================
Fatal error :

While executing query "delete from `pictures_copp1`.cpg_sessions where time<1187887774 and remember=0;" on Resource id #5

mySQL error: Table './pictures_copp1/cpg_sessions' is marked as crashed and should be repaired

===========================

What should I do to solve the problem
Title: Re: Fatal error : Help
Post by: Nibbler on August 23, 2007, 08:07:12 PM
Do as suggested and repair the table.

http://forum.coppermine-gallery.net/index.php?topic=10409.0
Title: Re: Fatal error : Help
Post by: thapame on August 23, 2007, 08:12:12 PM
should I backup my database before executing the repair query?
Title: Re: Fatal error : Help
Post by: Nibbler on August 23, 2007, 08:13:07 PM
No need.
Title: Re: Fatal error : Help
Post by: thapame on August 23, 2007, 08:24:52 PM
thanks
the problem is solved