>---------
Uargh! I've justed discovered that setting register_globals=on with php
4.1.0 will let you enter the main admin panel _BUT_ nothing more!
I mean: trying to click any of the items on the main admin panel (new
announcement, web links, left blocks, ...) I always get trasferred to
the admin login panel. The first and only thing I can think is that
register_globals does not globalize variables anymore, despite of
backward compatibility.... but I might be wrong.
Any idea?
Bye,
Alessandro
>---------
Yes, exactly... I thought I was going madd all by myself.
That's why i mentioned session vars are acting up...
the idea that seems that registering session vars doesn't necessarily
mean: session_register("sess_var_name") === $sess_var_name (in the global
scope) in php4.1 i guess.
auth.inc.php sets $admintest
when I change that to set $HTTP_SESSION_VARS["admintest"] in auth.inc.php
and modify the admin.php to check $HTTP_SESSION_VARS["admintest"] before
the switch... everything is okay... funny thing tho is all modules and
header/etc still use $admintest but work.
Note: weird thing is with the above modifications when you first log
on the Administrator links in the left block don't show... but on subsequent
page calls it does :-/ weirdo
This is all trial and error... so hope it helps.
-Warren
__________________________________________________
FREE voicemail, email, and fax...all in one place.
Sign Up Now! http://www.onebox.com
|