HELP!!! HELP!!!
 

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

HELP!!!

Started by amber80, May 12, 2006, 03:01:41 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

amber80

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!

kegobeer

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.
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

amber80

how would I run the upgrade script?

kegobeer

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.
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

amber80

Quote from: 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.

That doesn't work. How would I upgrade without losing all of my files.

kegobeer

What doesn't work?  Is the file not 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

amber80

no, I don't have an upgrade.php I have an update.php but that doesn't work. It says the same error message.

Nibbler

Make sure include/config.inc.php has the correct information to connect to your database.

kegobeer

Do you still get the debug_mode message, or just the critical error message?
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

amber80

I got the debug_mode message. But I just upgraded, so thanks for all your help.