Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Warning Meassage-session_write_close() [function.session-write-close]:- Help Please :)


silkyflowers

Recommended Posts

Good Morning All,

Hope this warning is a easy fix for me:

===============================================

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 .

================================================

 

Running: osCommerce Online Merchant v2.3.1

 

 

Please help. :unsure:

 

John

Link to comment
Share on other sites

Change

 

session.bug_compat_42 = 1

session.bug_compat_warn = 1

 

to

 

session.bug_compat_42 = 0

session.bug_compat_warn = 0

 

in the php.ini

Like post..hit LIKE button.

 

osCommerce | Joomla | WordPress | Magento | SEO | CakePHP | CI

 

Guaranteed Website Speed Optimization!!

Link to comment
Share on other sites

Hey John,

 

Yes, it will be in Cpanel, it depends on the Linux version you are using.

 

 

/etc/php.ini

 

Or

 

/etc/php/php.ini

/etc/php5/php.ini

 

Or

 

/usr/bin/php5/bin/php.ini

Like post..hit LIKE button.

 

osCommerce | Joomla | WordPress | Magento | SEO | CakePHP | CI

 

Guaranteed Website Speed Optimization!!

Link to comment
Share on other sites

Hey John, Yes, it will be in Cpanel, it depends on the Linux version you are using. /etc/php.ini Or /etc/php/php.ini /etc/php5/php.ini Or /usr/bin/php5/bin/php.ini

 

I had to create a file, and added:

 

session.bug_compat_42 = 0

session.bug_compat_warn = 0

 

in the php.ini

==============================

but that warning message still shows on the index page, if I refresh the page it goe's away, but if I close it out and go back to it, it shows up again.

 

http://ThatOrganicStore.com ,it's shows up on the right side of the screen.

 

John

Link to comment
Share on other sites

Hey John,

 

Thank you to share you site URL.

 

Your site is running in SEO url Mode.

 

Go through this contribution it will help you.

 

Praful

Like post..hit LIKE button.

 

osCommerce | Joomla | WordPress | Magento | SEO | CakePHP | CI

 

Guaranteed Website Speed Optimization!!

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...