forum.coppermine-gallery.net
Support => Older/other versions => cpg1.1.X Support (standalone) => Topic started by: Pascal YAP on December 24, 2003, 01:42:13 am
-
Dear All,
Note : i do not speak english very well, and maybe my problem was posted here in the past.
Sorry if the answer is here... :oops:
and thanx a lot for a intelligible answer :)
But, i have a strange probleme, I cannot save my Admin Config !
When all my modifications are completed, and when i click on botton page "Save New Configuration", the URL is invalide because it try to log on http//expo.pays-dignois.com marked 2 times... like this :
http//expo.pays-dignois.com/expo.pays-dignois.com/config.php
The true URL must be http//expo.pays-dignois.com/config.php
I do not understand why
Please, is someone can help me :-)
Thank's a lot by advance.
Pascal YAP (fr)
-
This problem has been reported a few times. The quick solution is to open config.php, search for 'form action', and change $PHP_SELF to config.php
-
Hyperion, Friend,
How many secondes between my post and your answer ?
~15minutes !!!!! (here it's 2 h in the morning (or the midnight)
So Great !
Your help work fine, and all my localhost config is now online....
WOAUHOOOU :D
Many thanx a lot of montrous thanxsss
Pascal
-
Gaugau
There's a same problem in others .PHP
Can i make the same modif ?
Can i make a massive Search / Replace texte with a texte editor, for all $PHP_SELF , in all Coppermine files ?
But i known and i'm not sure, i must replace $PHP_SELF by the name file .PHP where there are $PHP_SELF For exemple in register.php i replace your first solution by register.php and so on ?
THNX
Pascal YAP
-
Yes.
-
If you experience problems with the variable $PHP_SELF I suggest you take a look at the place the var is set initially: edit inlcude/init.inc.php and search for
// Initialise the $CONFIG array and some other variables
$CONFIG = array();
$PHP_SELF = isset($HTTP_SERVER_VARS['REDIRECT_URL']) ? $HTTP_SERVER_VARS['REDIRECT_URL'] : $HTTP_SERVER_VARS['SCRIPT_NAME'];
$REFERER = urlencode($PHP_SELF . (isset($HTTP_SERVER_VARS['QUERY_STRING']) && $HTTP_SERVER_VARS['QUERY_STRING'] ? '?' . $HTTP_SERVER_VARS['QUERY_STRING'] : ''));
$ALBUM_SET = '';
$FORBIDDEN_SET = '';
$CURRENT_CAT_NAME = '';
$CAT_LIST = '';
GauGau
P.S. Re: fast help:
[off topic]
don't forget the users are in different time zones, refer to the dev team map on the about (http://coppermine.sourceforge.net/team/)-page for details:
(https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fgaugau.de%2Fpic%2Fworldmap%2Ftimezone24h.png&hash=0fdcb9429634eafc33c63ab1134f5be4153e8de5)
[/off topic]
-
For more info, please read:
http://forum.coppermine-gallery.net/index.php?topic=2712