Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Warning: session_write_close(): - Please help !!


mrkiwi

Recommended Posts

Posted

Hi,

 

I need help with something, my website front page says the below at the bottom of it can anyone let me know how this can be fixs.

 

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/httpd/vhosts/wholesaleshop.co.nz/httpdocs/shop/includes/functions/sessions.php on line 136

 

 

And I can't backup my site at all, when I try it says the below.

 

1064 - You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'Shop Online - Guestbook' at line 1

 

show fields from Wholesale Shop Online - Guestbook

 

[TEP STOP]

 

 

And one other thing my shopping cart don't work, when I add products to it it says Your Shopping Cart is empty!

 

Please can anyone help me I would like some help thanks for your time.

 

Regards,

Day

 

My Webpage

  • 2 weeks later...
Posted
Hi,

 

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.

 

I have the same error message as mrkiwi.

 

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/httpd/vhosts/gaddyracing.com/httpdocs/catalog/includes/functions/sessions.php on line 197

 

It's not on all the pages. I can get it to display when I have something in my shopping cart & I'm going through the payment pages. It seems to want me to change something in the includes/functions/sessions.php file.

 

When I do a Google on this error I come across a lot of live sites that have this same error at the bottom of their pages.

Archived

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

×
×
  • Create New...