It seems that I have some troubles with my root folder path. My domain is www.slyzen.com and I installed coppermine files in the folder cpg121 so the path of the config.php file is
http://www.slyzen.com/cpg121/config.php
when I try to save changes on this page for exampel, I'm redirected on another config file on the path http://www.slyzen.com/config.php and this problem also exists on the "batch add" page and probably elsewhere .. Moreover I wondered where to indicate the folder in which the coppermine files are (cpg121) .. because without that I dont't understand how php will find its pages.. I saw that the server var $php_self is used to get the current php file name but the "/" before the file name redirect to the parent folder ..
could somebody help me ?
thx :D
make sure you have set "Target address for the 'See more pictures' link in e-cards" in coppermine config to http://www.slyzen.com/cpg121
GauGau
thx Gaugau, the post was apparement not rather clearly (my english is so bad :? )
I finally solved my problem by replacing the line
// $PHP_SELF = isset($HTTP_SERVER_VARS['REDIRECT_URL']) ? $HTTP_SERVER_VARS['REDIRECT_URL'] : $HTTP_SERVER_VARS['SCRIPT_NAME'];
by the following line
$PHP_SELF = 'http://www.slyzen.com/cpg121'.$HTTP_SERVER_VARS['SCRIPT_NAME'];
There is surely a better solution but for the moment I will be satisfied with this one..
Now I have some troubles with the album manager function (can't create any album) but I'll search some answers on the board.. :D