coppermine-gallery.com/forum

Support => Older/other versions => cpg1.3.x Support => Topic started by: amaninneed on March 22, 2005, 09:41:32 PM

Title: CRITICAL ERROR Message
Post by: amaninneed on March 22, 2005, 09:41:32 PM
On all of the pages in my gallery containing images or thumbnails this is the message that I get "There was an error while processing a database query ". How can this be fixed?
Title: Re: CRITICAL ERROR Message
Post by: kegobeer on March 22, 2005, 10:10:42 PM
Enable debug output, then post the actual error message.
Title: Re: CRITICAL ERROR Message
Post by: Lammert on March 23, 2005, 12:21:43 AM
Hi there, i've got the same problem on my hands, here's the output of the debug:

USER:
------------------
Array
(
    [ID] => dc54675fdbbc5ff8096b2b5f7c419649
    [am] => 1
    [liv] => Array
        (
           
Title: Re: CRITICAL ERROR Message
Post by: kegobeer on March 23, 2005, 01:08:59 AM
Post the acutal error message, not the debug output.
Title: Re: CRITICAL ERROR Message
Post by: Lammert on March 23, 2005, 06:10:45 PM
ok, sorry about that, then you must meen this:

While executing query "SELECT count(*) FROM cpg132_pictures as p, cpg132_albums as a WHERE p.aid = a.aid AND category >= 10000" on 0

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

Title: Re: CRITICAL ERROR Message
Post by: Nibbler on March 23, 2005, 07:43:19 PM
http://forum.coppermine-gallery.net/index.php?topic=10409.0