Bridge not working after changing webhost account Bridge not working after changing webhost account
 

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

Bridge not working after changing webhost account

Started by misjka, November 17, 2007, 03:26:56 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

misjka

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,

Joachim Müller

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?

misjka

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...

Joachim Müller

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.

misjka

#4
Sorry, nope...

[Edit GauGau] Replaced hotlinked image with attachment. [/Edit]

misjka

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


// MySQL TABLE NAMES PREFIX
$CONFIG['TABLE_PREFIX'] = 'cpg_';

Nibbler

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

misjka

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....

Joachim Müller

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"

misjka

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!

Nibbler

If you want it to work both ways then enable subdomain independent cookies in SMF.