No one has posted anything yet. As soon as I find a case I’ll either post an FAQ or otherwise make sure it’s easy info’ to find.
I also use nginx, and everything works except for CSS/JS minify. So far I just haven’t bothered to put in the time to figure out why.
There’s just one rewriterule required for basic minify operation. If someone wants to contribute some directives it would be appreciated, I haven’t finished the task myself.
I’ll play with it this weekend; it shouldn’t be too hard to work in the rewrite rule.
Any news ? i have the same problem: 400 Bad request when I enable Minify (with no url rewrite because i don’t know the correct rules to configure.)
ok– deleted my .js/.css files and reinstalled the script — everything is ok now.
Hi There, I am having the same 400 Bad request problem when I input my css files to minify. Some of the URIs get rewritten to just the /wp-content/ part, removing the site address from the beginning.
I have tried to remove the .js and .css and reinstalled the plugin, but unlike these guys, mine isn’t working after doing that.
Any help would be appreciated.
Thanks
seems like the same issue I’m currently having – but thanks to pointing to the error log I’ve found what the problem is (not that I can fix it)..
the absolute address that the plugin is reporting is wrong. As per nubic’s post – the error I find in my situation is that the path is written twice so that instead of /x/y/z/abc.css I’m getting /var/chroot/x/y/z/x/y/z/abc.css
Any ideas on a fix?
** re-install didn’t work
RandomMan01 and godkid what errors do you have in your error log or /wp-content/w3tc/log/min.log file (if it exists that means you have errors with minify as opposed to PHP)?
my issue was resolved using the dev version as per your suggestion here
also getting this error.
HTTP/1.0 400 Bad Request
it looks like min/index.php is loading fine, and correctly calling instance(). From there, I haven’t found where the script is erroring out.
No logfiles exist in the log/ directory.
ok, i put a custom error handler in there..
[type] => 2048
[message] => Non-static method W3_Config::instance() should not be called statically, assuming $this from incompatible context
[file] => Minify.php
[line] => 44
Hi Frederick,
I don’t have a min.log file, what does that mean? I will give the dev version a go and see how it goes.
huwr, where did you insert that code, into the index.php file?
Thanks again,
Random
Hi Again,
I have installed the dev version and CSS minify works fine now.
Thanks,
Random