coppermine-gallery.com/forum

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: amyy on July 01, 2004, 11:55:39 AM

Title: having trouble.
Post by: amyy on July 01, 2004, 11:55:39 AM
alright...i had to switch my sites server...and when i did it messed my coppermine ALL up. I got some of it fixed...but when i got here http://www.pink-penguin.net/eyecandy/ i get " Notice: Undefined index: debug_mode in /home/amy/public_html/eyecandy/include/functions.inc.php on line 96
Fatal error :
There was an error while processing a database query" i dont want to reinstall it becuause i dont want to upload over 300 pictures again. Im not very good with php and all that...AT ALL...so can someone please help me? thank you so much.<3

oh and i know someone is going to reply with this 'enable debug_mode in coppermine config (at the very bottom) and take a look at the query that actually failed.' cuz i searched the forum...but i dunno where and how to do that! k thanx<3
Title: Re: someone PLEASEEEEE help me!!
Post by: Joachim Müller on July 01, 2004, 01:12:50 PM
search again, it's explained how to enable debug_mode as well. Looking into the documentation is recommended. Supporters are less reluctant to help if you chose more intelligent subjects than
Quotesomeone PLEASEEEEE help me!!
. This is not a kindergarten!
Posting a link to your gallery might be another step...

GauGau
Title: Re: having trouble.
Post by: Casper on July 02, 2004, 12:20:26 AM
Make sure you have updated the include/config.inc.php to show your current setup.

At the moment, coppermine cannot find your database, probably because you have not changed this file.
Title: Re: having trouble.
Post by: amyy on July 02, 2004, 12:27:30 AM
Quote from: Casper on July 02, 2004, 12:20:26 AM
Make sure you have updated the include/config.inc.php to show your current setup.

At the moment, coppermine cannot find your database, probably because you have not changed this file.

okay i did that...now its back to "Notice: Undefined index: debug_mode in /home/amy/public_html/eyecandy/include/functions.inc.php on line 96
Fatal error :
There was an error while processing a database query" how do i get to where i need to be to edit it?  ???
Title: Re: having trouble.
Post by: Joachim Müller on July 02, 2004, 12:59:06 PM
go to coppermine config and enable debug_mode to see what query actually fails.

GauGau
Title: Re: having trouble.
Post by: amyy on July 03, 2004, 07:10:30 AM
Quote from: GauGau on July 02, 2004, 12:59:06 PM
go to coppermine config and enable debug_mode to see what query actually fails.

GauGau

you dont seem to understand...HOW? I go into my config in my ftp and theres TONS of codes. i dont know what to do
Title: Re: having trouble.
Post by: Joachim Müller on July 03, 2004, 10:59:53 AM
ftp is not involved. Browse to your site (webbrowser), log in as admin, admin mode, click "config" in admin menu. Scroll down to the very bottom of the page and enable debug_mod. Recommended reading: http://coppermine.sourceforge.net/manual.php#config_misc

GauGau
Title: Re: having trouble.
Post by: Casper on July 03, 2004, 02:55:11 PM
If you cannot browse to your config, because of the fatal error, then you will have to use your database tool, go to the config table in the database, and turn the 'debug' on, by changing the value to '1'.
Then browse back to your site, and see what the debug says.