Re: Problem with graphs.php on php-5.3.3
rizwan butt <[email protected]>
| Newsgroups | gmane.network.cacti.user |
|---|---|
| Message-ID | <[email protected]> |
Thanks, that sounds good. Best Regards Rizwan > Date: Thu, 30 Aug 2012 23:04:13 +0200 > From: [email protected] > To: [email protected] > Subject: Re: [cacti-user] Problem with graphs.php on php-5.3.3 > > Latest Cacti may have cured this. > We discovered, that some specific php modules include a graph() function as > well, so we recently re-declared ours as cacti_graph(). > At least this sounds like such an issue > Reinhard > > On 30.08.2012 22:36, rizwan butt wrote: > > > > Hello, I was trying to use the "Graph Management" tab on Cacti GUI but it does not seem to work.The error I was getting is: PHP Fatal error: Cannot redeclare graph() in /usr/share/cacti/graphs.php on line 1355, referer: https://lapin.ncs.mcgill.ca/cacti/ > > This error is probably being generated as there may be functions with the same name as graph() defined in other files.To avoid this error I tried to use if(!function_exists('graph')) before the function graph() definition in the file graphs.phpIt removed the previous error but a new error is being generated now : > > PHP Fatal error: No matching function for overloaded 'graph' in /usr/share/cacti/graphs.php on line 91. > > I tested with rhel5 and rhel6.The problem occurs with rhel6, which is php version: php-5.3.3With rhel5, the php version is : php-5.1.6the latter runs fine. > > Is there any way of fixing this? > > Thanks for anything you can do. > > Best RegardsRizwan > > ------------------------------------------------------------------------------ > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's security and > > threat landscape has changed and how IT managers can respond. Discussions > > will include endpoint security, mobile security and the latest in malware > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > _______________________________________________ > > cacti-user mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/cacti-user > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > cacti-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/cacti-user ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/