Cannot enter Gallery if logged in to phpBB, but can if logged out... Cannot enter Gallery if logged in to phpBB, but can if logged out...
 

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

Cannot enter Gallery if logged in to phpBB, but can if logged out...

Started by Jeff Seabrook2, May 24, 2004, 04:45:28 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Jeff Seabrook2

Plain and simple.

If i'm logged into my forum, phpBB, I cannot get into the photo gallery.  Gives me this error:

"Fatal error :
There was an error while processing a database query"

However, if I am logged out of the forum, I can enter the gallery fine and view all pictures, vote, do everything possible.  No error message.

The integration is set up correctly, but we recently moved servers and since the move, I have not been able to log in - is there a hidden file possibly that never got transferred, or is there some configuration that I must update?

Thanks

www.bmwsport.net

-Jeff

Jeff Seabrook2

here is the Debug mode result - can anybody help with the break down of this?

"
While executing query "SELECT (ug.group_id + 5) as group_id FROM `phpbb`.phpbb_user_group as ug LEFT JOIN `phpbb`.phpbb_groups as g ON ug.group_id = g.group_id WHERE user_id = 2 AND user_pending = 0 AND group_single_user = 0" on 0

mySQL error: select command denied to user: 'bmwsportdb@localhost' for table 'phpbb_user_group'

"

Jeff Seabrook2

i'm going to try to merge the 2 databases - but I appreciate any research..

Jeff Seabrook2

Got the problem.

I have 2 usernames and passwords for the MySQL database, each username has access to one specific database.  "bmwsport" and "phpbb" - since the gallery is under the "bmwsport" database, the integration from the "phpbb" database wont pull any info from the other database.  Trying to fix this right now, but that's the problem.

Jeff Seabrook2

fixed.

can leave this if anybody else ever encounters this problem.

Casper

Glad you got it sorted.

Note, it is recommended that the gallery and BB are on the same database.
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here