Index is Redirected (cpg1.4.4/phpbb2.0.19) Index is Redirected (cpg1.4.4/phpbb2.0.19)
 

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

Index is Redirected (cpg1.4.4/phpbb2.0.19)

Started by letgo216, March 15, 2006, 09:35:16 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

letgo216

I have the following issue when trying to bridge coppermine 1.4.4 and phpbb 2.0.19:
I can't get to my gallery index after bridging. When I go to it's url, I'm redirected to my forum index.

Coppermine install: http://testclubforum.awardspace.com/gallery/
Forum install: http://testclubforum.awardspace.com/forum/
Coppermine version: cpg1.4.4
Forum version: phpbb2.0.19
Test user account: Test User/ testpw

BridgeManager settings:
Forum URL:  http://testclubforum.awardspace.com/forum
Relative path to your BBS's config file:  ../forum/ 
Use post-based groups?:  0 

letgo216

The forum and the gallery share a database, could that possibly be part of the problem?

Nibbler

I see

Coppermine critical error:
Unable to connect to database !

MySQL said: Too many connections

This is a server setup or usage issue.

letgo216

Yes, my test forum, originally my main forum, is on a crappy host & server failures are a daily occurance, hence the move. I only left it there for testing. But the problem had occured before the server went down for the day. I'm currently installing the gallery on my other host & will try integrating with the main forum, then I'll post the info for that one if I still have the same problem.

letgo216

#4
Ok, got it set up with my good host... now I'm able to at least acces the gallery index without getting redirected, but I can't log in:

Clicking "Log In" takes me to the forum index, not the forum login page.
I click login on the index page & log in, which takes me back to the forum index again.
Then I go back to the gallery (have to type the url, no link in the forum yet), and I'm still logged out there.

Question: Are the forum and gallery supposed to be using the same database, separate ones, or does that even matter? In this case I have them using two serparate databases, on the other one they shared.

Coppermine install: http://www.animeforum.itsfun.be/gallery2/
Forum install: http://www.animeforum.itsfun.be/forum2/
Coppermine version: cpg1.4.4
Forum version: phpbb2.0.19
Test user account: Test User/ testpw

BridgeManager settings:
Forum URL:  http://www.animeforum.itsfun.be/forum2
Relative path to your BBS's config file:  ../forum2/ 
Use post-based groups?:  0 

Please help.  ;D

letgo216

Nevermind, I got it fixed. It was a cookie problem. The cookie path for my forum was set to "/forum2". I changed it to "/" as I read here, cleared my cookies, and everything worked. Sorry for wasting anyone's time with something so simple. :-[ ;D

letgo216

#6
Ok, maybe not....

I can't log into the forum itself now from it's own index.
Apparently the cookie path for it absolutely needs to be the same as the script path...
But I found a way to have the cookie path at /forum2 and still have it work.

I left both the board and the gallery with their default cookie paths & ran the bridge manager & cleared my cookies.
From then I couldn't log into the gallery because the cookie paths were mismatched.
Since I couldn't use the gallery's config panel without logging in, I went into phpMyAdmin to change the cookie path to match that of the forum.

So Coppermine's cookie path only needs to be "/" when it's used as a standalone. When it's integrated, it can use the forum's default path.

Now every works perfectly, I can log in from both the forum index and the gallery index.  ;D