coppermine-gallery.com/forum

Support => Older/other versions => cpg1.3.x Support => Topic started by: feierreisen on September 14, 2005, 11:11:19 AM

Title: I need help ( There was an error while processing a database query )
Post by: feierreisen on September 14, 2005, 11:11:19 AM
Hi!

Yesterday i make a Update on my Gallery, after that this come :

There was an error while processing a database query


What must i do?
Title: Re: I need help ( There was an error while processing a database query )
Post by: Nibbler on September 14, 2005, 11:52:55 AM
Enable debug mode in config and post the mysql error that you receive. If you are unable to access the config page you will need to view your database using a db admin tool such as phpmyadmin, locate the <prefix>_config table and set debug_mode from 0 to 1.
Title: Re: I need help ( There was an error while processing a database query )
Post by: gein on September 15, 2005, 04:54:58 AM
I just got an error message as well

I am in the process of building a gallery
everything was working great
i left the copmputer for about half an hour
came back
and got this ---

While executing query "SELECT count(*) FROM cpg134_pictures as p, cpg134_albums as a WHERE p.aid = a.aid AND category = 2" on 0

mySQL error: Can't open file: 'cpg134_pictures.MYI'. (errno: 144)


USER:
------------------
Array
(
    [ID] => 764d62522ab9858147cf525eece8dcf9
    [am] => 1
    [liv] => Array
        (
           
Title: Re: I need help ( There was an error while processing a database query )
Post by: feierreisen on September 15, 2005, 08:55:46 AM
Quote from: Nibbler on September 14, 2005, 11:52:55 AM
Enable debug mode in config and post the mysql error that you receive. If you are unable to access the config page you will need to view your database using a db admin tool such as phpmyadmin, locate the <prefix>_config table and set debug_mode from 0 to 1.


Hi!

This is the error???

"While executing query "SELECT count(*) FROM cpg11d_pictures, cpg11d_albums WHERE cpg11d_pictures.aid = cpg11d_albums.aid AND category = 7" on 0

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


what must i do??
Title: Re: I need help ( There was an error while processing a database query )
Post by: Nibbler on September 15, 2005, 10:16:02 AM
http://forum.coppermine-gallery.net/index.php?topic=10409.0