How do I activate the wizard when upgrading? How do I activate the wizard when upgrading?
 

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

How do I activate the wizard when upgrading?

Started by Anhinga, January 25, 2006, 03:13:32 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Anhinga

My apologies if someone has asked this before, but I looked for other threads about this problem and couldn't find any.

My Coppermine gallery ( http://www.snakebird.net/gallery/ ) is bridged with an SMF forum ( www.snakebird.net/polaris ).  Normally when I upgrade the forum, all I need to do in order to re-activate the bridge is make the necessary changes to smf.inc.php and init.inc.php.  However, it seems that CPG 1.4 has a new system in which I need to log into my administrator before activating the bridge.  The problem is that since this is an upgrade, I'm not able to create a new administrator account the way I could with a fresh install, and I can't use my existing administrator account because the bridge hasn't been activated yet.

What's the best way for me to activate the bridge in this situation?

I've created a test account at the gallery for troubleshooting purposes, with the username "Test" and the password "coppermine".

Joachim Müller

you need to specify the admin account of your standalone, unbridged coppermine (usually the one you set up during coppermine's install).

Anhinga

#2
I never set one up.  I installed Coppermine using Fantastico, and it was a bit of a problem at first that the database started out completely empty.  I only repaired enough of that to successfully integrate it with SMF.

What's the best way for me to activate the bridge in this situation?  Is it possible for me to do it just by editing certain PHP scripts, the way I could with version 3?

EDIT:  I'm not sure if this is the reason why it doesn't have an admin account independent of the forum, but it definitely doesn't.  The only account for which it recognizes my e-mail address is the "test" one I just created.

Joachim Müller

Don't use Fantastico, it is buggy. Upgrade to cpg1.4.3. I have no idea what you did to fix your broken install, so it's hard to advice.

Anhinga

1.4.3 is what I'm currently upgrading to.  My problem with Fantastico is described in these two threads: http://forum.coppermine-gallery.net/index.php?topic=19738.msg9064 and http://forum.coppermine-gallery.net/index.php?topic=19765.msg90662 .  Basically, Fantastico installed Coppermine with most of the database tables empty.

I know Fantastico has some problems with it, but when I try to install any sort of large program on my domain manually, the connection almost always times out partway through the operation.  So I'd still prefer to work around whatever problems Fantastico has introduced, if it's possible.

Joachim Müller

when the tables haven't been created, you have to create them manually (surprisingly). What other recommendation did you expect except "don't use Fantastico"?

Quote from: Anhinga on January 26, 2006, 10:33:46 AM
but when I try to install any sort of large program on my domain manually
I don't understand at all. Is the FTP connection timing out? Does your connection to the internet break down (ISP issue then) or does the webserver some "auto-closing" (in that case, contact your webhost for support or find a better webhost). Anyway, those issues are not related to coppermine itself.

Anhinga

Quote from: GauGau on January 26, 2006, 06:26:39 PM
when the tables haven't been created, you have to create them manually (surprisingly). What other recommendation did you expect except "don't use Fantastico"?

What I'd like to know is whether there's a way to manually activate the bridge by editing certain files, the way there was with version 3.  Is there?

Quote from: GauGau on January 26, 2006, 06:26:39 PMI don't understand at all. Is the FTP connection timing out? Does your connection to the internet break down (ISP issue then) or does the webserver some "auto-closing" (in that case, contact your webhost for support or find a better webhost). Anyway, those issues are not related to coppermine itself.

It's the first one.  I know this issue isn't related to Coppermine; I'm just trying to explain why I don't have much choice but to use Fantastico, in spite of its problems.

Joachim Müller

Quote from: Anhinga on January 27, 2006, 05:28:52 AM
What I'd like to know is whether there's a way to manually activate the bridge by editing certain files, the way there was with version 3.  Is there?
You don't edit files, but the database. You'll need a tool like phpMyAdmin and edit coppermine's bridge table.

Quote from: Anhinga on January 27, 2006, 05:28:52 AMIt's the first one.  I know this issue isn't related to Coppermine; I'm just trying to explain why I don't have much choice but to use Fantastico, in spite of its problems.
I suggest you fix those initial issues instead of finding a workaround for a workaround. You will need cpg1.4.3 if you want bridging to work. Cpg1.4.2 contains known bugs, that's why we released cpg1.4.3.

Anhinga

Quote from: GauGau on January 27, 2006, 05:34:07 AMYou don't edit files, but the database. You'll need a tool like phpMyAdmin and edit coppermine's bridge table.

Well, I edited the database to create a new administrator account, and used it to activate the bridge with the wizard.  But now I'm having a different problem, so I'll post a new thread about it.