Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Cannot enter Gallery if logged in to phpBB, but can if logged out...  (Read 2676 times)

0 Members and 1 Guest are viewing this topic.

Jeff Seabrook2

  • Coppermine newbie
  • Offline Offline
  • Posts: 5

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
Logged

Jeff Seabrook2

  • Coppermine newbie
  • Offline Offline
  • Posts: 5

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'

"
Logged

Jeff Seabrook2

  • Coppermine newbie
  • Offline Offline
  • Posts: 5

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

Jeff Seabrook2

  • Coppermine newbie
  • Offline Offline
  • Posts: 5

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.
Logged

Jeff Seabrook2

  • Coppermine newbie
  • Offline Offline
  • Posts: 5

fixed.

can leave this if anybody else ever encounters this problem.
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231

Glad you got it sorted.

Note, it is recommended that the gallery and BB are on the same database.
Logged
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
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 14 queries.