Share

FreeWERM

Tracker: Bugs

5 problem with install - ID: 1721622
Last Update: Settings changed ( freewermadmin )

On newer versions of php, register_globals defaults to off. This results
in one being unable to log into the FreeWERM and you just loop back to the
login window.

Fixes:

1) Rewrite the code with the recommended change of $_SERVER['PHP_SELF'].
Sadly, there's more to it than just a variable change as I tried that.

2) Turn register_globals on in php.ini and restart apache

3) set up an .htaccess file with the following in the FreeWERM directory:

php_value register_globals 1

and then in your apache config file, add:

<Directory /path/to/freewerm>
AllowOverride All
</Directory>

and then restart apache and all should be well.


Nobody/Anonymous ( nobody ) - 2007-05-19 01:12

5

Open

Accepted

Nobody/Anonymous

None

None

Public


Comment ( 1 )




Date: 2007-06-30 18:14
Sender: freewermadminProject Admin


Actually, I think the problem can be resolved another way. Download the
localized_vars.inc file attached to this comment - the changes I made
within seemed to work for me, although the $_SERVER[PHP_SELF] issue should
still be done.
File Added: localized_vars.inc


Log in to comment.

Attached File ( 1 )

Filename Description Download
localized_vars.inc Updated localized_vars.inc file for newer versions of PHP Download

Changes ( 6 )

Field Old Value Date By
status_id Pending 2007-06-30 18:15 freewermadmin
close_date 2007-06-30 18:14 2007-06-30 18:15 freewermadmin
File Added 235165: localized_vars.inc 2007-06-30 18:14 freewermadmin
status_id Open 2007-06-30 18:14 freewermadmin
resolution_id None 2007-06-30 18:14 freewermadmin
close_date - 2007-06-30 18:14 freewermadmin