After install i will login after the loginscreen the program will go to http://www.mysite.com/index.php not http://www.mysite.com/mygalleri/index.php.
And the same when i try too config the galleri when i try too save the new setup then i will go to wrong place.
What to do someone, that have the same problem coppermine 1.3.5
don't post dummy placeholder URLs, but actual ones. Make sure to specify the "target for ecards" link, and take a look at the threads on this board that deal with improper server setup, especially for server vars not getting populated properly.
Thank's for your answer, it was my first wisit on this forum, wery quick and precise answer so now i hope too get all work's.
Thank's again.
If you really whant's to se it go too http://www.pesvahn.com/svahn/Copper/index.php
issue solved then?
Ok when looking in forum after solutions i found one that change in config.php "config.php" instead for "$PHP_SELF" but this is what i understand not a solution for a longer time. So i also found that it should be better to change in Init.inc.php file some code.
I will test this one also.
My hostserver is running PHP4u ver 3.0, based on PHP 4.3.10.
Thanks
Now i have made some updates in init.inc.php file like this
$PHP_SELF = '';
$possibilities = array('REDIRECT_URL','PHP_SELF','SCRIPT_URL', 'SCRIPT_NAME','SCRIPT_FILENAME');
foreach ($possibilities as $test){
if (isset($_SERVER[$test]) && preg_match('/([^\/]+\.php)$/', $_SERVER[$test],$matches)){
$PHP_SELF = $_SERVER['PHP_SELF'] = $_SERVER['SCRIPT_NAME'] = $matches[1];
break;
}
}
And now does it realy works better, i have not tested all functions but so far no problems.
Thanks for the help.
Today 051013 i have tested and it look like it will work well.