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: with no explaination?  (Read 2557 times)

0 Members and 1 Guest are viewing this topic.

tothecore

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Fatal Error: with no explaination?
« on: August 15, 2006, 03:23:24 pm »

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
 
« Last Edit: August 15, 2006, 04:28:09 pm by Nibbler »
Logged

Nibbler

  • Guest
Re: Fatal Error: with no explaination?
« Reply #1 on: August 15, 2006, 03:32:59 pm »

Logged

tothecore

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Fatal Error: with no explaination?
« Reply #2 on: August 15, 2006, 04:04:36 pm »

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
Logged

Nibbler

  • Guest
Re: Fatal Error: with no explaination?
« Reply #3 on: August 15, 2006, 04:10:50 pm »

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

Code: [Select]
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';
Logged

tothecore

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Fatal Error: with no explaination?
« Reply #4 on: August 15, 2006, 04:20:43 pm »

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
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 20 queries.