CMDPHP PHP ERROR NOTICE Backtrace

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
katerina19
Posts: 2
Joined: Tue Feb 11, 2014 6:51 am

CMDPHP PHP ERROR NOTICE Backtrace

Post by katerina19 »

Hello,
I have installed cacti 1.2.22 on Debian 11.
I followed instructions on https://computingforgeeks.com/how-to-in ... ith-nginx/

Now I don't have any data in graphs.

On log I have
022-10-26 12:07:35 - CMDPHP PHP ERROR NOTICE Backtrace: (/graphs_new.php[42]:form_save(), /graphs_new.php[164]:html_graph_new_graphs(), /lib/html_graph.php[465]:host_new_graphs_save(), /graphs_new.php[274]:create_save_graph(), /lib/template.php[2157]:push_out_host(), /lib/utility.php[794]:update_poller_cache(), /lib/utility.php[361]:api_poller_cache_item_add(), /lib/api_poller.php[97]:get_data_source_path(), /lib/functions.php[2634]:generate_data_source_path(), /lib/functions.php[2965]:CactiErrorHandler())
2022-10-26 12:07:35 - ERROR PHP NOTICE: Undefined index: id in file: /var/www/html/cacti/lib/functions.php on line: 2965
2022-10-26 12:07:16 - AUTOM8 NOTE: Graph Added - Device[portal7], Graph[portal7 - Ping Latency], DS[portal7 - Ping Host] Graphs[portal7 - Ping Latency]
2022-10-26 12:07:16 - CMDPHP PHP ERROR NOTICE Backtrace: (/host.php[78]:host_add_gt(), /host.php[651]:automation_hook_graph_template(), /lib/api_automation.php[2157]:automation_execute_graph_template(), /lib/api_automation.php[2393]:push_out_host(), /lib/utility.php[794]:update_poller_cache(), /lib/utility.php[255]:api_poller_cache_item_add(), /lib/api_poller.php[97]:get_data_source_path(), /lib/functions.php[2634]:generate_data_source_path(), /lib/functions.php[2965]:CactiErrorHandler())
2022-10-26 12:07:16 - ERROR PHP NOTICE: Undefined index: id in file: /var/www/html/cacti/lib/functions.php on line: 2965
2022-10-26 12:07:16 - AUTOM8 NOTE: Data Check Succeeded for - Device[portal7], GT[Unix - Ping Latency]
2022-10-26 12:06:29 - AUTOM8 NOTE: Graph Added - Device[portal7], Graph[portal7 - Traffic - eno16780032], DS[portal7 - Traffic - 172.19.11.144 - eno16780032] Graphs[portal7 - Traffic - eno16780032], Rule[Traffic 64 bit Server]
2022-10-26 12:06:29 - CMDPHP PHP ERROR NOTICE Backtrace: (/host.php[94]:host_add_query(), /host.php[609]:api_device_dq_add(), /lib/api_device.php[564]:run_data_query(), /lib/data_query.php[390]:automation_execute_data_query(), /lib/api_automation.php[2236]:create_dq_graphs(), /lib/api_automation.php[2663]:push_out_host(), /lib/utility.php[794]:update_poller_cache(), /lib/utility.php[361]:api_poller_cache_item_add(), /lib/api_poller.php[97]:get_data_source_path(), /lib/functions.php[2634]:generate_data_source_path(), /lib/functions.php[2965]:CactiErrorHandler())
2022-10-26 12:06:29 - ERROR PHP NOTICE: Undefined index: id in file: /var/www/html/cacti/lib/functions.php on line: 2965
2022-10-26 11:34:23 - AUTH LOGIN: User 'admin' authenticated

thanks for any help,
Katerina
User avatar
macan
Cacti Guru User
Posts: 1146
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: CMDPHP PHP ERROR NOTICE Backtrace

Post by macan »

Please use actual version from https://github.com/Cacti/cacti (branch 1.2.x). It was fixed few days ago
Let the Cacti grow!
katerina19
Posts: 2
Joined: Tue Feb 11, 2014 6:51 am

Re: CMDPHP PHP ERROR NOTICE Backtrace

Post by katerina19 »

Hi,
thank you for your answer.

Now after resolving some issues with cron all is going well.
Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests