Php error in closure compiler execution

Posted by Mohammad on Stack Overflow See other posts from Stack Overflow or by Mohammad
Published on 2010-04-06T19:17:11Z Indexed on 2010/04/06 19:23 UTC
Read the original article Hit count: 340

When I run php-closure i get a PHP error

Undefined index:  HTTP_IF_NONE_MATCH in <b>/php-closure.php</b> on line <b>183</b>

Line 184 of php-closure is

trim($_SERVER['HTTP_IF_NONE_MATCH']) == $etag) {

This error only happens when closure has already written the compressed javascript file to the directory once, if the directory is emptied the error does not appear. What does this error mean and how can I avoid it?

Thank You So Much!

© Stack Overflow or respective owner

Related posts about google-closure-compiler

Related posts about google-closure