Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Deprecated: Function session_is_registered()


williandimas

Recommended Posts

Posted

Anyone know how to fix this defect?

 

Warning: session_start() [function.session-start]: open(/tmp\sess_ig9me42hou0ffmd5spjnbrpvq0, O_RDWR) failed: No such file or directory (2) in C:\wamp\www\includes\functions\sessions.php on line 97

 

Deprecated: Function session_is_registered() is deprecated in C:\wamp\www\includes\functions\sessions.php on line 111

 

Deprecated: Function session_register() is deprecated in C:\wamp\www\includes\functions\sessions.php on line 104

Posted

William,

 

In a standard installation of v2.2 there is no deprecated code in the /includes/functions/sessions.php file so the code must have been added with a contribution.

 

You will have to post the affected code so we can see it.

 

 

 

Chris

Posted

http://php.net/manua...-registered.php

 

session_is_registered(), session_register() and session_unregister() are in sessions.php and are all depreciated in PHP 5.3

 

However the function takes that into account already.

 

if (PHP_VERSION < 4.3) {

 

So if your wamp server is posting that error then the PHP_VERSION constant might be where the fault lies?

Try echo'ing the PHP_VERSION and see what is displayed

echo PHP_VERSION . "<br />";

- Stop Oscommerce hacks dead in their tracks with osC_Sec (see discussion here)
- Another discussion about infected files ::here::
- A discussion on file permissions ::here::
- Site hacked? Should you upgrade or not, some thoughts ::here::
- Fix the admin login bypass exploit here
- Pareto Security: New security addon I am developing, a remake of osC_Sec in PHP 5 with a number of fixes
- BTC:1LHiMXedmtyq4wcYLedk9i9gkk8A8Hk7qX

Posted

Anyone know how to fix this defect?

 

Warning: session_start() [function.session-start]: open(/tmp\sess_ig9me42hou0ffmd5spjnbrpvq0, O_RDWR) failed: No such file or directory (2) in C:\wamp\www\includes\functions\sessions.php on line 97

 

Deprecated: Function session_is_registered() is deprecated in C:\wamp\www\includes\functions\sessions.php on line 111

 

Deprecated: Function session_register() is deprecated in C:\wamp\www\includes\functions\sessions.php on line 104

do a search, as it's impossible to guess, what sort of additional modules do you use on your website.....

 

P.S. Do people know how to do the search lately, as several post pointed to search of module or this forum??

Please read this line: Do you want to find all the answers to your questions? click here. As for contribution database it's located here!

8 people out of 10 don't bother to read installation manuals. I can recommend: if you can't read the installation manual, don't bother to install any contribution yourself.

Before installing contribution or editing/updating/deleting any files, do the full backup, it will save to you & everyone here on the forum time to fix your issues.

Any issues with oscommerce, I am here to help you.

Archived

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

×
×
  • Create New...