JosephLenton / PHP-Error

Better error reporting for PHP, and prettier too!
1.35k stars 151 forks source link

Missing $_SERVER['QUERY_STRING'] #28

Closed hason closed 11 years ago

hason commented 11 years ago

If I run internal server in PHP 5.4, PHP-Error throws error on line 3045. The QUERY_STRING is missing in $_SERVER for url localhost.

JosephLenton commented 11 years ago

I am guessing, that it's just not being set by PHP on your version. It's normally there, even if no query string was given in the url.

So I've checked in a check for this, so it's skipped if the query string is not found.

Please try the current version, from here on GitHub.

hason commented 11 years ago

Solved. Thanks!