Clicking on 'USERS' or Memberlist creates Critical errorS Clicking on 'USERS' or Memberlist creates Critical errorS
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Clicking on 'USERS' or Memberlist creates Critical errorS

Started by SRTst, January 03, 2006, 04:20:02 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

SRTst

I did the integration and all worked fine, but if I click on 'Users' while in Admin mode, or if a user clicks on Memberlist I get this error

"Critical error

There was an error while processing a database query.

While executing query "SELECT count(*) FROM `ontar2_phpb1`.phpbb_users WHERE 1" on 0

mySQL error:

File: /home/ontar2/public_html/Gallery/include/functions.inc.php - Line: 248"

phpBB 2.018
Coppermine 1.4.2
Debug mode enabled for all
Forum = http://www.ontariosrtclub.com/forum
Coppermine = http://www.ontariosrtclub.com/Gallery
Username: Test_Pilot
Pass: test

Bridge Wizard:

Forum URL:  http://www.ontariosrtclub.com/forum 
Relative path to your BBS's config file:  ../forum/ 
Use post-based groups?:  0 
Cookie prefix:  phpbb2mysql 


Any help would be greatly appreciated!

Thank you
Neven

SRTst

I came accross another problem but I'm guessing it's the same issue thats causing both problems

When a User creates an Album it also creates

"User galleries"

It shows there is 1 Album in there but when you click on "User galleries" link you get the following error:

"While executing query "SELECT user_id as user_id,username 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 `ontar2_phpb1`.phpbb_users as u on u.user_id+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, 60 " on 0

mySQL error:

File: /home/ontar2/public_html/Gallery/include/functions.inc.php - Line: 248 "


Joachim Müller


SRTst

Upgraded, seems to be working fine now. I chose to install it thru Fantastico from my Control Panel, and 1.4.3 wasn't avaliable. Thats what I get for going about it the faster way :)

Thanks

Joachim Müller

we don't recommend fantastico, it is known to have additional bugs. Always use the original, available from our site only.