JScript Error

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.
2/21/2013 4:10:50 PM
Gravatar
Total Posts 9

JScript Error

Download the latest version today, using SQL server DB and .net 4.0 in window 7 system, in debug model:

If click the home link, got javascript error in Script.js file, highlight the line:

var sheetLeft = $(".art-sheet").offset().left;

Also popup window shows the error: 

Microsoft JScript runtime error: Unable to get value of the property 'left': object is null or undefined

 

2/22/2013 8:01:44 AM
Gravatar
Total Posts 18439

Re: JScript Error

Are talking about a build you made from source code or an official deployment package?

Using a skin that shipped in this version or not?

Have you read the Important Skin Changes?

2/22/2013 9:09:07 AM
Gravatar
Total Posts 9

Re: JScript Error

I downloaded the latest source code and compiled in windows system, nothing added. The skin is default one art41-wallpaper. Under debug model, sometimes click once, sometime click a couple of times of the home link, the JavaScript error happened. I switched to other skin like art41-businessblue2, same error happened. Not only home link, after launched the default page, if some link is first time click the error will happen at most of time. thanks a lot.

2/23/2013 3:53:07 PM
Gravatar
Total Posts 18439

Re: JScript Error

I cannot reproduce the problem. I would copy the skins from /Data/skins into /Data/Sites/1/skins to make sure you are using the most up to date version of the skins.

Best,

Joe

10/21/2013 11:26:23 AM
Gravatar
Total Posts 13

Re: JScript Error

I am getting the same error. I am using mojoportal-2-3-9-9-msssql-net40 and art41-businessblue3. This happens over and over again.

10/21/2013 12:49:34 PM
Gravatar
Total Posts 18439

Re: JScript Error

again. I am not able to reproduce the problem. We have that skin on our demo site, do you get any error on our demo site?

are there any other script errors on the page?

is the url public so someone could see the problem?

10/21/2013 4:51:38 PM
Gravatar
Total Posts 13

Re: JScript Error

Not, it is not public. I am running this from the ASP.Net Development Server.

10/21/2013 5:10:12 PM
Gravatar
Total Posts 13

Re: JScript Error

Here is some more information:

This is the only script error on the pages.

$(".art-sheet") has a value.

$(".art-sheet").offset() is undefined.

10/22/2013 12:05:01 PM
Gravatar
Total Posts 18439

Re: JScript Error

Use web browser dev tools, check the network tab, is any script failing to load?

For example by default we load jquery from the internet but if you work disconnected then you need to host the files locally.

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