fryser_d Posted September 11, 2009 Share Posted September 11, 2009 Hi there! My OSCommerce version: 'osCommerce 2.2-MS2' Server PHP Version: 5.3 Domain in question: http://telecom.gtbinc.ca What I use to get in my computer: All languages was working, and I could see Item details. >> I uploaded everything in the server >> What I have now: 5X Deprecated: Function session_is_registered() is deprecated in /home/g/gtbinc/html/telecom/catalog/includes/functions/sessions.php on line 111 now my "sessions.php on line 111" function tep_session_register($variable) { if (PHP_VERSION < 1.3) { return session_register($variable); } else { if (isset($GLOBALS[$variable])) { $_SESSION[$variable] =& $GLOBALS[$variable]; } else { $_SESSION[$variable] = null; } } return false; } function tep_session_is_registered($variable) { if (PHP_VERSION < 4.3) { return session_is_registered($variable); } else { /* THAT'S LINE 111*/ return array_key_exists($variable, $_SESSION); } } function tep_session_unregister($variable) { if (PHP_VERSION < 4.3) { return session_unregister($variable); } else { unset($_SESSION[$variable]); } } I search on the net and I found: In includes/application_top.php and admin/includes/application_top.php > REPLACE: error_reporting(E_ALL & ~E_NOTICE) WITH: error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED); Now That takes the warning out... but all the links to other languages and all are still broken <_< Someone have an idea? Link to comment Share on other sites More sharing options...
spax Posted September 11, 2009 Share Posted September 11, 2009 Try this: http://www.oscommerce.com/forums/index.php?s=&...t&p=1430745 Link to comment Share on other sites More sharing options...
colegato Posted November 8, 2009 Share Posted November 8, 2009 Try this: http://www.oscommerce.com/forums/index.php?s=&...t&p=1430745 Hello experts, I have exactly same problem. I installed my MS2.2 template in a php5.3.0 server. I did what is mentioned above to change this functions tep_session_registerand tep_session_is_registered tep_session_unregister and the links are broken. Is there any way to fix this? Thanks in advance! Cole Link to comment Share on other sites More sharing options...
Dynam0 Posted November 8, 2009 Share Posted November 8, 2009 This problem is only in PHP5. Use php 4.4.0 (or 4.4.x) is the most compatible (for me). Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.