Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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

share|improve this question
    
Do you have any plugins installed? –  Brian Fegter Oct 5 '11 at 1:58
    
No plugins, fresh install of WAMP and Wordpress 3.2.1 –  Craig Oct 5 '11 at 8:35
add comment

1 Answer

up vote 1 down vote accepted

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

share|improve this answer
    
Also needed is the php_zip extension –  Craig Nov 17 '11 at 1:04
    
I wish I would have read this six months ago. My local has been plagued with this. Thanks Craig! –  Brian Fegter Jan 31 '13 at 14:13
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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