khurramalvi Posted May 11, 2011 Share Posted May 11, 2011 Hi, I am getting a JavaScript error on IE8 when browing WHMCS ajax order form, below is the summary: Webpage error details User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; User-agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; http://bsalsa.com) ; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 1.1.4322; FDM; .NET CLR 3.0.30618; .NET CLR 3.5.30729) Timestamp: Mon, 9 May 2011 21:53:17 UTC Message: Expected '{' Line: 18 Char: 14 Code: 0 URI: https://www.mywebhosted.com/support/order/?pid=1&skip=1 Message: 'tagName' is null or not an object Line: 73 Char: 4 Code: 0 URI: https://www.mywebhosted.com/support/order/?pid=1&skip=1 Message: 'tagName' is null or not an object Line: 73 Char: 4 Code: 0 URI: https://www.mywebhosted.com/support/order/?pid=1&skip=1 All .js code works fine on the homepage http://www.mywebhosted.com/ Please can anyone advice on how to solve this problem. Many Thanks 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted May 11, 2011 Share Posted May 11, 2011 Your problem is in your whmcs header.tpl file with this code (the bold part is the problem) <script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-3136809-9']); _gaq.push(['_trackPageview']); (function())(); </script> 0 Quote Link to comment Share on other sites More sharing options...
khurramalvi Posted May 11, 2011 Author Share Posted May 11, 2011 Thanks for the reply. I put the same code in homepage and it works fine http://www.mywebhosted.com/ 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.