We recently upgraded our server from RHEL3 to RHEL5 which includes php 5.1.6. This version of php no longer offers the older long variables, and the "register_long_arrays" setting no longer does anything.
http://www.php.net/manual/en/ini.core.php#ini.register-long-arrays
We could not log into AA until I changed some of the $HTTP_GET_VARS references to $_GET .
I believe it is now time to do a global search-and-replace on:
s/$HTTP_GET_VARS/$_GET/
s/$HTTP_POST_VARS/$_POST/
s/$HTTP_COOKIE_VARS/$_COOKIE/
I patched a few of the scripts, but not everything. I'm awaiting advise from actual AA developers before proceeding given I have very little AA knowledge.
Sample patch of include/phplib/session.inc
Logged In: YES
user_id=40086
Originator: NO
1) If you set "register_long_arrays ON" in your php.ini file, then the HTTP_*_VARS arrays are filled (even if they are not listed in phpinfo())
2) I fixed the AA right now, so we no longer use HTTP_*_VARS. AA should work with "register_long_arrays OFF" now. See SVN.
Honza