Referer problem with CPG 1.2rc2 Referer problem with CPG 1.2rc2
 

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

Referer problem with CPG 1.2rc2

Started by Jiminy, November 04, 2003, 01:30:50 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Jiminy

I've just installed CPG 1.2rc2 on a french Web Service Provider called free.fr. They offer PHP4 compiled with GD 1.2 and MySQL.

I setup CPG in a /coppermine directory and ran the install.php without any problem.

Problems came out when I tried to configure CPG. When I hit the "Save new configuration" button on the config.php page, I'm redirected to http://fakehost.free.fr/fakehost.free.fr/coppermine/config.php instead of http://fakehost.free.fr/coppermine/config.php . Thus the configuration changes are not taken into account (impossible to set debug mode).

Same problem if I use the "user mode" link, the URL is http://fakehost.free.fr/coppermine/admin.php?admin_mode=0&referer=/fakehost.free.fr/coppermine/profile.php?op=edit_profile . It looks like some time the hostname and folder are mixed up...

I've tried with the define('SILLY_SAFE_MODE', 1); in the include/config.inc.php and without it and got the same behaviour. Unfortunately, my provider does not allow chmod neither on dirs nor on files.

Any help would be welcome.

Best regards.

jasendorf

Read the Online DOCs,FAQ, and SEARCH the board BEFORE posting questions for help.