coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 bridging => Topic started by: abusado on March 12, 2006, 09:38:32 PM

Title: SMF + Coppermine - Error on Users ALbum
Post by: abusado on March 12, 2006, 09:38:32 PM
Im using  SMF and COppermine. I Integrate Coppermine to SMF but When i click the link on my users album this is what is says


Critical error

There was an error while processing a database query.



While executing query "SELECT ID_MEMBER as user_id,memberName as user_name,COUNT(DISTINCT a.aid) as alb_count,COUNT(DISTINCT pid) as pic_count,MAX(pid) as thumb_pid, MAX(galleryicon) as gallery_pid FROM cpg_albums AS a INNER JOIN `maitum_mamb1`.smf_members as u on u.ID_MEMBER+10000=a.category LEFT JOIN cpg_pictures AS p ON p.aid = a.aid WHERE ((isnull(approved) or approved='YES') AND category > 10000)  GROUP BY category ORDER BY category LIMIT 0, 12 " on 0

File: /home/maitum/public_html/photo/include/functions.inc.php - Line: 248


Here is the Debug Info


USER:
------------------
Array
(
    [ID] => 27f10e8907fc0d25403d0f4515f4aa**
    [am] => 1
    [lang] => english
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] => admin
    [groups] => Array
        (
           
Title: Re: SMF + Coppermine - Error on Users ALbum
Post by: Nibbler on March 12, 2006, 09:51:00 PM
Update your gallery. Old versions have old bugs.
Title: Re: SMF + Coppermine - Error on Users ALbum
Post by: abusado on March 12, 2006, 09:58:54 PM
Ok ill Update :) thanks i installed coppermine via cpanel fantastico i didnt know that its an old version