Jump to content

Website error on IE


Sensi420
 Share

Recommended Posts

Hello allNot sure where to post this,so i will give it a shoot here.I have a website and i have errors on internet explorer,firefox has no errors and is working just fine.The problem is customers cant order from IE,its like the order button is broken.Im using ajax cart so i think the problem is in the module im using.Reinstalled it but still no luck,i unistalled the module the cart error whent away,but after install they came back.Here is the error report,i have changed my website to mywebsite.com since i dont know if its allowed to post site links here.Is there any easy way to find and correct the errors,maybe with a debug tool?Hope any1 can help me..........Webpage error detailsUser Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C)Timestamp: Mon, 23 Aug 2010 08:45:28 UTCMessage: Unterminated string constantLine: 18Char: 35Code: 0URI: http://mywebsite.com/Message: 'baseDir' is undefinedLine: 94Char: 3Code: 0URI: http://mywebsite.com/modules/blockcart/ajax-cart.js

Edited by Sensi420
Link to comment
Share on other sites

It's better to post your link, those errors don't really help us. Also, IE error line numbers are frequently incorrect.

Link to comment
Share on other sites

I have a website and i have errors on internet explorer,firefox has no errors and is working just fine.
Firefox has the errors too, it's either ignoring them or just not displaying them. Look in the Error Console to see them.
Message: Unterminated string constantLine: 18Char: 35Code: 0URI: http://mywebsite.com/Message: 'baseDir' is undefinedLine: 94Char: 3Code: 0URI: http://mywebsite.com/modules/blockcart/ajax-cart.js
These javascript errors can be caused by too many things to guess at without seeing the code. The UTS error may be a missing quote. The "undefined" error may be due to using a var without declaring it first, or caused by a library that's not loaded (but that's still being referenced in some way).
Link to comment
Share on other sites

have you tried debugging using the console or some debugging tools? In FF, I get errors for these lines:(on the home page of want-shop.com)1) UST: line 18: var priceDisplayPrecision = '2; *if you're trying to assign the variable a string value, you need closing quotation marks, or no quotes if its supposed to be an integer2) same thing on line 553: var CUSTOMIZE_TEXTFIELD = 1'; (in ajax-cart.js)3) line 96 : url: baseDir + 'cart.php', *baseDir is not defined

Edited by thescientist
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...