coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Installation & Setup => Topic started by: sydneymazdaclub on September 06, 2004, 02:17:15 PM

Title: functions.inc.php Error line 96
Post by: sydneymazdaclub on September 06, 2004, 02:17:15 PM
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?
Title: Re: functions.inc.php Error line 96
Post by: skybax on September 06, 2004, 02:24:14 PM
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
Title: Re: functions.inc.php Error line 96
Post by: sydneymazdaclub on September 07, 2004, 11:02:25 AM
Link: http://www.sydneymazdaclub.com/forums/photogallery/

How do i turn on debug mode?
Title: Re: functions.inc.php Error line 96
Post by: kegobeer on September 07, 2004, 04:16:41 PM
In your config settings.  You should also read the documentation that's included with Coppermine; there's a lot of good information in there.
Title: Re: functions.inc.php Error line 96
Post by: sydneymazdaclub on September 08, 2004, 12:32:56 AM
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.
Title: Re: functions.inc.php Error line 96
Post by: kegobeer on September 08, 2004, 02:22:53 AM
Use a tool like phpmyadmin and look in the config table - you can switch debug from 0 to 1.  That will enable debug.
Title: Re: functions.inc.php Error line 96
Post by: Joachim Müller on September 08, 2004, 07:15:48 AM
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