Yesterday my gallery was working fine but today its giving Fatal Error
I didnt do anything with it i mean upgrading, moving or install plugin
So i dont know why its giving error, i have enable the debug mode now getting this error message..
QuoteWhile executing query "delete from `smilkcom_gallery`.cpg148_sessions where time<1220404133 and remember=0;" on Resource id #6
mySQL error: Table './smilkcom_gallery/cpg148_sessions' is marked as crashed and should be repaired
Plz tell me how to repair database and solve the problem ? I wll be very thankfull.
Sory i forgot to give gallery link:
http://www.smilepk.com/wallpapers/
Go into phpmyadmin and either use the repair button there or run this command manually:
REPAIR TABLE cpg148_sessions
Thanks for giving time and suggestion but i am new user with phpmyadmin and database,
can you plz explain it shortly... i wll be very thankfull
How to repair, (first open that database and then click repair button as i also have other databases.)
How to run command ? (First open database then where to past and run comamnd or just open cpanel and where to run comand ?)
Click on the 'SQL' tab in phpmyadmin and enter the query in the box.
Repairing a MySQL Database with phpMyAdmin (http://php.about.com/od/mysqladministration/qt/repair_mysql.htm)
Thanks guys for helping, the problem is solved.
Thank you very much.