coppermine-gallery.com/forum

Support => Older/other versions => cpg1.3.x Support => Topic started by: jlovenet on June 25, 2004, 05:49:51 AM

Title: Fatal Error
Post by: jlovenet on June 25, 2004, 05:49:51 AM
I keep getting this

Notice: Undefined index: debug_mode in /home/jloven/public_html/picturegallery/include/functions.inc.php on line 101
Fatal error :
There was an error while processing a database query

???? i switched it from my old domain to a new domain and now it's all messed up :(

http://j-love.net/picturegallery

what do i do?

the config is right, i triple checked it
Title: Re: Fatal Error
Post by: Joachim Müller on June 25, 2004, 09:40:41 AM
enable debug_mode to check what query actually fails.

GauGau
Title: Re: Fatal Error
Post by: jlovenet on June 25, 2004, 02:49:50 PM
and i would enable that how?

sorry i'm confused w/ php.
Title: Re: Fatal Error
Post by: Joachim Müller on June 26, 2004, 08:51:56 AM
enable debug mode in coppermine config (at the very bottom of the screen). If you can't go to config at all, use phpMyAdmin, browse the coppermine config table (cpg11d_config or similar) and set "debug_mode" from "0" to "1".

GauGau
Title: Re: Fatal Error
Post by: jlovenet on June 28, 2004, 12:31:16 AM
i changed it and it's still saying the same thing?
Title: Re: Fatal Error
Post by: Joachim Müller on June 28, 2004, 08:18:52 AM
You should see details which query actually fails. Please post a screenshot.

GauGau
Title: Re: Fatal Error
Post by: jlovenet on June 28, 2004, 02:37:37 PM
it doesn't say,

i just reinstalled a new version and i'm uploading eah picture manually..

is there a way to move the albums into the new directory? or i really do have to do each one, one by one?
Title: Re: Fatal Error
Post by: Joachim Müller on June 29, 2004, 09:52:34 AM
I don't get your point. You're recommended to upload/move around pics with ftp and then use batch-add. Defining the albums dir to be outside of the coppermine folder is possible, but not recommended. You can do so in coppermine config.

GauGau
Title: Re: Fatal Error
Post by: peter_hun on July 16, 2004, 11:14:06 PM
Hi,

I've got the same problem:

Notice: Undefined index: debug_mode in /disk/raid/t/e/myhostname/pictures/include/functions.inc.php on line 96
Fatal error :
There was an error while processing a database query

What's went wrong??? :o

Debug info:
USER:
------------------
Array
(
   [ID] => 9d1a48ae4c638cfeb0c50df8ce0eeec8
   [am] => 1
   [liv] => Array
       (
           
Title: Re: Fatal Error
Post by: Keksz on June 15, 2005, 02:31:46 PM
nobody know the real answer

if you have a lot of visitors the mysql sucks, and you get query error

so i can't use this coppermine gallery :(
Title: Re: Fatal Error
Post by: Nibbler on June 15, 2005, 03:07:48 PM
No one on this thread has yet posted the mysql error message as requested. Without that we cannot know what the problem is.