murtaugh / HTML5-Reset-WordPress-Theme

A style-free WordPress theme to get you started with proper HTML5 semantics and structures.
1.1k stars 286 forks source link

jquery and prefixfree load failed #110

Closed jessiehan closed 10 years ago

jessiehan commented 10 years ago

prefixfree.min.js script url missed a "/" and jquery should use full path

jessiehan commented 10 years ago

Maybe it's caused by wordpress version (my version is 3.3). And the error is "GET http://localhost/wordpress//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js?ver=3.3.1 404 (Not Found) "

murtaugh commented 10 years ago

Yeah, I’m guessing it’s the local environment. The protocol-less URIs sometimes don’t work locally, depends on the environment.

On Jun 23, 2014, at 10:39 PM, jessiehan notifications@github.com wrote:

Maybe it's caused by wordpress version (my version is 3.3). And the error is "GET http://localhost/wordpress//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js?ver=3.3.1 404 (Not Found) "

— Reply to this email directly or view it on GitHub.

ckhicks commented 10 years ago

Yep, your URL isn't being formatted correctly, as http://localhost/wordpress//ajax.googleapis.com is not a valid path.

You might look into however you have your vhosts set up, or just add the http:// prefix for local dev.