osCommerceCoders.com

Affordable end to end oscommerce solutions with
Search Engine Optimization

Email : osCommerceCoders@gmail.com
Call : +1 818-574-3596 (USA) / +44 (020) 8123-6463 (UK)

Dont hesitate to contact us for oscommerce support. Please use the contact us form to get in touch with us. We can sort out the issues within 24 hours. Get your site updated with the patches for php 5.5 ready

 

 

i was able to see the website the first time i loaded it but when i clicked on something it all went downhill from there. seems to me like it has forgot which language i am using, something wrong with session variables ?

This problem is in the session handling, nothing to do with $language not being set.

It is fixed in version 2.3.3 of oscommerce

application_top.php find:

// set the language
if (!tep_session_is_registered(‘language’) || isset($HTTP_GET_VARS[‘language’])) {

replace with:
// set the language
if (!tep_session_is_registered(‘language’) || isset($HTTP_GET_VARS[‘language’]) || empty($language)) {

If you get other errors after that , it means the store needs a major upgrade of the store. you can use the contact us form to get it touch with us.

We have upgraded more than 100 plus stores for php 5.4 and other upgrade issues.

Dont hesitate to contact us for oscommerce support. Please use the contact us form to get in touch with us. We can sort out the issues within 24 hours. Get your site updated with the patches for php 5.5 ready

  • http://grupavnm.pl Edwin

    Works with OSCgold too.
    Line 296 in aplication_top.php

  • http://blog.tedd.no Tedd Hansen

    Thanks. Got this problem after removing english as default language and adding norwegian and swedish. Admin login page was just blank, the rest seems to work. I had already debugged my way to the portion of the code your’e referring to, but your patch didn’t work. However I just added $language=”english”; after the if-block (after $languages_id = $lng->language[‘id’]; }) … in short just bypassing the whole language detection thing. Seems to work.

  • Brezoianu Albert

    THX BRO… you saved my life

Sponsors