[Solved]: CPG 1.3 integration with phpBB 2.0.8 [Solved]: CPG 1.3 integration with phpBB 2.0.8
 

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]

Main Menu

[Solved]: CPG 1.3 integration with phpBB 2.0.8

Started by magister, June 21, 2004, 04:48:11 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

magister

Greetings. I have followed the instructions contained here: /cpg/docs/index.htm#integrating accurately. I have double checked my work. My result on trying to login to cpg is redirection to login of phpBB. I login at phpBB, then enter the url to get me back to my cpg gallery (ex: /cpg/index.php). My options show me there that I am logged in as the user I logged into phpBB with (admin user), and when trying to access any of the admin features I am told:  "Error  : You don't have permission to access this page."  Then when I try to view non-admin options, for example, browse a gallery (which is empty btw) I then check on my login status, and behold, it shows me to not be logged in at this time. Can anyone shed any light on this and perhaps offer some insight or suggestions to troubleshoot? Thank you very much, in advance.


magister

Disregard the issues on my first post. I wiped cpg and restarted from scratch again. This time the integration was successful. I find it humorour (chuckle) that each person on this forum, myself included, always has one issue after another. ON THAT NOTE... my next issue is the /phpBB2/cpg_redir.php (Version 2 fix!) is giving me a completely blank screen. I will troubleshoot this further, but in case I don't find the solution, if anyone else has a tip, please advise. Thx in advance.

magister

Quotemy next issue is the /phpBB2/cpg_redir.php (Version 2 fix!) is giving me a completely blank screen.

I had implemented the integration version 2 fixes and the redirection broke with the new cpg_redir.php. What I did was restore the stock /bridge/phpbb.inc.php with version 1's contents, editing only the db name and login/pass, then I restored the cpg_redir.php in /phpBB2/ with the version 1's contents as well. The result is proper redirection upon login/logout. I noted that version 2 fix said to add this line "define('PHPBB_WEB_PATH', '/phpBB2/');" to the phpbb.inc.php file, but interestingly enough it was already included in the file, as if some of version 2 fixes are contained in cpg 1.3.0... So I am all squared away on that issue. My third, and potentially last issue is that I receive a "Critical error - There was an error while processing a database query" when trying to access Admin Tools within CPG as admin. As always, I will do my best to determin the cause via troubleshooting, but anyone finds that familiar, hollar at me here in this thread. Thanks.



magister

Hyperion said, relating to this same issue in another thread (regarding the critical error for admin tools): "This will be due to the use of two separate databases. Give me some time to come up with a solution for this."

I have two databases... one for cpg and one for phpbb... both on the same sql server. I guess this is my problem. I will start all over again (getting good at this ;) -- reinstall cpg, reintegrate, and this time will install onto the same db as my forums. I assume this is exactly what I should do, correct?

magister

All issues 100% solved. Putting cpg into the same database as phpBB worked. I misread that note on the integration to mean, same physical database server, not same database. Doh, my bad. Perhaps other people will benefit from this phpbb 2.0.8 and CPG 1.3.0 integration issue of mine ;)