css and javascript 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.
9/30/2009 8:18:36 PM
GP
Gravatar
Total Posts 23
GP

Re: css and javascript error

Hello again.

By trial and error i was able to figure out what needed to be done in order to download serve localy jquery ui.

After the steps above i've downloaded the current 1.7.2 build http://jqueryui.com/ from here (instead of building a custom download as i was doing)

Then after opening the zip i went to the js folder and adjusted the file named jquery-1.7.2.custom.min.js to jquery-ui.min.js. This file was put on \ClientScript\jqueryui172.

The folder develpoment-bundle had child folders named themes, external and ui which were also put on \ClientScript\jqueryui172.

After the necessary adjustments on web.config all was done.

Now it is working.

Never the less i have to find if there's any IIS setting on Windows Server 2003 that could block a IIS website to access the google cdn.

Thanks.

10/2/2009 1:24:37 PM
Gravatar
Total Posts 18439

Re: css and javascript error

Hi,

Thanks I just updated the documentation with your additional notes about jQueryUI.

The thing to realize about loading scripts from the google CDN is that its not about IIS. IIS never loads the file from the CDN. When using the CDN we are just rendering script links into the page that use the Google CDN urls. Its the browser that loads the file based on that link not the server. So if the user has internet access it works fine because the file can be loaded from the internet, but if the user has only local network access then the file cannot be downloaded from google by the browser.

Its also possible that IE browser setting come into play. IE sees sites as coming from either the Internet Zone or the Local Zone. If it sees your intranet as part of the Local Zone then it may have configurations that prevent loading scripts from the internet zone in the context of a local zone page.

Best,

Joe

10/2/2009 2:42:13 PM
GP
Gravatar
Total Posts 23
GP

Re: css and javascript error

Ok.

I see about the CDN, i have to check my server config about networks.

But for now it's working and thats the most important. :)

Thanks once more.

Regards.

10/2/2009 7:29:43 PM
Gravatar
Total Posts 2

Re: css and javascript error

I had the same problem when I deleted everything to fix a problem I had with APP_BROWSER folder when I reinstaled it on IIS7 the site workedbut I had no css or themes I then downloaded the source form codeplex unzipped and copied everthing the the folder IIS is pointing to and upon a refresh I got all the themes and everything works fine know

10/2/2009 8:50:10 PM
GP
Gravatar
Total Posts 23
GP

Re: css and javascript error

Never tried to do that.

I've setup mojoportal many times on XP with service pack and IIS 5.x. All times everything worked well.

If i get this problem again i'll try your way.

Regards.

2/10/2010 4:26:10 AM
Gravatar
Total Posts 22

Re: css and javascript error

Same problem. The solution was this phrase

"The folder develpoment-bundle had child folders named themes, external and ui which were also put on \ClientScript\jqueryui172."

which was not included in the instructions here.

Thanks to all!

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