zfjia / agispeedy

Automatically exported from code.google.com/p/agispeedy
Other
0 stars 0 forks source link

PHP Fatal Error on 1.5 version #4

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. agispeedy.php --verbose --debug
2. enable log_errors = On and error_log = syslog on php.ini
3. telnet localhost 4573

php: PHP Fatal error:  Using $this when not in object context in 
/usr/local/bin/agispeedy.php on line 569

Original issue reported on code.google.com by ldutr...@gmail.com on 3 Sep 2012 at 8:55

GoogleCodeExporter commented 9 years ago
you can fiz it changuing the line for:$r = array($sock);
because $sock is used in other function, not only inside of de class of 
agispeedy.

Original comment by jonathan...@gmail.com on 17 Sep 2012 at 6:39

GoogleCodeExporter commented 9 years ago
$r = array($sock); on line 569 did the trick. 

Original comment by gombar...@sven.sk on 17 May 2013 at 3:59