Jump to content


This topic is now archived and is closed to further replies.


session warning massage

Recommended Posts

I have been using all the way a software called XAMPPLite to develop a website. I have almost finished it so I have sent all the SQL script and the files to an IT Manager of some business so they upload it into their server.

The IT Manager he replied and he said that he uploaded everything but there are SQL errors. one of the errors is

Warning: Unknown(): Your script possibly relies on a session side-effect which existed until PHP 4.2.3. Please be advised that the session extension does not consider global variables as a source of data, unless register_globals is enabled. You can disable this functionality and this warning by setting session.bug_compat_42 or session.bug_compat_warn to off, respectively. in Unknown on line 0

this is eror displays when I try to login. does anyone have idea about this error massage.

Share this post

Link to post
Share on other sites
This means exactly what's written. You should either enable register_globals or edit or script for register_globals off (for example, by using $_SESSION['variable1'] instead of $variable1

Share this post

Link to post
Share on other sites


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.