The HttpRequest already exists in PHP
Closed this issue · 3 comments
Hi,
In some PHP implementation there already is a class named HttpRequest (see http://www.php.net/manual/en/class.httprequest.php), so you get a fatal error (cannot redeclare...). You should renamed it to avoid that.
Thank you and keep up the good work,
Quentin Ligier
Accepted; will fix/update with next milestone.
instead of renaming the class (and running into the same problem with other classes already defined) maybe you should simply update the project using namespaces as possible since PHP 5.3.0. i did this quick and dirty with my local copy of seostats (just downloaded 10 mins ago) and it worked fine for my installation of php using the HTTP-Extension (wich is the PHP-Extension defining the class HttpRequest )
Fixed in commit 58805c8. The current "252-dev" branch will become master within the next days.