Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; AskTB5.6)
Timestamp: Wed, 12 May 2010 18:48:22 UTC

Message: Syntax error
Line: 371
Char: 71
Code: 0
URI: http://69.167.146.80/resources

All pages in IE 8 that have the AddtoAny module displayed show a browser error in the status bar. Firefox appears to not have the error. Here is the line of code in question:

a2a_linkname="Resources";a2a_linkurl="http://69.167.146.80/resources";

Comments

jmseigneur’s picture

Yes I confirm that this version of Add To Any is buggy in IE 8

Tilt_11’s picture

Subscribe...Seems to be working fine in any other browser.

Tilt_11’s picture

Priority: Critical » Normal

Try to enable "Optimize CSS files" in /admin/settings/performance.

It solved the problem for me.

Anonymous’s picture

Priority: Normal » Critical

And buggy in IE7 and IE6...

<script type="text/javascript">a2a_linkname="Test";a2a_linkurl="http://test.ap/node/49";<br />
</script>

The "< br >" at the end is the error.

And come from

$_addtoany_script .= variable_get('addtoany_additional_js', '');

/admin/settings/addtoany -> Additional options

szadok’s picture

Priority: Normal » Critical

subscribing

micropat’s picture

Version: 6.x-2.4 » 6.x-3.1
Status: Active » Postponed (maintainer needs more info)

Can't reproduce so far. Including newlines or whitespace, what is in your /admin/settings/addtoany -> Additional Options box?

What are your server environments?

One possible fix may be to remove extra whitespace, particularly newlines.

micropat’s picture

micropat’s picture

Priority: Critical » Normal
Status: Postponed (maintainer needs more info) » Closed (fixed)

@cgdesign The <br> problem is related to WYSIWYG editors, see #884404: dropdown doesn't appear after editing properties (due to ckeditor).

Tilt_11 is correct on another common resolution. If you have a lot of stylesheets, IE fails, and it's not an AddToAny issue:

Try to enable "Optimize CSS files" in /admin/settings/performance.

It solved the problem for me.