Hi

I installed the RRDtools and the pecl php-rrdtool yesterday to start 
collecting statistics.  

After setting up rrdtool / php extension and loading it all my cron jobs 
started failing.  When I tracked the php errors, I found a number of these 
messages in the php error log: PHP Fatal error:  Cannot redeclare class 
RRDGraph in 
/var/www/html/app/src/LibWebta/library/Data/RRD/class.RRDGraph.php on line 
464

The problem seems to be that PHP rrdtool extension has an RRDGraph class (
http://www.php.net/manual/en/class.rrdgraph.php) and the LibWebta class in 
scalr is also having a class called RRDGraph.  I ended up grep'ing for all 
instances of RRDGraph in scalr source and changing it to a different name. 
 It is now running fine.

Can the Scalr development team please check this and let us know?  Ideally 
the RRDGraph class in libwebta needs to be renamed so there is no clash 
with the php extension.

Regards
Srini


-- 
You received this message because you are subscribed to the Google Groups 
"scalr-discuss" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/scalr-discuss/-/IDzq4E5z31QJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/scalr-discuss?hl=en.

Reply via email to