coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 permissions => Topic started by: smoxsamantha on January 27, 2009, 11:24:53 PM

Title: fatal error
Post by: smoxsamantha on January 27, 2009, 11:24:53 PM
my gallery, www.montel-porter.org/gallery was working perfectly but 2 days ago i got a message saying "Fatal error :"
i've contacted my host and they said it could be a coding problem, but is there anyone here that could help me? it would be greatly appreciated.
Title: Re: fatal error
Post by: Hein Traag on January 28, 2009, 06:36:53 AM
What version were you using?
Title: Re: fatal error
Post by: François Keller on January 28, 2009, 06:59:11 AM
enable debug mode http://coppermine-gallery.net/tutorial/debug_mode.php (http://coppermine-gallery.net/tutorial/debug_mode.php)
Title: Re: fatal error
Post by: Joachim Müller on January 28, 2009, 10:01:56 AM
Quote from: Hein Traag on January 28, 2009, 06:36:53 AM
What version were you using?
http://www.montel-porter.org/gallery/sql/update.sql  shows she's using cpg1.4.14

@smoxsamantha: do as François suggested to enable debug_mode to get a more detailed error message. Then google for that eror message. If you can't find an answer, reply here.

You'll need to upgrade as well: cpg1.4.14 is outdated - it's mandatory to upgrade to the most recent stable, which currently is cpg1.4.19. Upgrading may or may not fix your issue as well, depending on the reason for the error message. Probably you'll have a database table corruption though, which won't be solved by upgrading.
Title: Re: fatal error
Post by: smoxsamantha on January 28, 2009, 10:13:39 AM
thanks for replying. i don't know how to access debug mode without going into config, cause my gallery isn't showing up at all, theres no way i can get any access to it. i'll try upgrading now
Title: Re: fatal error
Post by: Joachim Müller on January 28, 2009, 10:48:48 AM
Quote from: smoxsamantha on January 28, 2009, 10:13:39 AM
i don't know how to access debug mode without going into config
Just follow the link François posted: how to enable debug_mode with the coppermine config panel inaccessible is being explained there. That's why François posted that link!
Title: Re: fatal error
Post by: smoxsamantha on January 28, 2009, 12:16:59 PM
QuoteINSERT INTO CPG_config VALUES ('debug_notice', '0');
do i change the 0 to a 1 or something?
Title: Re: fatal error
Post by: Hein Traag on January 28, 2009, 02:38:10 PM
Watch the tutorial video completely and pay attention to all the text balloons and you wil know.
http://coppermine-gallery.net/tutorial/debug_mode.php (http://coppermine-gallery.net/tutorial/debug_mode.php)
Title: Re: fatal error
Post by: smoxsamantha on January 29, 2009, 04:37:31 AM
ok, i have done that and the debug message says
QuoteWhile executing query "delete from `montelpo_gallery`.cpg148_sessions where time<1233199433 and remember=0;" on Resource id #5

mySQL error: Table './montelpo_gallery/cpg148_sessions' is marked as crashed and should be repaired
Title: Re: fatal error
Post by: François Keller on January 29, 2009, 07:12:04 AM
QuotemySQL error: Table './montelpo_gallery/cpg148_sessions' is marked as crashed and should be repaired
the error message is clear.
The cpg148_sessions is corrupted and must be repaired. You can do this via phpmyadmin
Title: Re: fatal error
Post by: smoxsamantha on January 29, 2009, 08:32:42 AM
really? thats great! im not exactly a phpmyadmin whiz, so could anyone give me any help with doing this?
Title: Re: fatal error
Post by: Hein Traag on January 29, 2009, 09:23:51 AM
This is the support board for cpg. For in depth support for phpmyadmin/mysql errors consult your hoster if you are not able to do it yourself.
Title: Re: fatal error
Post by: François Keller on January 29, 2009, 09:46:02 AM
in phpmyadmin, select the table to repair, and in the listbox on the bottom select repair the table before validation from the form
Title: Re: fatal error
Post by: Joachim Müller on January 29, 2009, 05:12:34 PM
...as explanied countless times on this forum and elsewhere. A simple search using this forum's search or google will give you a much more detailed answer, with screenshots and all the stuff you need. Just don't be lazy, please.