coppermine-gallery.com/forum

Support => Older/other versions => cpg1.3.x Support => Topic started by: clothahump on July 04, 2004, 09:46:40 PM

Title: [Solved]: Admin Tools critical error.
Post by: clothahump on July 04, 2004, 09:46:40 PM
When I click on Admin tools I get this critical error. "There was an error while processing a database query"
Title: Re: Admin Tools critical error.
Post by: Casper on July 05, 2004, 12:48:44 AM
Activate debug mode, in config, and post here the debug error report.

Title: Re: Admin Tools critical error.
Post by: clothahump on July 05, 2004, 12:58:56 AM
Notice: Undefined index: cat_thumb in /var/www/html/gallery/themes/eyeball/theme.php on line 1125

Notice: Undefined index: cat_albums in /var/www/html/gallery/themes/eyeball/theme.php on line 1127


USER:
------------------
Array
(
    [ID] => 66effc648f86d165fcd6516c9c901103
    [am] => 1
    [liv] => Array
        (
           
Title: Re: Admin Tools critical error.
Post by: clothahump on July 05, 2004, 10:08:01 AM
Any ideas Casper???
Title: Re: Admin Tools critical error.
Post by: Casper on July 05, 2004, 10:29:38 AM
OK, now with debug still turned on, try to use the admin tools, do what you did before that caused the critical error, and you should also get a full error message.  Please post that error message in full.
Title: Re: Admin Tools critical error.
Post by: clothahump on July 05, 2004, 10:42:21 AM
There was an error while processing a database query.

While executing query "SELECT aid, category, IF(name IS NOT NULL, CONCAT('(', name, ') ',title), CONCAT(' - ', title)) AS title FROM cpg130_albums AS a LEFT JOIN ibf_members AS u ON category = (10000 + id) ORDER BY category, title" on

mySQL error: Table 'photochallenge_org_uk_-_gallery.ibf_members' doesn't exist


File: /var/www/html/gallery/include/functions.inc.php - Line: 110

Notice: Undefined index: action in /var/www/html/gallery/util.php on line 49

Select album

Notice: Undefined variable: UDB_DB_NAME_PREFIX in /var/www/html/gallery/bridge/invisionboard.inc.php on line 374

Notice: Undefined variable: UDB_DB_LINK_ID in /var/www/html/gallery/bridge/invisionboard.inc.php on line 377

USER:
------------------
Array
(
   [ID] => 66effc648f86d165fcd6516c9c901103
   [am] => 1
   [liv] => Array
       (
           
Title: Re: Admin Tools critical error.
Post by: Casper on July 05, 2004, 10:53:54 AM
OK, is this the only time you get this error, i.e., when going to admin tools, not when uploading, or using the groups manager?
Title: Re: Admin Tools critical error.
Post by: Casper on July 05, 2004, 11:00:43 AM
Just realised this was reported and fixed a while ago  :-[

You need to download the updated bridge file, and replace your existing one.  Get the file at http://cvs.sourceforge.net/viewcvs.py/coppermine/stable/bridge/
Title: Re: Admin Tools critical error.
Post by: clothahump on July 05, 2004, 11:14:30 AM
Updated the file but still get this in admin utilities.

Notice: Undefined index: action in /var/www/html/gallery/util.php on line 49

USER:
------------------
Array
(
    [ID] => 66effc648f86d165fcd6516c9c901103
    [am] => 1
    [liv] => Array
        (
           
Title: Re: Admin Tools critical error.
Post by: Casper on July 05, 2004, 11:22:17 AM
Turn off debug, and see if it works.  There are several areas where you will get 'undefined index' in debug, but they do not affect the operation of coppermine.
It is only if you get errors, or warnings, you need to worry.
Title: Re: Admin Tools critical error.
Post by: clothahump on July 05, 2004, 12:25:32 PM
(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.corydorasworld.com%2Fforum%2Fhtml%2Femoticons%2Fcelebrate.gif&hash=1547a2a04e3ec55270c348c07206ca774e483d42) Cheers Casper, thank you for all your help.
How do I alter the Karma rating for you and remove my Negative Karma unfairly awarded to me by someone, I can guess who it was.
Title: Re: Admin Tools critical error.
Post by: Casper on July 05, 2004, 03:01:54 PM
If you cannot see the '[applaud][smite]' links by your karma setting, then you cannot give awards to others. I'm not sure at what stage these become available to members.  No-one can change their own setting.
A karma setting of -1 is nothing to worry about, it means you made an error once on the boards.  It is those who continue to break the boards rules, and subsequently get several minus points, who need to worry.

You will get positive karma points by adding to the boards in some way, by supplying a hack or mod, or simply by helping others.

I hope you enjoy using coppermine now you have it working the way you want.  I noticed on my visit to your site, you don't yet have navigation links between your forum and gallery.  These would help users a lot.
Title: Re: Admin Tools critical error.
Post by: clothahump on July 05, 2004, 04:21:08 PM
Thanks Casper.

The links are the next thing on the list of things to do, I will try not to break anything whilst doing so.

Thanks to one and all once again.  ;D