Hi,
My hoster had changed his Server Configuration.
PHP is running @ CGI
I cant change the preferences of a user. (for example, to another group)
I had to change all
$PHP_SELF
in
usermgr.php
doesn't depend on how php is run, but if the var $PHP_SELF is defined correctly. Edit include/init.inc.php and find // 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'];
and edit accordingly if $PHP_SELF doesn't work on your server.
Since this is not related to cpg1.3.0, but applies to all coppermine versions I moved your posting from the cpg1.3.0 bugs board to the support board.
GauGau
Quote from: "gaugau"and edit accordingly if $PHP_SELF doesn't work on your server.
what du you mean?
Sorry i have no Idea.
me = No coder!
urm, check what server vars you
do have (using phpinfo (http://www.php.net/phpinfo)) and replace
Quote$HTTP_SERVER_VARS['SCRIPT_NAME']
with a server var that exists on your server. If you're not sure, run phpinfo and paste the part that comes after "PHP Variables" into your posting. Do not post a link to your phpinfo file (might be a security risk).
GauGau
_SERVER["PHP_SELF"] /intern/phpinfo.php
the is php self....
then replace$PHP_SELF = isset($HTTP_SERVER_VARS['REDIRECT_URL']) ? $HTTP_SERVER_VARS['REDIRECT_URL'] : $HTTP_SERVER_VARS['SCRIPT_NAME'];
with$PHP_SELF = isset($HTTP_SERVER_VARS['REDIRECT_URL']) ? $HTTP_SERVER_VARS['REDIRECT_URL'] : $_SERVER["PHP_SELF"];
GauGau
Sorry the Same problem!