coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Miscellaneous => Topic started by: kiwiangel on October 03, 2005, 08:16:28 PM

Title: Critical Error - There was an error while processing a database query.
Post by: kiwiangel on October 03, 2005, 08:16:28 PM
This really is the first problem that I've had with my coppermine photo gallery.
The other day I went to my gallery and got the critical error message, "There was an error while processing a database query."
Thanks in advance for any help you can give me.

I enabled debug mode and this is the code:
While executing query "SELECT user_id, user_name, UNIX_TIMESTAMP(user_regdate) as user_regdate, UNIX_TIMESTAMP(user_lastvisit) as user_lastvisit, user_active, COUNT(pid) as pic_count, ROUND(SUM(total_filesize)/1024) as disk_usage, group_name, group_quota FROM cpg132_users AS u INNER JOIN cpg132_usergroups AS g ON user_group = group_id LEFT JOIN cpg132_pictures AS p ON p.owner_id = u.user_id GROUP BY user_id ORDER BY user_regdate DESC LIMIT 0, 25;" on 0

mySQL error: Got error 12 from table handler


DEBUG INFO:

USER:
------------------
Array
(
    [ID] => a3c37c1c651ca502e4da0e2798f4a144
    [am] => 1
    [liv] => Array
        (
           
Title: Re: Critical Error - There was an error while processing a database query.
Post by: kegobeer on October 03, 2005, 08:21:36 PM
This is a MySQL error.  Your MySQL server is running out of memory.

Please search before posting:
http://forum.coppermine-gallery.net/index.php?topic=11574.msg52100