coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: OscarT on March 17, 2007, 10:18:50 AM

Title: Fatal error : (no description provided)
Post by: OscarT on March 17, 2007, 10:18:50 AM
Hello,

I checked my site this morning and received "Fatal error :". There was no additional error messages. Until this morning the software has functioned perfectly. I have not modified or uploaded any files in the last two days. I also get the error at "/admin.php".

Site: http://www.oscartrapp.com

My Server:
Operating system     Linux
Linux kernel version     2.6.19.1-s5-bahamut-highmem64
Apache version             1.3.37 (Unix)
Perl version                5.8.7 (more info)
PHP version               PHP/4.4.4 (more info)
MySQL version             4.1.21-standard-log
Path to Perl                /usr/bin/perl

Status:
All systems up
Server Load   2.70 (4 cpus)   
Memory Used   36.1 %

Server Errors:
none
Title: Re: Fatal error : (no description provided)
Post by: François Keller on March 17, 2007, 10:32:36 AM
enable debugg mode manualy in the config table in your database (via phpmyadmin) to see more from the error message
Title: Re: Fatal error : (no description provided)
Post by: OscarT on March 17, 2007, 11:00:38 AM
Thank you.

I searched before I posted, but did not get the relevant threads.
So, to help others:
flash tutorial for PHPMyAdmin debug mode
http://coppermine-gallery.net/tutorial/debug_mode.php
Steps:
xxx_config > [Browse] > debug_mode 0 to 1 (xxx being whatever you installations prefix is)
Change back to 0 when you are done!!  ;)

I had an error in the xxx_sessions table. I used "Optimize table" in PHPMyAdmin to repair the table.
(There was an extra row in it.)

Now it works.

Summery: "Fatal error :" was a table error, enable debug manually and then repair the damaged table.

I hope this helps someone in the future.  :D

Oscar
Title: Re: Fatal error : (no description provided)
Post by: Joachim Müller on March 17, 2007, 07:33:45 PM
Doesn't help others very much, as "fatal error" is a generic error message. You should have posted the actual mySQL query that failed if this is suppossed to be helpful for others. Anyway, marking as solved.
Title: Re: Fatal error : (no description provided)
Post by: lukee on April 01, 2007, 03:39:35 PM
i got the same error, i don't have any idea of how to solve it



While executing query "delete from `panicatt_copp1`.cpg140_sessions where time<1175431065 and remember=0;" on Resource id #6

mySQL error: Can't open file: 'cpg140_sessions.MYI' (errno: 145)



help?
Title: Re: Fatal error : (no description provided)
Post by: Joachim Müller on April 01, 2007, 08:29:47 PM
You don't have the same error. As suggested, "fatal error" is generic. The thread starter failed to post the actual error message, so he could have the same error or a clompletely different one. Anyway: trying to hijack a thread that is marked as solved is not a bright idea. Searching for your actual error message (http://forum.coppermine-gallery.net/index.php?action=search2;search=Can't%20open%20file:%20cpg140_sessions.MYI') would have told you what to do, as this has been asked many times over. Read http://forum.coppermine-gallery.net/index.php?topic=10409.0

Locking! Start your own thread if reading the sticky and searching the board doesn't help you