PDA

View Full Version : Internet explorer script error in Actinic


DJ Dicky
10-Aug-2007, 12:52 PM
Hi All

I have got a problem with V7

I have not changed my templates or products in a while but when I opened up Actinic this morning it came up with an error box.

The box title is Internet Explorer Script Error

And the text is "An error has occurred in the script on this page.

Line 84
Char 33
Error Syntax Error
Code 0
URL file:///C:/Program%20Files/Actinic%20v7/Sites/Site1/PreviewHTML/P_shop.html

Do you want to continue running scripts on this page?

If I click yes I get a couple more error boxes with different line numbers and then Actinic opens ok.

The middle part of my site is wider that it was but other than that it looks ok.

If I do an offline preview the the page opened in Internet explorer with the error symbol in the bottom left corner and the "Error on page" message. If I click on that I get the same errors listed although on slightly different line numbers. The page is also wider than it should be.

As I said, I have not made any changes to my templates or products and I have not done anything that could have caused this.

I need to update some products but I don't want to upload to the website until I can fix this.

Thanks
Richard

jont
10-Aug-2007, 01:04 PM
It could well be an IE issue. Which version are you running as IE7 had some issues with Actinic (which version of Actinic v7 are you running also)?

May be worth downloading and opening the preview page in Firefox to see if you get the same error - Firefox is far superior at showing you what the page actually looks like rather than IE thinking it knows what it looks like. If it is OK if FF it is possible an IE issue and will at least rule out where to start looking.

DJ Dicky
10-Aug-2007, 01:17 PM
Ok I will get firefox but as far as I can tell there have been no windows updates to IE that could explain the problem.

Just thinking about it, it can't be an IE problem as my web shop is perfectly ok when I look at the online version. Something has changed in the offline version. The files have got changed somehow I am sure.

I am using Actinic v7.0.7

Thanks
Richard

Earlybaby
13-Apr-2008, 06:51 PM
Did anyone every find out what caused this.. We now have this problem also!

NormanRouxel
13-Apr-2008, 08:01 PM
William

Do the same as suggested above and view the page in Firefox and look at it's Tools / Error Console.

Earlybaby
14-Apr-2008, 06:05 PM
Hi Norman, I have done as you suggested and get the following information.


syntax error
javascript:http://www.earlybaby.co.uk/acatalog/

uncaught exception:[Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIWebNavigation.loadURI]" nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)" location:"JS frame :: chrome://global/content/viewSource.js :: viewSource :: line 141" data:no]

but I have no idea what this means:confused:

TraceyG
15-Apr-2008, 09:55 AM
Hi,

I can't recreate the error in Firefox but can in IE. If I remove the following from your page it then works:

<script language="JavaScript" src="https://www.worldpay.com/cgenerator/cgenerator.php?instId=98377"></script>

I would therefore assume that the error is something to do with this.

Earlybaby
19-Apr-2008, 01:19 PM
Hi,

I can't recreate the error in Firefox but can in IE. If I remove the following from your page it then works:

<script language="JavaScript" src="https://www.worldpay.com/cgenerator/cgenerator.php?instId=98377"></script>

I would therefore assume that the error is something to do with this.

Thanks Tracey, It turned out to be the Worldpay Scritpt to apply logos etc..
The script generated by Worldpay had changed (subsequent to the last changes!) and was causing the error.. Making the change to the new worldpay script from their website has cleared the problem.

Cheers
Will