0

I have a local install of Wordpress running & I am suddenly getting these errors in my console when I open a modal window (such as file upload):

Uncaught SyntaxError: Unexpected token ILLEGAL
media-upload.php:75Uncaught ReferenceError: jQuery is not defined
media-upload.php:89Uncaught ReferenceError: SWFUpload is not defined
media-upload.php:156Uncaught ReferenceError: jQuery is not defined
load-scripts.php:1Uncaught SyntaxError: Unexpected token ILLEGAL

Non-wordpress site's work fine and I've never had any issues like this before, it seems to be limited to Wordpress.

What I don't understand is that the modal window is being called and loading AJAX content, additionally all the transitions work in the rest of the Wordpress admin area.

Does anyone have any suggestions?

Thanks

2
  • Do you have any plugins installed? Oct 5, 2011 at 1:58
  • No plugins, fresh install of WAMP and Wordpress 3.2.1
    – Craig
    Oct 5, 2011 at 8:35

1 Answer 1

1

Ok this appears to have been solved by turning on short open tag and zlib output compression in the php settings of WAMP

2
  • Also needed is the php_zip extension
    – Craig
    Nov 17, 2011 at 1:04
  • I wish I would have read this six months ago. My local has been plagued with this. Thanks Craig! Jan 31, 2013 at 14:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.