Fatal Error: with no explaination? Fatal Error: with no explaination?
 

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: with no explaination?

Started by tothecore, August 15, 2006, 03:23:24 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

tothecore

Hello,
I recently went to my gallery page and all of a sudden it gives a "Fatal Error:" message; but with no explanation. Since I didn't modify anything in weeks, I'm assuming maybe someone hacked it, but did not see anything in the logs. The index.php file says I am using version 1.4.3.  Should I try to run the reinstall?
Right now the admin.php, index.php give the blank fatal error, and probably more.

Any help or info would be appreciated.
Thanks!
-tothecore


tothecore

Thanks Nibbler!

Its now giving me the error message :
While executing query "delete from `weraceha_photo`.cpg143_sessions where time<1155646717 and remember=0;" on Resource id #6

mySQL error: Table './weraceha_photo/cpg143_sessions' is marked as crashed and should be repaired

So I can see its an error on the sql table. I tried a repair but it did not fix it. Any tips on what to do? I assume its possible to browse and delete the offending entry?

Thanks again!
-Tothecore

Nibbler

If you can't repair it then you can try to DROP it and recreate it.

DROP TABLE cpg143_sessions;
CREATE TABLE IF NOT EXISTS cpg143_sessions (
  session_id varchar(40) NOT NULL default '',
  user_id int(11) default '0',
  time int(11) default NULL,
  remember int(1) default '0',
  PRIMARY KEY (session_id)
) TYPE=MyISAM COMMENT='Used to store sessions';

tothecore

Wow your amazing!
Thanks that fixed it.
I looked into it some more and it seems that the session table was gone. I have no clue how a table can disappear on its own :P
Thanks for the code to recreate it, everything seems to be fine now. I'm gonna go make a backup right now :P
Thanks so much!
-Tothecore