forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Permissions & Access Rights => Topic started by: amber80 on May 12, 2006, 03:01:41 pm

Title: HELP!!!
Post by: amber80 on May 12, 2006, 03:01:41 pm
I need some help, I can't access my gallery, it gives me some type of critical error.


Notice: Undefined index: debug_mode in /home/lyndsy-f/public_html/gallery/include/functions.inc.php on line 96
Fatal error :
There was an error while processing a database query




http://lyndsy-fonseca.com/gallery/

Please help!
Title: Re: HELP!!!
Post by: kegobeer on May 12, 2006, 04:19:53 pm
If you have v1.3.x, upgrade to the latest version of Coppermine.  The undefined index error will be fixed (earlier versions didn't add the debug_mode entry to the config table).  To fix this error without upgrading, just run the upgrade script that's already present as it'll add the necessary entry.

Next, you'll have to use a tool like phpMyAdmin to set debug_mode to 1.  Once you do that, you'll get a more descriptive error message that you can post here.
Title: Re: HELP!!!
Post by: amber80 on May 13, 2006, 12:45:45 am
how would I run the upgrade script?
Title: Re: HELP!!!
Post by: kegobeer on May 13, 2006, 12:48:23 am
First, use your FTP client or cPanel file manager app and look in your Coppermine directory.  There's should be a file called upgrade.php or update.php (I don't quite remember which one).  If it's there, just point your browser to yoursite.com/upgrade.php.
Title: Re: HELP!!!
Post by: amber80 on May 13, 2006, 01:28:54 am
First, use your FTP client or cPanel file manager app and look in your Coppermine directory.  There's should be a file called upgrade.php or update.php (I don't quite remember which one).  If it's there, just point your browser to yoursite.com/upgrade.php.

That doesn't work. How would I upgrade without losing all of my files.
Title: Re: HELP!!!
Post by: kegobeer on May 13, 2006, 01:47:32 am
What doesn't work?  Is the file not there?
Title: Re: HELP!!!
Post by: amber80 on May 13, 2006, 05:40:32 am
no, I don't have an upgrade.php I have an update.php but that doesn't work. It says the same error message.
Title: Re: HELP!!!
Post by: Nibbler on May 13, 2006, 03:51:39 pm
Make sure include/config.inc.php has the correct information to connect to your database.
Title: Re: HELP!!!
Post by: kegobeer on May 13, 2006, 05:18:29 pm
Do you still get the debug_mode message, or just the critical error message?
Title: Re: HELP!!!
Post by: amber80 on May 13, 2006, 05:29:16 pm
I got the debug_mode message. But I just upgraded, so thanks for all your help.