shopping cart templates, oscommerce templates, cre loaded 
templates, zencart templates, magento templates

Ecommerce Products KnowledgeBase

shopping cart templates, oscommerce templates, cre loaded 
templates, zencart templates, magento templates

How to resolved buttons not working in IE?

Print | Bookmark
Bookmark and Share

How to resolved buttons not working in IE?

For servers that do not recognize the $HTTP_USER_AGENT variable, the browser type check will fail and cause the code to display wrong dynamic buttons.

Solution: Instead of using $HTTP_USER_AGENT in the browser check, use $_SERVER['HTTP_USER_AGENT']

You need to make a minor update to the tep_browser_detect function in the includes/functions/general.php file. Please locate this line in the file: return stristr($HTTP_USER_AGENT, $component); and replace it with : return stristr($_SERVER['HTTP_USER_AGENT'] , $component);

Was this article helpful?

Yes No
Bookmark and Share

Category: OSCOMMERCE , CRELOADED

2722 views