coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Installation & Setup => Topic started by: Rodinou on August 19, 2004, 04:02:49 PM

Title: Upgrade MySql 4.2.20 > There was an error while processing a database query
Post by: Rodinou on August 19, 2004, 04:02:49 PM
All works perfectly ... but albums are not displayed !!!!

"There was an error while processing a database query" is the error which appears since Mysql has been upgraded to 4.2.20 (before 3.58)

Arghhhh : some lines to change ?!
Title: Re: Upgrade MySql 4.2.20 > There was an error while processing a database query
Post by: Nibbler on August 19, 2004, 10:13:31 PM
Enable debug mode and post the failing query.
Title: Re: Upgrade MySql 4.2.20 > There was an error while processing a database query
Post by: Sigma on October 09, 2005, 01:49:23 AM
Same error for me, I didnt want to open a new topic for it so i will i use this one...

here is the error message:

While executing query "SELECT pid, filepath, filename, url_prefix, filesize, pwidth, pheight, ctime, aid, aid FROM cpg134_pictures WHERE approved = 'YES'  ORDER BY RAND() LIMIT 10" on 0

mySQL error: Got error 12 from storage engine

File: /home/online16/public_html/gallery/include/functions.inc.php - Line: 105


USER:
------------------
Array
(
    [ID] => 3d9ad670f28b7d0b80d0e63c2554b9ff
    [am] => 1
    [liv] => Array
        (
           
Title: Re: Upgrade MySql 4.2.20 > There was an error while processing a database query
Post by: kegobeer on October 09, 2005, 04:46:57 AM
Error 12 = Cannot allocate memory

Your server is running out of free memory.  This isn't a Coppermine problem.  Contact your host.
Title: Re: Upgrade MySql 4.2.20 > There was an error while processing a database query
Post by: Sigma on October 09, 2005, 01:06:00 PM
Thankies :)

Case closed ;)