coppermine-gallery.com/forum

Support => Older/other versions => cpg1.3.x Support => Topic started by: eightbitstudios on October 11, 2005, 07:59:24 PM

Title: There was an error while processing a database query.
Post by: eightbitstudios on October 11, 2005, 07:59:24 PM
I'm having trouble with a gallery that has been up and running fine since early August.  We're getting: "There was an error while processing a database query." Any time we try to view the gallery in any way/shape/form.  Not just in the backend, but to frontend users as well.  Here are the reports, and the information that I got out of my friend is that he was just changing some display things in the config (like number of columns) and he said that he was attempting to delete an older album when all this started happening.

Error:

While executing query "SELECT count(*) FROM cpg_pictures WHERE 1 AND aid IN (-1) " on 0

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


Debug Report:

USER:
------------------
Array
(
    [ID] => 044351c672d9192dee2ceb6e82d8fb54
    [am] => 1
    [liv] => Array
        (
           
Title: Re: There was an error while processing a database query.
Post by: Nibbler on October 11, 2005, 08:14:47 PM
http://forum.coppermine-gallery.net/index.php?topic=10409.0
Title: Re: There was an error while processing a database query.
Post by: eightbitstudios on October 11, 2005, 09:39:39 PM
thank you SO much!  it is fixed.  :)