On 02/12/2010 11:36 AM, Jan Wildeboer wrote:
Ok. So with a fresh checkout I should be able to run statusnet on PHP 5.3
with working registration and login?
Would solve my problem of making it work on Fedora 12.
Should work now if you do a fresh pull of 0.9.x branch.
PHP 5.3 has a new config option 'request_order' which can change the
order that arguments are sourced when filling out $_REQUEST. The php.ini
in Fedora 12 has removed 'c' (cookies) entirely, so when we had a check
to see if the session ID was present in $_REQUEST, this no longer
detected the cookie. Without seeing the cookie, we didn't bother to go
look at the session data and initialize the user info from it.
Checking both $_COOKIE and $_GET explicitly before running session setup
gets this working whether cookies are included in $_REQUEST or not.
(Looks like the same problem was affecting PHP 5.3 installed via
MacPorts, so anyone who's been seeing session problems on Mac OS X, try
it too!)
-- brion vibber (brion @ status.net)
_______________________________________________
StatusNet-dev mailing list
StatusNet-dev@lists.status.net
http://lists.status.net/mailman/listinfo/statusnet-dev