mrclay/minify

Encoding problem ?

jomofcw opened this issue · 8 comments

Hello !

I've just moved my DEV WebServer to a new machine (same version or near of all things), but now when I try to load a minify URL, the browser can't read it and display an "encoding problem" (with no other informations :/). Is it a known problem ?
When I look at the cache directory, the output seems to be well built, so the problem seems to be how it is sent to browser...
Using Minify up to date (deployement using composer).
Any help appreciated. Thanks.

we don't guess your versions, you need to provide them in bugreport to diagnose.

Yea you're right, sorry : it's 3.0.3.

It seems to be about few PHP errors in fact :s (probably because of php 7.3 ?).
Here it is :

Notice: compact() [function.compact0]: Undefined variable: min_envArgs in /home/preprod/JAM_Difus-moteur_sites/vendor/mrclay/minify/lib/Minify/App.php on line 72



Notice: compact() [function.compact0]: Undefined variable: min_factories in /home/preprod/JAM_Difus-moteur_sites/vendor/mrclay/minify/lib/Minify/App.php on line 72

try 3.0.5 version of minify, php 7.3 issues were fixed in 3.0.4 (via #648) but that release was broken.

Upgrading to 3.0.5, I've got an error 400.

I don't see anything more in FirePHP debuging tools.

I can see this in my log : [Tue Oct 01 15:47:30.121397 2019] [core:error] [pid 1625] [client 192.168.1.24:52654] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.

The strange thing is that, other than upgrading to 3.0.5 I've not done anything else...

seems this was same problem as #654, which has fix in 3.0.6