coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upgrading => Topic started by: vici on August 24, 2008, 11:45:49 PM

Title: [Solved]: gallery fatal error - please help
Post by: vici on August 24, 2008, 11:45:49 PM
today I went back from my summer holidays and I realised my gallery crashed

after entering it there is a fatal error message without any explaination what went wrong

I must admit I've already had some hackers on my website so I suspect they might have messed up

anyway, I decided to make the upgrade from version 1.4.18 to 1.4.19, it went fine, but the gallery is still unaccessible. please help, my visitors keep on nagging...

this is my gallery's url: http://victoria-beckham.biz/photos

thanks in advance!
Title: Re: gallery fatal error - please help
Post by: Joachim Müller on August 25, 2008, 09:02:25 AM
Enable debug mode to see the actual error message (that explains what actually goes wrong). Post that error message here (not the debug_output, just the error message). If you can't go to your config to enable debug_mode there, read up the corresponding tutorial how to manually enable debug_mode. Has been asked and answered very often already ::).
Title: Re: gallery fatal error - please help
Post by: vici on August 26, 2008, 12:01:10 AM
ok, here's the message, now I know the sessions table crashed, but I don't have a backup of this particular table, can you help me fix it?

QuoteWhile executing query "delete from `xxx_coppermine`.yyy_sessions where time<1219697673 and remember=0;" on Resource id #6

mySQL error: Table 'yyy_sessions' is marked as crashed and should be repaired
Title: Re: gallery fatal error - please help
Post by: vici on August 26, 2008, 12:15:39 AM
ok, I made a proper search and figured out how to solve it  :D

Use your website's Control Panel to repair the table, or use phpMyAdmin to execute this sql query: repair table yyy_sessions