Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Sat Sep 22, 2018 2:06 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Graphs don't load when using php 5.6 on Debian stretch.
PostPosted: Thu Jul 12, 2018 5:02 pm 
Offline

Joined: Fri Jul 06, 2018 3:49 pm
Posts: 3
I am trying to get weathermap plugin to work on Debian stretch which has php 7.2 installed by default. So I installed php 5.6 on the system. However when I switch cacti to use php 5.6, the graphs don't load, neither does System Utilities-> Technical Support. I don't see any related errors in cacti.log or apache log. Browser console shows Failed to load resource: the server responded with a status of 500 (Internal Server Error). When I switch back to php 7.2, the images load fine. Cacti version is 0.8.8h which is the default for Debian stretch. Anyone has any idea why this is happening? How do I go about trouble-shooting it? Thanks.


Top
 Profile  
 
 Post subject: Re: Graphs don't load when using php 5.6 on Debian stretch.
PostPosted: Thu Jul 12, 2018 5:32 pm 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 1439
Check the apache/ngix error logs when you switch to 5.6, you'll probably find that is recording the issue.

_________________
Cacti Resources:
Cacti Website
Cacti Issues
Cacti Releases

My resources:
How to submit Pull Requests
Development Wiki and How To's
Updated NetSNMP Memory template for Cacti 1.x
Cisco SFP template for Cacti 0.8.8


Top
 Profile  
 
 Post subject: Re: Graphs don't load when using php 5.6 on Debian stretch.
PostPosted: Fri Jul 13, 2018 12:35 am 
Offline

Joined: Fri Jul 06, 2018 3:49 pm
Posts: 3
I am not using nginx. I set apache loglevel to "warn". There is nothing in apache error log.


Top
 Profile  
 
 Post subject: Re: Graphs don't load when using php 5.6 on Debian stretch.
PostPosted: Fri Jul 13, 2018 1:18 am 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 1439
You should not be getting an error 500 without it appearing in the error logs of apache. Error 500 means internal server error, which Apache should always be recording unless you've managled your logging configuration somehow.

_________________
Cacti Resources:
Cacti Website
Cacti Issues
Cacti Releases

My resources:
How to submit Pull Requests
Development Wiki and How To's
Updated NetSNMP Memory template for Cacti 1.x
Cisco SFP template for Cacti 0.8.8


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 9 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group