Try switching off Rewrite URL structure under the Minify tab. Sounds like a rewrite issue to me.
Thanks,
I switched off re-write URL and navigated to the file and got:
W3TC Minify Error
Enable debug mode to see error message.
The URL is here -> http://staging.squirrel.co.nz/wp-content/w3tc/min/index.php?file=49f99/default.include.be5422.js.
In WP it gives me an error of:
Recently an error occurred while creating the CSS / JS minify cache: File “/var/www/colin/wp-content/w3tc/min/var/www/colin/wp-content/themes/squirrel/assets/js/mylibs/Test.js” doesn’t exist.
In the JS section for minify the URL to the file is:
wp-content/themes/squirrel/assets/js/mylibs/Test.js – which verifies
Where do I fix where it should be looking for the file?
Thanks for your help.
I would suggest playing around with the minify settings, or do as it says and enable debug mode to see exactly what is wrong.
If I enable debug mode wont it just say “File doesnt exist” because the path is all buggered?
I’ll play with the minify settings, but could anything in an .htaccess file be doing the damage?
Thanks for you help.
When I look at the error log I get the error:
File “/var/www/colin/wp-content/w3tc/min/var/www/colin/wp-content/themes/squirrel/assets/js/mylibs/Test.js” doesn’t exist
In the minify section I have added the JS file with the URL:
“wp-content/themes/squirrel/assets/js/mylibs/Test.js”
It verifies the URL fine, but when it goes to add the file its taking the full path to the file “var/www/colin/wp-content/themes/squirrel/assets/js/mylibs/Test.js” and appending to the RewriteBase URL “var/www/colin/wp-content/w3tc/min”
I can’t fully qualify the URL as it removes the domain and protocol from the URL and truncates to “wp-content/themes/squirrel/assets/js/mylibs/Test.js”
Can anyone help with this?
Thanks.
Did you apply the configuration provided on the ‘Install’ tab?
Yeah I’ve updated all the .htaccess files.
Not quite sure where I’ve gone wrong.
Thanks for your help so far!
I think it’s best to submit a bug submission form from the support tab of the plugin please.