I found this in the log. You probably already know about it, but...
cacti beta installer, rolled back to php 5.2.0.
This showed when I rolled php back and still had cmd.php as the poller.
04/28/2007 03:15:01 AM - CMDPHP: Poller[0] ERROR: The PHP Script: CMD.PHP Must be started using the full path to the file and in lower case. This is a PHP Bug!!!
Log entry error
Moderators: Developers, Moderators
Yea, its a logic bug in cmd.php. Need to edit line 49 and change it to (version_compare("5.2.0", PHP_VERSION, "<"))
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
I cheated through it. In cmd.php AND script_server.php (PHP versions before 5) I changed line 51 from
if ($guess == strtoupper($guess)) {
to
if (strtolower($guess) == strtoupper($guess)) {
Basicly, when it compares the 2 strings, it'll put one in upper case and the other in lower case, so they'll never be the same, and you'll stop getting that error. I suppose you could just remove the whole "if". Line 49 was just like BSOD2600 said and still, I got the errors.
if ($guess == strtoupper($guess)) {
to
if (strtolower($guess) == strtoupper($guess)) {
Basicly, when it compares the 2 strings, it'll put one in upper case and the other in lower case, so they'll never be the same, and you'll stop getting that error. I suppose you could just remove the whole "if". Line 49 was just like BSOD2600 said and still, I got the errors.
Who is online
Users browsing this forum: No registered users and 0 guests