25 posts
  • 4 Years of Membership
  • Author Level 3
  • Collector Level 3
  • Exclusive Author
+1 more
Zanshin
says

Hey everyone! Have any of you had a problem only when running an index.html page from your harddrive? It’s never happened to me before but on a new theme I recently purchased when ever I open the index page from my desktop half of the site doesn’t work (seems mostly the javascript) but if i upload it all to my web host it seems to all work.

I’m stumped! lol. Any advice would be really appreciated!

2468 posts
  • 6 Years of Membership
  • Author Level 2
  • Affiliate Level 4
  • Beta Tester
+3 more
digitalimpact
says

Check the paths for external resources, use Firebug or your browser’s inspection tool.

25 posts
  • 4 Years of Membership
  • Author Level 3
  • Collector Level 3
  • Exclusive Author
+1 more
Zanshin
says

Thanks for the response!

I double checked all of the js files are local. I never had this happen before where a site would only work properly when posted.

25 posts
  • 4 Years of Membership
  • Author Level 3
  • Collector Level 3
  • Exclusive Author
+1 more
Zanshin
says

Hm, firebug gives me a bunch of these console errors “ReferenceError: jQuery is not defined” but not when the site is online.

689 posts
  • Affiliate Level 3
  • Author Level 6
  • Beta Tester
  • Collector Level 4
+5 more
UBLThemes
says

Hm, firebug gives me a bunch of these console errors “ReferenceError: jQuery is not defined” but not when the site is online.

If its an ajax driven theme, to the best of my knowledge and i might be wrong but you will need to either install wamp, mamp etc or use a working online server.

2468 posts
  • 6 Years of Membership
  • Author Level 2
  • Affiliate Level 4
  • Beta Tester
+3 more
digitalimpact
says


Hm, firebug gives me a bunch of these console errors “ReferenceError: jQuery is not defined” but not when the site is online.
If its an ajax driven theme, to the best of my knowledge and i might be wrong but you will need to either install wamp, mamp etc or use a working online server.

As long as there are not PHP files involved, you don’t need a server such as WAMP /MAMP.

‘jQuery is not defined’ sounds like either jQuery is not loaded, or it’s not being called right (i.e. tried to use both $ and jQuery). But if you say it works on your server, it’s definitely a wrong path to jQuery, which doesn’t work locally. (my guess is that it’s using a relative path starting with // ).

by
by
by
by
by
by