coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Installation & Setup => Topic started by: pepito on June 17, 2004, 06:34:56 AM

Title: [Solved]: critical error
Post by: pepito on June 17, 2004, 06:34:56 AM
hello again,
When I clik on "admin tools" I get a critical error box with : There was an error while processing a database query !
can It be fixed?
thank you
Title: Re: critical error
Post by: Casper on June 17, 2004, 12:28:53 PM
Please go into config, and turn on debug mode (at the bottom of the page).
Then go into admin tools again, and see what the debug info is saying.
If you can't fix it, post the info here.
Title: Re: critical error
Post by: pepito on June 18, 2004, 02:05:23 AM
here is the reply of the debug mod
QuoteWhile executing query "SELECT aid, category, IF(name IS NOT NULL, CONCAT('(', name, ') ',title), CONCAT(' - ', title)) AS title FROM cpg11d_albums AS a LEFT JOIN ibf_members AS u ON category = (10000 + id) ORDER BY category, title" on

mySQL error: Champ: 'title' dans field list est ambigu
and down the box the file :Fichier: /home/www/pepito/www/coppermine/include/functions.inc.php - Ligne: 110

need your help of course

maybe you need the debug infos?
Title: Re: critical error
Post by: pepito on June 18, 2004, 03:03:57 AM
okay I found the answer by Hyperion
QuoteOkay, I've integrated IPB 1.3 and Coppermine. 

I found that the Admin tools error is an actual bug, and I have attached a new revision of the IPB bridge that should fix the issue. I introduced this bug when introducing album list support for the Admin tools page.  You will need to change the extension from  .txt to .php
I uploaded the file and the issue is fixed!!!!!

Thank you very much!!!and I must say this gallery is a hudge one!!