PDA

View Full Version : Migration Problems PHP4 to PHP5


iogames
12-27-2007, 07:33 PM
I've migrated my server from PHP4 to PHP5 and I kept seeing this warning on one of the scripts:

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

What can I do?

Marco van Herwaarden
12-28-2007, 07:46 AM
Looks like that script is displaying warnings instead of errors only. What script is this?