coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 (BBS) Integration / Bridging => Topic started by: todd222222 on June 18, 2004, 04:21:47 AM

Title: critical error when selecting 'User Galleries'
Post by: todd222222 on June 18, 2004, 04:21:47 AM
I have Coppermine setup to work with vbulletin 3.0.0.  

When I login with the admin account it works fine.

When I login with a non admin account I get the Critical Error.  

I'll post all the details of the error below.

Can someone help me.  If I'm breaking any rules please let me know, I'm correct my ways.

Thanks,
Todd




While executing query "SELECT count(*) FROM cpg130_albums as a WHERE category = '1' and AND a.aid NOT IN (3) " on 0

mySQL error: You have an error in your SQL syntax.  Check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND a.aid NOT IN (3)' at line 1





File: /home/u4/todd222222/lewisvillemoms.com/html/pictures/include/functions.inc.php - Line: 110



Notice: Undefined index: offline in /home/u4/todd222222/lewisvillemoms.com/html/pictures/include/init.inc.php on line 380




USER:
------------------
Array
(
   [ID] => f6dcf70c0523d7e604af636b1004a0ec
   [am] => 1
   [liv] => Array
       (
           
Title: Re: critical error when selecting 'User Galleries'
Post by: jared on July 14, 2004, 12:51:30 AM
I had the same problem - - apparently there is a bug that causes this to happen if you have hidden albums.  The problem went away for me once I deleted or "un-hid" the hidden albums. 

-jared
Title: Re: critical error when selecting 'User Galleries'
Post by: wildflowerintn on July 19, 2005, 06:57:49 AM
I have made sure there are no hidden galleries, still get the following error. I am running coppermine on a pcnuke system, but dont know if this is a coppermine issue or an issue with the pcnuke mod. Can you please help if its a coppermine problem?

While executing query "SELECT user_id, username, user_avatar as avatar, COUNT(DISTINCT a.aid) as alb_count, COUNT(DISTINCT pid) as pic_count, MAX(pid) as thumb_pid FROM cms_users AS u INNER JOIN cms_cpg_albums AS a ON (category = 10000 + user_id  AND visibility > -1)LEFT JOIN cms_cpg_pictures AS p ON (p.aid = a.aid AND approved = 'YES') GROUP BY user_id ORDER BY username" on 0

mySQL error: Column: 'visibility' in on clause is ambiguous
Title: Re: critical error when selecting 'User Galleries'
Post by: Joachim Müller on July 19, 2005, 09:17:30 AM
http://forum.coppermine-gallery.net/index.php?topic=17684.0
Title: Re: critical error when selecting 'User Galleries'
Post by: wildflowerintn on July 20, 2005, 04:42:12 AM
I apologize. The test user account is UN: coppermine  PW: coppermine

I havent changed any files at all. Site can be found at www.travelazine.com

If you need anything else, please let me know.
Title: Re: critical error when selecting 'User Galleries'
Post by: Joachim Müller on July 20, 2005, 08:16:10 AM
you're using a nuke port of coppermine, which goes unsupported. Read http://forum.coppermine-gallery.net/index.php?topic=13667.0
Title: Re: critical error when selecting 'User Galleries'
Post by: wildflowerintn on July 20, 2005, 06:14:36 PM
Yes, I know this. Is this a coppermine error or a nuke error is what I am trying to find out? the visibility thing in the sql is wrong it says, what do i do with the sql query being wrong?
Title: Re: critical error when selecting 'User Galleries'
Post by: Nibbler on July 20, 2005, 06:33:17 PM
No support. Locking thread.
Title: Re: critical error when selecting 'User Galleries'
Post by: Joachim Müller on July 21, 2005, 10:21:23 AM
Even though the thread was locked and wildflowerintn was told that there is no nuke support, he/she started a new thread (http://forum.coppermine-gallery.net/index.php?topic=20024.0) that just shows he/she's too lazy to read before posting. I wonder why all those nuke users are so stubborn, they seem to think they have a right to be supported ::)...