Help - Search - Members - Calendar
Full Version: PHP error
The Planet Forums > Control Panels > Plesk
CXNet
Anyone know how to get rid of this error:

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
Mr. Popularity
turn register_globals "On", but beware..
jamesp
I would just do it with a .htaccess file just for the site in question and not server wide.

php_flag register_globals on

That's all you need.
Mr. Popularity
really? you mean Plesk goes through all the trouble to rewrite the .conf files and you can override it with .htaccess? damn!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.