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
-
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!
-
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.
-
how would I run the upgrade script?
-
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.
-
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.
-
What doesn't work? Is the file not there?
-
no, I don't have an upgrade.php I have an update.php but that doesn't work. It says the same error message.
-
Make sure include/config.inc.php has the correct information to connect to your database.
-
Do you still get the debug_mode message, or just the critical error message?
-
I got the debug_mode message. But I just upgraded, so thanks for all your help.