veera Posted August 22, 2006 Posted August 22, 2006 Dear friends, I got following error on bottom of the index page Warning: session_write_close() [function.session-write-close]: 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 includes/functions/sessions.php on line 106 Let me know how it can be sloved. Thanks, Regards, Veera
aegrnberg Posted February 20, 2007 Posted February 20, 2007 Dear friends, I got following error on bottom of the index page Warning: session_write_close() [function.session-write-close]: 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 includes/functions/sessions.php on line 106 Let me know how it can be sloved. Thanks, Regards, Veera I'm not really sure, just taking a quick guess... maybe you need to enable your globals...? I also read somewhere that it is better to set it off and it will work regardless of whether it needs to be on or not... something about hackers being able to inject files... either way, here are links to both. I don't have either one of them installed so this is as far as I can help you... good luck. To set to off: http://www.oscommerce.com/community/contributions,2097/ To set to on: http://www.oscommerce.com/community/contributions,2957
Recommended Posts
Archived
This topic is now archived and is closed to further replies.