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

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

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.