Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

MySQL error at bottom of every page


Recommended Posts

Here's the error I'm getting at the bottom of every page in my catalog:


Warning: 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 /home/cust2/user1234858/html/catalog/includes/functions/sessions.php on line 226



I forget which contrib I used to get around a problem I had with register globals and I'm assuming this may be the reason this error is appearing. However, it isn't affecting the catalog's function in any way I can tell. I just want to get rid of it. The error itself says to set "session.bug_compat" to different settings, but I don't see this in sessions.php. Nor is there a line 226. My session.php ends on 173. Can anyone point me in the right direction? Thanks very much!

Link to comment
Share on other sites

  • 2 months later...


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

  • Create New...