close ad
WARNING PC USERS: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

IE and Safari Error Message When Page Loads

Thread began 12/16/2009 11:19 am by rmaslikhov301200 | Last modified 12/17/2009 2:06 pm by Jason Byrnes | 2962 views | 9 replies |

rmaslikhov301200

IE and Safari Error Message When Page Loads

I just updated the contact page on a website I built with a contact form generated by FB. When I load the page in IE and Safari it does not appear. I get the following error message:

"Problems with this webpage might prevent it from being displayed properly or functioning properly.

Line: 465
Char: 1
Error: 'Spry' is undefined
Code: 0

It's obviously an undefined Spry code, I don't have enough knowledge to trouble shoot this code that is automatically generated by FB or universal email.

I can see the page in Firefox.

Thanks in advance for your assistance.

Sign in to reply to this post

Jason ByrnesWebAssist

make sure you have uploaded the spry assets folder to the server.

If you are still having problems, please post a link.

Sign in to reply to this post

rmaslikhov301200

IE and Safari Error Message When Page Loads

Hi Jason,

Yes, the Spry Asset folder was uploaded to my server, and I am able to see the page in Firefox, not IE or Safari. I haven't even tested the page in Chrome or Opera yet, since there was an issue with IE.

The page link is contact.php

Thanks!

Sign in to reply to this post

Jason ByrnesWebAssist

There are a couple of the spry assets that have not been uploaded:
SpryValidationTextarea.js SpryValidationCheckbox.css


both give 404 errors. where:
SpryValidationTextField.js

loads just fine.



also, when I first load the page, i get a javascript error complaining about the following code:
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-4626278-1");
pageTracker._trackPageview();
</script>

this could be preventing the Spry code from loading properly.

Sign in to reply to this post

rmaslikhov301200

IE and Safari Error Message When Page Loads

Hi Jason,

Thanks for the quick response. That's odd with my tracking code; I'm not getting an error message regarding that. I will upload these additional files tonight. Hopefully that will do it.

Have you had any issues with other customers about code generated by Web Assists products that is not compatible with Google's tracking code?

Thanks!

Sign in to reply to this post

Jason ByrnesWebAssist

No, but the nature of javascript is that when one error occurs, it tends to break any scripts that follow.

Sign in to reply to this post

rmaslikhov301200

Hi Jason,

Any ideas why I would be able to see the page in Firefox and not in IE and Safari, with actual code missing?

Sign in to reply to this post

Jason ByrnesWebAssist

Could be CSS that is not working properly in IE.


Could be the Javascript Errors, fire fox is generaly better about dealing with JS errors than IE is.

Sign in to reply to this post

rmaslikhov301200

Hi Jason,

Uploaded the missing Spry files, still not able to see the contact page in Safari and IE. I'm no longer seeing the error symbol in IE, just seeing a black page. I also can't view this page in Chrome.

I did a Browser Compatibility check in Dreamweaver on all the CSS for the page and the .php page itself. I fixed a lot of problems, all generated by the FB code. The only thing I was unable to fix was an "expanding box problem" for the Spry code. Would that make my page not appear at all in these browsers.

Okay, I went through all of my code and deleted some duplicate scripts, that's why you were seeing the Google script error message; I had them in their twice. Now, I'm getting the following IE message

Line: 13
Char: 1
Error: Syntax error
Code: 0
URL: contact.php

This error message in regarding code generated by FB. The line of code is: $WAFV_Errors .= WAValidateRQ((isset($_POST["How_May_We_Help_You_group_Full_Name"])?$_POST["How_May_We_Help_You_group_Full_Name"]:"") . "",true,1);

Sign in to reply to this post

Jason ByrnesWebAssist

you have a badly formed script tag on the page that is causeing the problem. When I view the source of the page, I see the following:

html:
<link rel="shortcut icon" href="favicon.ico" />
<script type="text/javascript">
<!--
</script>





the unclosed comment between the empty script tag is the culpret, it should be:
[html}
<link rel="shortcut icon" href="favicon.ico" />
<script type="text/javascript">
<!--
-->
</script>
[/html]

or delete the empty script tag all together.

Sign in to reply to this post
loading

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...