coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Installation & Setup => Topic started by: bafii on August 28, 2005, 05:39:58 AM

Title: functions.inc.php
Post by: bafii on August 28, 2005, 05:39:58 AM
Okay, I know this is a popular problem, but after trying the various answers I found in the forums, I'm still coming up empty.   :-\\

Here is my URL:  http://www.bafii.com/photos/

The error message:  Notice: Undefined index: debug_mode in /u380/bafii/photos/include/functions.inc.php on line 96
Fatal error :
There was an error while processing a database query


I was able to edit my config database through phpMyAdmin and set debug_mode to 1.  When I went back to my site, I got the same error with no new information.

Reading through more of the support forum, I found advice to run update.php.  I did and got the following errors.
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /u380/bafii/photos/update.php on line 38

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /u380/bafii/photos/update.php on line 41


After that, I still got the original error when I returned to my site.

Perhaps I missed the correct forum entry on how to fix this, or maybe I just need some sleep. :D Either way, any help would be appreciated.
Title: Re: functions.inc.php
Post by: bafii on August 28, 2005, 06:53:03 AM
Hmm, well that error stayed up for a long time.. I've just took another look again hoping and its cleared up.  So perhaps it is just an intermittent thing?
Title: Re: functions.inc.php
Post by: Joachim Müller on August 28, 2005, 12:07:46 PM
you had issues with the connectivity to your mysql database, your webhost probably did maintenance works. Now they appear to have fixed the mysql issues on your server, that's why the error message vanished. Not a coppermine issue, but a server issue. If you need to find out details, ask your webhost for support.
Title: Re: functions.inc.php
Post by: bafii on August 28, 2005, 04:09:32 PM
Thanks for the clarification.