coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Upload => Topic started by: d4ff on April 06, 2005, 03:10:42 PM

Title: There was an error while processing a database query
Post by: d4ff on April 06, 2005, 03:10:42 PM
Hi! Coopermine works great but a few days crash.... this is the message:

Notice: Undefined index: debug_mode in /home/wwwgroo/domains/groovythings.cjb.net/public_html/niwgaleria/include/functions.inc.php on line 96
Fatal error :
There was an error while processing a database query


Can you help me please??

I tried with debug mode and not work  :\'(

Thanks
Title: Re: There was an error while processing a database query
Post by: kegobeer on April 06, 2005, 06:11:19 PM
You enabled debug mode and you didn't get an actual error message?  If you can't get to your config screen, you'll have to use phpmyadmin to change debug_mode to 1 in the cpg132_config table.
Title: Re: There was an error while processing a database query
Post by: d4ff on April 08, 2005, 10:23:48 PM
 :\'( :\'( :\'( I change debug mode to 1 with phpmy admin and the page i´ts the same... Error


Notice: Undefined index: debug_mode in /home/wwwgroo/domains/groovythings.cjb.net/public_html/niwgaleria/include/functions.inc.php on line 96
Fatal error in http://www.groovythings.cjb.net/niwgaleria/config.php

"There was an error while processing a database query"

Title: Re: There was an error while processing a database query
Post by: kegobeer on April 09, 2005, 12:03:42 AM
You need to verify all of your files are on the server, and that your MySQL database connection information is correct in your config.inc.php.  You also need to check with your host to see if they changed or upgraded anything.
Title: Re: There was an error while processing a database query
Post by: Cenobitez on April 19, 2005, 08:57:22 PM
Hi,

Im getting this same error, and debug says

While executing query "SELECT aid, CONCAT('(', user_name, ') ', title) AS title FROM cpg132_albums AS a INNER JOIN cpg132_users AS u ON category = (10000 + user_id) ORDER BY title" on 0

mySQL error: Can't create/write to file '/tmp/#sql_3149_0.MYI' (Errcode: 5)

This mean anything to anyone ?
Title: Re: There was an error while processing a database query
Post by: Nibbler on April 20, 2005, 08:27:53 PM
It's a problem with the database, so you'll need to ask whoever looks after your server. Please don't post on unrelated threads.