satish Posted February 11, 2008 Posted February 11, 2008 Well here am explaining briefly why session related issues on times creates problem. Initially when oscommerce was developed Session varaibles were traated as Global variables. So instead of $_SESSION['language'] just $language was working.With PHP 5 and register globals off Session variables are no longet globals so $language will not get us the value that has been store for $language in session. also tep_session_register() might fail. The way out is change all calls of tep_session_register with $-SESSION['variable'] = $variable. If this is too muhc work then get the session.php file from functions folder of RC2 an use it.That will allow atleast sessions to be stored. NOw search for session_is_refistered and for this place an else case and there equate the varaible to session variable. These stpes will take care of most of the session relates prob that had come in with PHP 5 and register globals as OFF. Satish Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site. Check My About US For who am I and what My company does.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.