upgrading from phpBB2 - phpBB3 want some advice upgrading from phpBB2 - phpBB3 want some advice
 

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

upgrading from phpBB2 - phpBB3 want some advice

Started by stu_m, October 03, 2008, 09:57:35 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

stu_m

i have the latest version of coppermine bridged with phpBB2 and im just about to upgrade to phpBB3

if i un bridge the gallery will i lose all my members list out of gallery or will they still stay

and how do i go about bridging to phpBB3 without loosing syc with who posted what pics etc etc

any advice welcome

thanks stu

Nibbler

Unbridge your gallery then update phpbb then bridge to the updated phpbb. You need to grab the phpbb3 bridge file from the mods section.

stu_m

easy as that  :o  ;D ;D

thanks for the reply will go get the bridge file now

Stu

stu_m

just had a thought

if im bridging with phpBB3 dont both the gallery and phpBB3 have to be in the same database ?  ???

Nibbler

No. It's designed to work just as well when in different databases.

stu_m


stu_m

im having a few issues with this  :'(

when i enable the bridge then go to the gallery logged in as admin i dont have any admin rights  ???

anyone shed any light on this  ???

Stu

Joachim Müller


stu_m

ooops!!

I have the following issue when trying to bridge coppermine and phpBB 3.0.2

when i bridge coppermine with phpBB all seems to go well but when i try to access the gallery i dont have admin rights and when a user tries to access the just get redirected to the forum even though they are logged in

Coppermine install: http://www.themotorbikeforum.co.uk/gallery
Forum install: http://www.themotorbikeforum.co.uk/
Coppermine version: cpg1.4.19
Forum version: phpBB 3.0.2
Test user account: user test password 19811981

BridgeManager settings:
Forum URL:  http://www.themotorbikeforum.co.uk
Relative path to your BBS's config file:  ../ 
Use post-based groups?:  tried yes and no for this
Cookie name/preifx (if applicable): phpbb3_6bk2l for forum gallery_6bk2l for gallery tried both the same aswell but no difference


hope this helps  ;D

Stu


stu_m

also must add i have tried clearing cookies and used IE7 and firefox still the same

Stu

stu_m

for some reason now all i get is redirected back to the forum  ??? i am logged in too  ???

stu_m

also this is an update from phpBB2 and the new phpBB3 in in a separate database

Stu

Joachim Müller


stu_m


Joachim Müller

The test user account you specified isn't working - I get the error message
QuoteYou have specified an incorrect username. Please check your username and try again. If you continue to have problems please contact the Board Administrator.
when I try to log in with the test user account you provided above. Fix that for a start - not related to coppermine, but entirely to your board.

stu_m

user test account works fine as someone off here has logged in already today

Test account "user test"
Password "19811981"

Stu


Joachim Müller

Quote from: stu_m on November 07, 2008, 11:38:12 AM
Coppermine version: cpg1.4.19
That's not true - you're running cpg1.4.18, so you should upgrade!

Quote from: stu_m on November 07, 2008, 03:22:32 PM
user test account works fine as someone off here has logged in already today
Confirmed. Loging in with "user test" works as expected. From your previous posting I thought that the test user account's logon name was "test", not "user test". Sorry for that.

As suggested, logging in works as expected. However, the link in your phpBB navigation that is suppossed to point to coppermine is wrong: it doesn't point to http://www.themotorbikeforum.co.uk/gallery/, but to http://www.themotorbikeforum.co.uk/, so it won't do anything particular helpfull. That's not the core of your problem though. Coppermine doesn't recognize you as being logged in (probably caused by cookie issues - more on that later in my posting). So the first thing you should do is unbridge, then log in with your coppermine standalone admin account, go to coppermine's config and temporarily turn "Allow unlogged users (guest or anonymous) access" to "yes" to make sure you're not being caught in an endless loop.

Quote from: stu_m on November 07, 2008, 11:38:12 AM
Cookie name/preifx (if applicable): phpbb3_6bk2l for forum gallery_6bk2l for gallery tried both the same aswell but no difference
That's of course nonsense and probably the reason why you're having issues: I'm not 100% sure, as I haven't been using phpBB for ages, but afaik the cookie prefix for your BBS appears to be phpbb3_6bk2l_ (note the traling underscore!). This is something you need to figure out in your phpBB setup: there is a config option there where you specify the cookie prefix. Look that up in your phpBB setup, then specify the exact data within the bridge manager. As much as coppermine is concerned, you shouldn't fiddle with the cookie name at all. While being loggegd in into coppermine in standalone mode, set the cookie name for coppermine back to the default "cpg14x" and never touch that option again! There is only one reason why both coppermine as well as phpBB allow end users to specify cookie names: if you're running several forums or several galleries on one domain, you need to make up your mind on renaming the cookie to make sure they don't interfere. However (as in your case), 99% of all users only run one BBS and one gallery on their webserver, so you should never have touched to cookie names/prefixes manually - this only leads to complicated setups and the issues you're just experiencing. Most login issues are being caused by newbies who fiddle with cookies although they don't have the slightest idea how cookies work. To make a long story short: end users (the visitors of your page) don't care about cookie names, so you shouldn't either.

stu_m

i inserted the new code in to cpg1.4.18, so affectivley its the same code i did try with fresh files but no joy either

yes i know about the link to gallery this is to stop people clicking on it and going to the gallery while im working on it

Allow unlogged users (guest or anonymous) access" ---- i have tried that and its still the same but i will go do it again to make sure

i will try your suggetions and post back

Joachim Müller

Quote from: stu_m on November 08, 2008, 01:53:24 PM
i inserted the new code in to cpg1.4.18, so affectivley its the same code
You applied all fixes that went into cpg1.4.19 manually? You must be a genius... ::)