Advanced search  

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

Pages: [1]   Go Down

Author Topic: fatal error  (Read 5398 times)

0 Members and 1 Guest are viewing this topic.

smoxsamantha

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 22
fatal error
« 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.
Logged

Hein Traag

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: nl
  • Offline Offline
  • Gender: Male
  • Posts: 2166
  • A, B, Cpg
    • Personal website - Spintires.nl
Re: fatal error
« Reply #1 on: January 28, 2009, 06:36:53 am »

What version were you using?
Logged

François Keller

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 9094
  • aka Frantz
    • Ma galerie
Re: fatal error
« Reply #2 on: January 28, 2009, 06:59:11 am »

Logged
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

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: fatal error
« Reply #3 on: January 28, 2009, 10:01:56 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.
Logged

smoxsamantha

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 22
Re: fatal error
« Reply #4 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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: fatal error
« Reply #5 on: January 28, 2009, 10:48:48 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!
Logged

smoxsamantha

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 22
Re: fatal error
« Reply #6 on: January 28, 2009, 12:16:59 pm »

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

Hein Traag

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: nl
  • Offline Offline
  • Gender: Male
  • Posts: 2166
  • A, B, Cpg
    • Personal website - Spintires.nl
Re: fatal error
« Reply #7 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
Logged

smoxsamantha

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 22
Re: fatal error
« Reply #8 on: January 29, 2009, 04:37:31 am »

ok, i have done that and the debug message says
Quote
While 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
Logged

François Keller

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 9094
  • aka Frantz
    • Ma galerie
Re: fatal error
« Reply #9 on: January 29, 2009, 07:12:04 am »

Quote
mySQL 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
Logged
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

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 22
Re: fatal error
« Reply #10 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?
Logged

Hein Traag

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: nl
  • Offline Offline
  • Gender: Male
  • Posts: 2166
  • A, B, Cpg
    • Personal website - Spintires.nl
Re: fatal error
« Reply #11 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.
Logged

François Keller

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 9094
  • aka Frantz
    • Ma galerie
Re: fatal error
« Reply #12 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
Logged
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

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: fatal error
« Reply #13 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.
Logged
Pages: [1]   Go Up
 

Page created in 0.022 seconds with 19 queries.