Javascript error on HTML content pages

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
9/26/2009 2:22:25 PM
Gravatar
Total Posts 190

Javascript error on HTML content pages

Has anyone else seen this? A javascript error pops up on pages with HTML content saying "object does not support this object or method" and debugger brings up the following line. It just seemed to start doing this out of nowhere. I updated code from svn this morning.

 $(document).ready(function() { $('a.cluetiplink').cluetip({attribute:'href', topOffset:25, leftOffset:25}); });

Thanks

9/26/2009 5:11:44 PM
Gravatar
Total Posts 18439

Re: Javascript error on HTML content pages

Hi John,

If you do svn update again, rebuild, visit setup, i t should be fixed now.

Best,

Joe

9/26/2009 5:27:37 PM
Gravatar
Total Posts 190

Re: Javascript error on HTML content pages

Cool. All better. Thanks Joe.

10/6/2009 5:41:09 AM
Gravatar
Total Posts 18

Re: Javascript error on HTML content pages

Is there any chance you could tell me what change fixed this? Its just we are getting this error, and have retested our whole solution against 2.3.1.5 and I don't want to upgrade and have to test everything again, as we just don't have time.

10/6/2009 5:53:37 AM
Gravatar
Total Posts 18439

Re: Javascript error on HTML content pages

Hi Kevin,

I think if you compare your version of /Controls/ScriptLoader.cs SetupClueTip method to the latest svn you can find the difference. My recollection is that I had to remove the document.Ready part from that script since it was registered as a startupscript anyway.

But really so much good stuff since that version. If you upgrade you get a lot of good new things. See the release notes for 2.3.1.62.3.1.7 and 2.3.1.9.

Best,

Joe

11/3/2009 11:38:58 PM
Gravatar
Total Posts 11

Re: Javascript error on HTML content pages

Hi Joe,

I got the same error and my version is 2.3.2.7. Any idea?

Thanks,

An

11/4/2009 6:06:01 AM
Gravatar
Total Posts 18439

Re: Javascript error on HTML content pages

Hi An,

Check the layout.master file of your skin and make sure it has this at the bottom of the <head></head> section:

<portal:ScriptLoader id="ScriptLoader1" runat="server" />

Hope it helps,

Joe

11/5/2009 9:29:38 AM
Gravatar
Total Posts 11

Re: Javascript error on HTML content pages

Thank Joe, but the skin do have <portal:ScriptLoader runat="server" /> line. Any idea?

Thanks,

An

11/5/2009 12:38:11 PM
Gravatar
Total Posts 18439

Re: Javascript error on HTML content pages

Hi An,

Are you sure its the exact same error and the same line of code?

Is it a public site where I can see it?

Best,

Joe

11/5/2009 3:33:53 PM
Gravatar
Total Posts 11

Re: Javascript error on HTML content pages

Hi Joe,

Here is the public website: http://tvd.ngoan.com/

Thanks,

An

11/5/2009 3:41:32 PM
Gravatar
Total Posts 18439

Re: Javascript error on HTML content pages

Hi An,

The file http://tvd.ngoan.com/ClientScript/jqmojo/jquery.cluetip.js seems to be missing it returns a 404. I recommend redeploy the /ClientScript folder.

Hope it helps,

Joe

You must sign in to post in the forums. This thread is closed to new posts.