Local install having trouble with Javascript
-
Hi, I’m having trouble with Javascript code on my WordPress install on my local WAMP server. Since the same problems don’t happen when I deploy code to my hosted server, I’m guessing the problem is with some configuration of my WAMP server.
I’m having this problem with both the wp-post-thumbnail v0.2 and wp-postratings plugins. For example, when I navigate to the posts I see this:
https://img.photobucket.com/albums/v232/DesertChicken/example1.jpg
Notice how the “Loading” text and gif are loaded below the heart icon and rating text.
When I hover over the two icons, I get these Java Console errors:
https://img.photobucket.com/albums/v232/DesertChicken/example2.jpg
Those are Javascript functions that exist in a .js file in the plugin code. Do I somehow have Javascript disabled for my WAMP install? Is it something to do with the way the .js file is referenced by the plugin’s .php file?
- The topic ‘Local install having trouble with Javascript’ is closed to new replies.