Bridge Removed Cannot Login. may need to reset default cookie path Bridge Removed Cannot Login. may need to reset default cookie path
 

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 Removed Cannot Login. may need to reset default cookie path

Started by theflyingbeard, May 18, 2006, 12:24:58 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

theflyingbeard

I am trying to bridge coppermine and Invisionboard:
So far without success. Currently the bridge has been removed.


In my last session I think I tried changing the cookie path in Coppermine but without success, I was under the impression that I had reset everything back the way it had been.
All appeared to be working as stand alones and I left the problem for a while.

It has now been brought to my attention (about a week later) that it is not possible to login to coppermine.
I have reasearched this forum with the search facility and believe that the problem may be that I have changed the cookie path from the default.

Initially I was still able to login as administrator and coppermine would reply "Welcome administrator", then it returned to the login screen and I was NOT logged in.

I removed all cookies from my PC and tried again.
Now when I click on login I ALSO get a message: "Warning your browser does not accept script's cookies"

I cannot find a thread that explains how to reset the default cookie path, though one thread mentioned that it had been reset using phpmyadmin.
I am not very familiar with phpmyadmin or sql as a language, so though I have looked I am reluctant to "Experiment".

Having said all that the question remains: How do I reset the default cookie settings?


Coppermine install: http://www.westfieldracing.co.uk/gallery
Forum install: http://www.westfieldracing.co.uk/forum
Coppermine version: 1.4.3
Forum version: invisionboard 1.2
Test user account: sorry cannot login to create


BridgeManager settings: currently disabled
Forum URL:  http://www.westfieldracing.co.uk/forum
Relative path to your BBS's config file:  ../forum/ 

dont think this is changed from default
Use post-based groups?: 0 
TFB

I'm NOT Lost....... I'm just taking the scenic route.
Webs:
Presonal: http://www.theflyingbeard.co.uk
Commerial: http://www.toexciteyou.co.uk (Adult Content)

Nibbler

You've set it to /forum/. You'll need to edit the value using phpmyadmin - browse to the config table and set the value of cookie_path to /

theflyingbeard

Thank you.

Now I know for sure it is the cookie path and what the path should be.

I guess I will have to seek advice from the hosting company as I really dont know what I am doing with phpmyadmin.
TFB

I'm NOT Lost....... I'm just taking the scenic route.
Webs:
Presonal: http://www.theflyingbeard.co.uk
Commerial: http://www.toexciteyou.co.uk (Adult Content)

theflyingbeard

Ok cookie path reset and all working as stand alone again.

If need be I will create a new thread when I attempt the bridgeing again, but first I will check everything and create a tester account befrore I bridge.


I'm sure everyone knows this but in case another newbie should find this thread:

To reset the default cookie path:
open phpMyAdmin
select the coppermine database
select the config table on the left side ( cpg132_config on my version)
from the tabs at the top click BROWSE ( an obvious choice one might think, but not necesarily for a newbie)
scroll down till you find cookie_path
click on the pencil icon to edit
in the value field enter the default setting as Nibbler stated above: /
then click the "Go" button to save it.


Hey presto the default cookie path has been reset.

TFB

I'm NOT Lost....... I'm just taking the scenic route.
Webs:
Presonal: http://www.theflyingbeard.co.uk
Commerial: http://www.toexciteyou.co.uk (Adult Content)