fatal error fatal error
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

fatal error

Started by smoxsamantha, January 27, 2009, 11:24:53 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

smoxsamantha

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.

Hein Traag

What version were you using?

François Keller

Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog

Joachim Müller

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.

smoxsamantha

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

Joachim Müller

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!

smoxsamantha

QuoteINSERT INTO CPG_config VALUES ('debug_notice', '0');
do i change the 0 to a 1 or something?

Hein Traag

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

smoxsamantha

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

François Keller

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
Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog

smoxsamantha

really? thats great! im not exactly a phpmyadmin whiz, so could anyone give me any help with doing this?

Hein Traag

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.

François Keller

in phpmyadmin, select the table to repair, and in the listbox on the bottom select repair the table before validation from the form
Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog

Joachim Müller

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