coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Miscellaneous => Topic started by: net4all on March 01, 2006, 04:34:50 PM

Title: Critical Error
Post by: net4all on March 01, 2006, 04:34:50 PM
Hi everybody!

Today a friend of mine uploaded some pictures into his gallery, and wanted to change the sort order of the pictures - but he got a critical error and since that the gallery doesn´t work - it only returns a critical error. Unfortunately he couldn´t explain exactly what he did  >:( - so I´ve just got this poor information.

Here´s the message I got by using the debug mode:

USER:
------------------
Array
(
    [ID] => 2c68549e468721fd67ca35be598b88a7
    [am] => 1
    [liv] => Array
        (
           
Title: Re: Critical Error
Post by: Nibbler on March 01, 2006, 06:44:18 PM
Post the actual mysql error message you get.
Title: Re: Critical Error
Post by: net4all on March 01, 2006, 06:57:42 PM
Quote from: Nibbler on March 01, 2006, 06:44:18 PM
Post the actual mysql error message you get.

Here it is:

While executing query "SELECT aid, count(pid) as pic_count, max(pid) as last_pid, max(ctime) as last_upload FROM cpg133_pictures WHERE aid IN (40) AND approved = 'YES' GROUP BY aid" on 0

mySQL error: Got error 134 from table handler
Title: Re: Critical Error
Post by: Nibbler on March 01, 2006, 07:01:40 PM
It's a mysql issue, unrelated to Coppermine.

MySQL error code 134: Record was already deleted (or record file crashed)

Try running a REPAIR on the table using phpmyadmin.