wesleytodd / YeoPress

A Yeoman generator for WordPress
Other
1.08k stars 163 forks source link

Internal Server Error when using example theme #163

Closed cupofjoakim closed 9 years ago

cupofjoakim commented 9 years ago

I just set up a new yeopress site for development, but when I activate the default theme everything goes blank and when I try loading any page (both index, posts and wp-admin) all i get is a "Failed to load resource: the server responded with a status of 500 (Internal Server Error)" in the console. No plugins installed and no modification to anything has been done.

Current WP version is 4.2.2 – is the example theme incompatible with this version? The default wp-themes work perfectly.

cupofjoakim commented 9 years ago

Found the issue: line 14 in functions.php.

wp_register_script('livereload', '<%= conf.get('ur') %>:35729/livereload.js?snipver=1', null, false, true);

should be

wp_register_script('livereload', '<%= conf.get("url") %>:35729/livereload.js?snipver=1', null, false, true);

The single quotes in <%= conf.get('url') %> fucked the string right up.