functions.inc.php Error line 96 functions.inc.php Error line 96
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

functions.inc.php Error line 96

Started by sydneymazdaclub, September 06, 2004, 02:17:15 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

sydneymazdaclub

Hi,

Getting the following error:

<code> Notice: Undefined index: debug_mode in /home/s/sydneo/www/forums/photogallery/include/functions.inc.php on line 96
Fatal error :
There was an error while processing a database query</code>

Can anyone shed some light?

skybax

well line 96 in functions.inc.php is:


                return false;



enable debug_mode to check what query actually fails. Also a link to the site might be in order for further help.
-T
(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.skybax.com%2FhotImage%2Fpost_footer.gif&hash=338b65c57a59f0b06311094e697c87794e43d945)
Don't contact me for support over PM or email unless I requested you to do so. Instead: post on the proper board.


kegobeer

In your config settings.  You should also read the documentation that's included with Coppermine; there's a lot of good information in there.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

sydneymazdaclub

I am unable to get to the config settings for the coppermine software as i just receive the error. I did do a search and read the documentation and followed it accordingly. I was previously running Coppermine 1.2 without any issues.

kegobeer

Use a tool like phpmyadmin and look in the config table - you can switch debug from 0 to 1.  That will enable debug.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

Joachim Müller

blind guess: you didn't replace all files when upgrading. Use versioncheck.php to find out (requires you to be logged in). If you can't log in, edit versioncheck.php, findif (!GALLERY_ADMIN_MODE) { cpg_die(ERROR, $lang_errors['access_denied'], __FILE__, __LINE__); } and temporarily comment the line out by putting two slashes in front of it. Remember to remove them again once you have looked into it.

Joachim