Advanced search  

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

Pages: [1]   Go Down

Author Topic: Bridge not working after changing webhost account  (Read 6154 times)

0 Members and 1 Guest are viewing this topic.

misjka

  • Coppermine newbie
  • Offline Offline
  • Posts: 19
Bridge not working after changing webhost account
« on: November 17, 2007, 03:26:56 pm »

Hi,
A couple of weeks ago my forum/gallery was hacked and my webhost then decided to move my account (incl. changing name of the account) to another host. As I moved and was about to make things work on the new host, I decided to change the names of some db tables' prefixes corresponding to cgm... After that my gallery refuses to work, just showing the SMF login screen all the time as I access the url (I have a SMF bridged gallery that worked perfect before the move, and I have made the necessary editings in the config.inc.php)... But the cpmfetch utility works like a charm  :o

Any clues how I make the gallery work again?

Thanks,
« Last Edit: November 18, 2007, 07:06:51 pm by Nibbler »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Bridge not working after changing webhost account
« Reply #1 on: November 17, 2007, 05:25:33 pm »

The mysql access data (the holds among other things the table prefic) can be changed by editing include/config.inc.php
Why on earth did you change table prefixes?
Logged

misjka

  • Coppermine newbie
  • Offline Offline
  • Posts: 19
Re: Bridge not working after changing webhost account
« Reply #2 on: November 17, 2007, 05:45:54 pm »

Hmm, as I mentioned I have done the changes in config.inc.php - but it still doesn't work...

The reason was due to I changed policy for what the db was supposed to be used for...
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Bridge not working after changing webhost account
« Reply #3 on: November 17, 2007, 05:55:59 pm »

Did you per chance use different prefixes for some of coppermine's tables? You can of course change the prefixes if you know what you're doing, but then you'll have to change all of them in the same way. Just renaming some tables will definitely crash coppermine and cause the issues you reported.
Logged

misjka

  • Coppermine newbie
  • Offline Offline
  • Posts: 19
Re: Bridge not working after changing webhost account
« Reply #4 on: November 17, 2007, 11:39:07 pm »

Sorry, nope...

[Edit GauGau] Replaced hotlinked image with attachment. [/Edit]
« Last Edit: November 18, 2007, 02:20:45 pm by GauGau »
Logged

misjka

  • Coppermine newbie
  • Offline Offline
  • Posts: 19
Re: Bridge not working after changing webhost account
« Reply #5 on: November 17, 2007, 11:42:21 pm »

...and the config.inc.php says:


Code: [Select]
// MySQL TABLE NAMES PREFIX
$CONFIG['TABLE_PREFIX'] = 'cpg_';
Logged

Nibbler

  • Guest
Re: Bridge not working after changing webhost account
« Reply #6 on: November 18, 2007, 12:00:33 am »

What is the actual problem? The redirect to SMF will be because you have your gallery set to logged in users only.
Logged

misjka

  • Coppermine newbie
  • Offline Offline
  • Posts: 19
Re: Bridge not working after changing webhost account
« Reply #7 on: November 18, 2007, 07:01:12 am »

Mmm, yes... But the problem is that I'm already logged in  ::)... And as I re-login as the login form appears when I try to access the gallery, I only see my forum again - not the gallery....
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Bridge not working after changing webhost account
« Reply #8 on: November 18, 2007, 02:19:55 pm »

Then do as suggested in the sticky thread on this board named "When requesting bridge support - mandatory!" and as suggested in the documentation in the section named "Bridging support"
Logged

misjka

  • Coppermine newbie
  • Offline Offline
  • Posts: 19
Re: Bridge not working after changing webhost account
« Reply #9 on: November 18, 2007, 06:31:38 pm »

Hmm, how weird... A cookie problem ???

As I was setting up a testuser for you, I found out that all of a sudden that user could get into the gallery  :o... After some testing back and forth, it showed that if I omitted the www in my site url (and already was logged into my SMF forum) I had to endlessly re-login as i tried http://mysite.com/Coppermine... But as it turned out, accessing http://www.mysite.com/Coppermine went OK!

Anyway, I guess case is closed now  :). Thanks for your time!
Logged

Nibbler

  • Guest
Re: Bridge not working after changing webhost account
« Reply #10 on: November 18, 2007, 07:07:19 pm »

If you want it to work both ways then enable subdomain independent cookies in SMF.
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 19 queries.