User Ratings
Rate This Project
Login To Rate This Project
User Reviews
-
Complete! Great work, thanks.
-
Hi, this tool is cool :-) but i must fixed a little thing in the curl connection, my host has an self signet SSL and your curl connect produce an error. /r/n SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed in the serverstatus.class.php in public function getStatus() orginal: $curl_arr[$i] = curl_init($sUrl); curl_setopt($curl_arr[$i], CURLOPT_RETURNTRANSFER, true); curl_setopt($curl_arr[$i], CURLOPT_TIMEOUT, 5); curl_setopt($curl_arr[$i], CURLOPT_FAILONERROR, 1); curl_multi_add_handle($master, $curl_arr[$i]); $i++; my hack: $curl_arr[$i] = curl_init($sUrl); curl_setopt($curl_arr[$i], CURLOPT_RETURNTRANSFER, true); curl_setopt($curl_arr[$i], CURLOPT_TIMEOUT, 5); curl_setopt($curl_arr[$i], CURLOPT_FAILONERROR, 1); curl_setopt($curl_arr[$i], CURLOPT_SSL_VERIFYHOST, 0); curl_setopt($curl_arr[$i], CURLOPT_SSL_VERIFYPEER, 0); curl_multi_add_handle($master, $curl_arr[$i]); $i++; and now i can use your tool, thanks, its looks very fine and its little more better then the normal statuspage for future releases - build in an option that do what i must hack ;-) THANX
-
Nice little software. I cannot find how to get a hold of you so I am posting my fix here. Problem: curl_multi_select($mh, $timeout) simply blocks for $timeout seconds while curl_multi_exec() returns CURLM_CALL_MULTI_PERFORM. as in this link: php.net/manual/ru/function.curl-multi-select.php#usernotes This is causing curl_multi_select to return -1 in PHP versions > 5.2 Solution: /classes/serverstatus.class.php around line 440-442 CHANGE: do { curl_multi_exec($master, $running); } while ($running > 0); TO: self::full_curl_multi_exec($master, $running); do { curl_multi_select($master); self::full_curl_multi_exec($master, $running); while ($info = curl_multi_info_read($master)) { } } while ($running); private function full_curl_multi_exec($mh, &$still_running) { do { $rv = curl_multi_exec($mh, $still_running); } while ($rv == CURLM_CALL_MULTI_PERFORM); return $rv; } OR SOMETHING SIMILAR, thats just how I fixed it, works great now in all versions of PHP I have tested.
- Previous
- You're on page 1
- Next