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: [Solved]: "reinstalling" Coppermine after updating forum  (Read 10298 times)

0 Members and 1 Guest are viewing this topic.

othersi

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
[Solved]: "reinstalling" Coppermine after updating forum
« on: May 19, 2008, 08:22:27 am »

Hi folks.

I recently updated my SMF forum to 1.1.5, and in doing so wiped out all of my modifications, including my Coppermine gallery.

My gallery tables are all still in my database (cpg1410_albums, cpg1410_banned, etc) ... and the cpg files are still on my server ... I just have no "connection" to my gallery any longer, as all that 'linkage' in my SMF files got reversed during my update.

My question is... am I able to simply reinstall the Coppermine gallery in a way that restores my access/control with the tables/images/albums/etc that are already in place?  (as opposed to wiping everything and starting from scratch)

At the same time... if I'm able to update to the latest gallery , that'd be good too... but I don't know if that's possible... or do I have to 'restore' to the older version of cpg??
« Last Edit: May 20, 2008, 08:01:16 am by Joachim Müller »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: "reinstalling" Coppermine after updating forum
« Reply #1 on: May 19, 2008, 08:26:35 am »

Do not re-install if both the database tables as well as the files inside the albums folder are still there. Just re-upload the coppermine files from the package. Manually create the files include/config.inc.php and include/install.lock.
Logged

othersi

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: "reinstalling" Coppermine after updating forum
« Reply #2 on: May 19, 2008, 08:34:19 am »

Hrmm... well... the files, including the two you mentioned, are already on my server... they never got deleted.

Will re-uploading the same files and overwriting them do anything?

It seems like what I need to do is 'link' my Coppermine install to my SMF install... all the files and tables are there... I just need to link everything together.

Forgive me if I'm misunderstanding something.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: "reinstalling" Coppermine after updating forum
« Reply #3 on: May 19, 2008, 08:35:42 am »

Looks like you just need to re-run the bridge manager. Did you read the bridging section.
Logged

othersi

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: "reinstalling" Coppermine after updating forum
« Reply #4 on: May 19, 2008, 08:41:50 am »

Bridge Manager... ok, thanks, will read through that now.
Logged

othersi

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: "reinstalling" Coppermine after updating forum
« Reply #5 on: May 19, 2008, 08:51:29 am »

 :-[ It appears I'm hosed... going to http://yourdomain.tld/your_coppermine_folder/bridgemgr.php  (with my actual url, of course) gives me an error:

Parse error: parse error, unexpected ')' in /home/content/o/t/h/othersi/html/gallery/include/debugger.inc.php on line 131
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: "reinstalling" Coppermine after updating forum
« Reply #6 on: May 19, 2008, 08:56:02 am »

Perform an upgrade as suggegsted in the docs, then do exactly as suggested in the bridging support section of the docs. Moving.
Logged

othersi

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: "reinstalling" Coppermine after updating forum
« Reply #7 on: May 19, 2008, 09:21:09 am »

Thanks for your help... that's fixed the bridging error, unfortunately I can't, for the life of me, remember what data I used as my initial username/password.  :(  It's not my standard username/pw, so I've got no idea what I would have used.

I = stupid.  lol

Thanks anyways, looks like I'm starting over.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: "reinstalling" Coppermine after updating forum
« Reply #8 on: May 19, 2008, 11:38:43 am »

There's no need to. You can recover your password using the "forgot password" link, or you can use one of the methods discussed in similar threads on this board. Search for "lost admin password" or similar - you should find loads of postings that explain how to recover a lost password.
Logged

othersi

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: "reinstalling" Coppermine after updating forum
« Reply #9 on: May 19, 2008, 07:21:13 pm »

Just wanted to update to finalize the thread.

It turns out I really didn't have to do anything to my coppermine installation.  I did update it, and that all went fine.

But what I then realized is that everything was still bridged properly... all I had to do was add a link to my gallery from my SMF forum...  so basically everything was already intact, I just didn't realize it.

Thanks for the help, and I will search the forum for info on recovering a lost admin password.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: [Solved]: "reinstalling" Coppermine after updating forum
« Reply #10 on: May 20, 2008, 08:03:42 am »

Thanks for resolving your thread. If the link from your forum to your gallery went missing when you updated your forum, you haven't added it properly in the first place. Make sure to come up with a custom theme in SMF and add the link to your gallery to your custom theme. The custom theme will go untouched when updating, so your custom link will be permanent. If you need details, look this up on the SMF forum.
Logged

Palok

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: [Solved]: "reinstalling" Coppermine after updating forum
« Reply #11 on: August 03, 2008, 01:32:54 pm »

The bridgemanager just helped me too.

Thanks fot the post Joachim!

Peter
Logged

Palok

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: [Solved]: "reinstalling" Coppermine after updating forum
« Reply #12 on: August 03, 2008, 03:17:31 pm »

The bridgemanager just helped me too.

Thanks fot the post Joachim!

Peter

Quote
5.3.2 Recover from failed bridging
If you have provided improper settings using the bridge manager, your integration might fail, resulting (in the worst case) in a stituation where bridging is enabled, but you can not log in as admin to switch it off again (e.g. if you provided improper cookie settings that stops authentication from working). For this situation a recovery setting was built into the bridge manager: if you are not logged in as coppermine admin (in fact: not logged in at all) and you access the URL of your bridge manager (http://yourdomain.tld/your_coppermine_folder/bridgemgr.php) by entering it manually into the address bar of your browser, you are prompted to enter your admin account details - use the admin account you used to install coppermine with in the first place (the standalone admin account). This will not log you in, but switch integration off, so you can fix improper bridging settings then. To avoid others trying to guess your admin account details, there's a login treshold that rises every time you enter wrong credentials, so enter your admin account details with care.

Shucks.... I tried to integrate bbs and copermine again and it went wrong again...
Now I stay logged in ad admin so http://yourdomain.tld/your_coppermine_folder/bridgemgr.php does not help out here.
I can nog log out, the message the database returns is: Coppermine critical error:

Unable to connect to UDB database !
MySQL said:



Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: [Solved]: "reinstalling" Coppermine after updating forum
« Reply #13 on: August 03, 2008, 09:40:30 pm »

If you have enabled bridging, then log out of the app you have bridged with. The bridgemanager should work no matter what. If it doesn't, turn bridging off manually by using a third-party tool like phpMyAdmin, browsing coppermine's config table and setting bridge_enable to 0.
Logged
Pages: [1]   Go Up
 

Page created in 0.028 seconds with 19 queries.