So there is no support for php7 in the current releases of cacti. I have converted to using the current git to try and upgrade my freshly upgraded 0.8.8f install. I grabbed a git of the current on my box running php7 (ran cacti with no issues pre-php7) imported my current database, rra's, resources, and scripts. I go to the install page on access and get hit with a module not found (looking for mysql). I edit install/index.php line 69 and change mysql to mysqli. Next error is 0_8_8f_to_1_0_0.php with no file found. Jumped the shark and cp'd 0_8_8g_to_1_0_0.php to 0_8_8f_to_1_0_0.php. So far so good. Go to cacti/ on the webserver and get hit with infinite loop. Maybe weird session issue so I change the user auth back to 1 and reset to admin password for good measure. Still no good, changed auth back to 2 and grabbed the output below to find some help. /tmp is 1777 and there are already php session files there. Any help is appreciated.
[Thu Jan 28 01:11:58.284952 2016] [authz_core:debug] [pid 11495] mod_authz_core.c(809): [client 10.100.0.10:52192] AH01626: authorization result of <RequireAny>: granted
[Thu Jan 28 01:11:58.313307 2016] [:error] [pid 11495] [client 10.100.0.10:52192] PHP Warning: session_write_close(): Failed to write session data (user). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0
Solved: Arch Linux PHP 7 issues with GIT
Moderators: Developers, Moderators
Solved: Arch Linux PHP 7 issues with GIT
Last edited by jayray on Fri Jan 29, 2016 9:38 pm, edited 1 time in total.
- phalek
- Developer
- Posts: 2838
- Joined: Thu Jan 31, 2008 6:39 am
- Location: Kressbronn, Germany
- Contact:
Re: Arch Linux PHP 7 issues with GIT
Could be a SELinux issue preventing the PHP module to write the session files to that directory.
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
Re: Arch Linux PHP 7 issues with GIT
1 step further. My install didn't have a sessions table. Ran the following and we are displaying graphs!
CREATE TABLE `sessions` (
`id` varchar(32) NOT NULL,
`remote_addr` varchar(25) NOT NULL DEFAULT '',
`access` int(10) unsigned DEFAULT NULL,
`data` text,
PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT='Used for Database based Session Storage';
CREATE TABLE `sessions` (
`id` varchar(32) NOT NULL,
`remote_addr` varchar(25) NOT NULL DEFAULT '',
`access` int(10) unsigned DEFAULT NULL,
`data` text,
PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT='Used for Database based Session Storage';
Re: Arch Linux PHP 7 issues with GIT
Ok, now having some session issues. Looking at graphs then, when I click on console then go back to graphs I get the attached screenshot. If I delete my session from the table it works fine again.
- Attachments
-
- cacti.jpg (58.65 KiB) Viewed 1928 times
Re: Arch Linux PHP 7 issues with GIT
I've tried using builtin auth vs web server auth (using a passwdfile), and no change. After the session clears by clicking logout, or deleting the session row from the DB the graph tab still looks like the previous message. I'll attach some output from when the issue occurs.
Code: Select all
01/29/2016 03:56:11 AM - CMDPHP DEVEL: SQL Exec: "UPDATE IGNORE sessions SET access = ? WHERE id = ?"
01/29/2016 03:56:11 AM - CMDPHP DEVEL: SQL Cell: "SELECT data FROM sessions WHERE id = ?"
01/29/2016 03:56:11 AM - CMDPHP DEVEL: SQL Cell: "SELECT cacti FROM version LIMIT 1"
01/29/2016 03:56:11 AM - CMDPHP DEVEL: SQL Assoc: "SELECT * FROM user_domains WHERE enabled="on" ORDER BY domain_name"
01/29/2016 03:56:11 AM - CMDPHP DEVEL: SQL Cell: "SELECT domain_id FROM user_domains WHERE defdomain=1 AND enabled="on""
01/29/2016 03:56:11 AM - CMDPHP DEVEL: SQL Assoc: "SELECT pc.id, ph.name, ph.file, ph.function FROM plugin_hooks AS ph LEFT JOIN plugin_config AS pc ON pc.directory = ph.name WHERE ph.status = 1 AND hook = ? ORDER BY id ASC"
01/29/2016 03:56:11 AM - CMDPHP DEVEL: SQL Assoc: "SELECT * FROM plugin_realms ORDER BY plugin, display"
01/29/2016 03:56:11 AM - CMDPHP DEVEL: SQL Assoc: "SELECT pc.id, ph.name, ph.file, ph.function FROM plugin_hooks AS ph LEFT JOIN plugin_config AS pc ON pc.directory = ph.name WHERE ph.status = 1 AND hook = ? ORDER BY id ASC"
01/29/2016 03:56:11 AM - CMDPHP DEVEL: SQL Assoc: "SELECT pc.id, ph.name, ph.file, ph.function FROM plugin_hooks AS ph LEFT JOIN plugin_config AS pc ON pc.directory = ph.name WHERE ph.status = 1 AND hook = ? ORDER BY id ASC"
01/29/2016 03:56:11 AM - CMDPHP DEVEL: SQL Assoc: "SELECT pc.id, ph.name, ph.file, ph.function FROM plugin_hooks AS ph LEFT JOIN plugin_config AS pc ON pc.directory = ph.name WHERE ph.status = 1 AND hook = ? ORDER BY id ASC"
01/29/2016 03:56:11 AM - CMDPHP DEVEL: SQL Assoc: "SELECT pc.id, ph.name, ph.file, ph.function FROM plugin_hooks AS ph LEFT JOIN plugin_config AS pc ON pc.directory = ph.name WHERE ph.status = 1 AND hook = ? ORDER BY id ASC"
01/29/2016 03:56:11 AM - CMDPHP DEVEL: SQL Assoc: "SELECT pc.id, ph.name, ph.file, ph.function FROM plugin_hooks AS ph LEFT JOIN plugin_config AS pc ON pc.directory = ph.name WHERE ph.status = 1 AND hook = ? ORDER BY id ASC"
01/29/2016 03:56:11 AM - CMDPHP DEVEL: SQL Cell: "SELECT COUNT(*) FROM ( SELECT realm_id FROM user_auth_realm AS uar WHERE uar.user_id = ? AND uar.realm_id = ? UNION SELECT realm_id FROM user_auth_group_realm AS uagr INNER JOIN user_auth_group_members AS uagm ON uagr.group_id=uagm.group_id INNER JOIN user_auth_group AS uag ON uag.id=uagr.group_id WHERE uag.enabled="on" AND uagm.user_id = ? AND uagr.realm_id = ? ) AS authorized"
01/29/2016 03:56:11 AM - CMDPHP Input Validation Not Performed for 'predefined_timespan' Backtrace: (/graph_view.php: 47 get_request_var_request)(/lib/html_utility.php: 363 get_request_var)(/lib/html_utility.php: 292 html_log_input_error)(/lib/html_validate.php: 44 cacti_debug_backtrace)
01/29/2016 03:56:11 AM - CMDPHP Input Validation Not Performed for 'predefined_timeshift' Backtrace: (/graph_view.php: 48 get_request_var_request)(/lib/html_utility.php: 363 get_request_var)(/lib/html_utility.php: 292 html_log_input_error)(/lib/html_validate.php: 44 cacti_debug_backtrace)
01/29/2016 03:56:11 AM - CMDPHP DEVEL: SQL Row: "SELECT * FROM user_auth WHERE id = ?"
01/29/2016 03:56:11 AM - CMDPHP DEVEL: SQL Assoc: "SELECT DISTINCT show_tree FROM user_auth_group AS uag INNER JOIN user_auth_group_members AS uagm ON uag.id = uagm.user_id WHERE uag.enabled = 'on' AND uagm.user_id = ?"
01/29/2016 03:56:11 AM - CMDPHP DEVEL: SQL Cell: "SELECT show_tree FROM user_auth WHERE id = ?"
01/29/2016 03:56:11 AM - CMDPHP DEVEL: SQL Cell: "SELECT policy_trees FROM user_auth WHERE id = ?"
01/29/2016 03:56:11 AM - CMDPHP DEVEL: SQL Assoc: "SELECT user_id FROM user_auth_perms WHERE user_id = ? AND type = 2 AND item_id = ?"
01/29/2016 03:56:11 AM - CMDPHP DEVEL: SQL Assoc: "SELECT * FROM user_domains WHERE enabled="on" ORDER BY domain_name"
01/29/2016 03:56:11 AM - CMDPHP DEVEL: SQL Cell: "SELECT domain_id FROM user_domains WHERE defdomain=1 AND enabled="on""
01/29/2016 03:56:11 AM - CMDPHP DEVEL: SQL Assoc: "SELECT pc.id, ph.name, ph.file, ph.function FROM plugin_hooks AS ph LEFT JOIN plugin_config AS pc ON pc.directory = ph.name WHERE ph.status = 1 AND hook = ? ORDER BY id ASC"
01/29/2016 03:56:11 AM - CMDPHP DEVEL: SQL Assoc: "SELECT * FROM plugin_realms ORDER BY plugin, display"
01/29/2016 03:56:11 AM - CMDPHP DEVEL: SQL Row: "SELECT title, host_id, host_grouping_type FROM graph_tree_items WHERE id=2358"
01/29/2016 03:56:11 AM - CMDPHP DEVEL: SQL Row: "SELECT title,local_graph_id,host_id FROM graph_tree_items WHERE id=2358"
01/29/2016 03:56:11 AM - CMDPHP DEVEL: SQL Cell: "SELECT name FROM graph_tree WHERE id=4"
01/29/2016 03:56:11 AM - CMDPHP DEVEL: SQL Cell: "SELECT host.description FROM (graph_tree_items,host) WHERE graph_tree_items.host_id=host.id AND graph_tree_items.id=2358"
01/29/2016 03:56:11 AM - CMDPHP Input Validation Not Performed for 'graphs' Backtrace: (/graph_view.php: 227 grow_right_pane_tree)(/lib/html_tree.php: 510 validate_tree_vars)(/lib/html_tree.php: 405 get_request_var_request)(/lib/html_utility.php: 363 get_request_var)(/lib/html_utility.php: 292 html_log_input_error)(/lib/html_validate.php: 44 cacti_debug_backtrace)
01/29/2016 03:56:11 AM - CMDPHP Input Validation Not Performed for 'columns' Backtrace: (/graph_view.php: 227 grow_right_pane_tree)(/lib/html_tree.php: 510 validate_tree_vars)(/lib/html_tree.php: 406 get_request_var_request)(/lib/html_utility.php: 363 get_request_var)(/lib/html_utility.php: 292 html_log_input_error)(/lib/html_validate.php: 44 cacti_debug_backtrace)
01/29/2016 03:56:11 AM - CMDPHP Input Validation Not Performed for 'page' Backtrace: (/graph_view.php: 227 grow_right_pane_tree)(/lib/html_tree.php: 510 validate_tree_vars)(/lib/html_tree.php: 407 get_request_var_request)(/lib/html_utility.php: 363 get_request_var)(/lib/html_utility.php: 292 html_log_input_error)(/lib/html_validate.php: 44 cacti_debug_backtrace)
01/29/2016 03:56:11 AM - CMDPHP Input Validation Not Performed for 'tree_id' Backtrace: (/graph_view.php: 227 grow_right_pane_tree)(/lib/html_tree.php: 510 validate_tree_vars)(/lib/html_tree.php: 408 get_request_var_request)(/lib/html_utility.php: 363 get_request_var)(/lib/html_utility.php: 292 html_log_input_error)(/lib/html_validate.php: 44 cacti_debug_backtrace)
01/29/2016 03:56:11 AM - CMDPHP Input Validation Not Performed for 'leaf_id' Backtrace: (/graph_view.php: 227 grow_right_pane_tree)(/lib/html_tree.php: 510 validate_tree_vars)(/lib/html_tree.php: 409 get_request_var_request)(/lib/html_utility.php: 363 get_request_var)(/lib/html_utility.php: 292 html_log_input_error)(/lib/html_validate.php: 44 cacti_debug_backtrace)
01/29/2016 03:56:11 AM - CMDPHP Input Validation Not Performed for 'filter' Backtrace: (/graph_view.php: 227 grow_right_pane_tree)(/lib/html_tree.php: 510 validate_tree_vars)(/lib/html_tree.php: 414 get_request_var_request)(/lib/html_utility.php: 363 get_request_var)(/lib/html_utility.php: 292 html_log_input_error)(/lib/html_validate.php: 44 cacti_debug_backtrace)
01/29/2016 03:56:11 AM - CMDPHP Input Validation Not Performed for 'thumbnails' Backtrace: (/graph_view.php: 227 grow_right_pane_tree)(/lib/html_tree.php: 510 validate_tree_vars)(/lib/html_tree.php: 419 get_request_var_request)(/lib/html_utility.php: 363 get_request_var)(/lib/html_utility.php: 292 html_log_input_error)(/lib/html_validate.php: 44 cacti_debug_backtrace)
01/29/2016 03:56:11 AM - CMDPHP Input Validation Not Performed for 'host_group_data' Backtrace: (/graph_view.php: 227 grow_right_pane_tree)(/lib/html_tree.php: 510 validate_tree_vars)(/lib/html_tree.php: 424 get_request_var_request)(/lib/html_utility.php: 363 get_request_var)(/lib/html_utility.php: 292 html_log_input_error)(/lib/html_validate.php: 44 cacti_debug_backtrace)
01/29/2016 03:56:11 AM - CMDPHP Input Validation Not Performed for 'filter' Backtrace: (/graph_view.php: 227 grow_right_pane_tree)(/lib/html_tree.php: 512 get_request_var_request)(/lib/html_utility.php: 363 get_request_var)(/lib/html_utility.php: 292 html_log_input_error)(/lib/html_validate.php: 44 cacti_debug_backtrace)
01/29/2016 03:56:11 AM - CMDPHP Input Validation Not Performed for 'filter' Backtrace: (/graph_view.php: 227 grow_right_pane_tree)(/lib/html_tree.php: 524 get_request_var_request)(/lib/html_utility.php: 363 get_request_var)(/lib/html_utility.php: 292 html_log_input_error)(/lib/html_validate.php: 44 cacti_debug_backtrace)
01/29/2016 03:56:11 AM - CMDPHP Input Validation Not Performed for 'graphs' Backtrace: (/graph_view.php: 227 grow_right_pane_tree)(/lib/html_tree.php: 534 get_request_var_request)(/lib/html_utility.php: 363 get_request_var)(/lib/html_utility.php: 292 html_log_input_error)(/lib/html_validate.php: 44 cacti_debug_backtrace)
01/29/2016 03:56:11 AM - CMDPHP Input Validation Not Performed for 'graphs' Backtrace: (/graph_view.php: 227 grow_right_pane_tree)(/lib/html_tree.php: 534 get_request_var_request)(/lib/html_utility.php: 363 get_request_var)(/lib/html_utility.php: 292 html_log_input_error)(/lib/html_validate.php: 44 cacti_debug_backtrace)
01/29/2016 03:56:11 AM - CMDPHP Input Validation Not Performed for 'graphs' Backtrace: (/graph_view.php: 227 grow_right_pane_tree)(/lib/html_tree.php: 534 get_request_var_request)(/lib/html_utility.php: 363 get_request_var)(/lib/html_utility.php: 292 html_log_input_error)(/lib/html_validate.php: 44 cacti_debug_backtrace)
01/29/2016 03:56:11 AM - CMDPHP Input Validation Not Performed for 'graphs' Backtrace: (/graph_view.php: 227 grow_right_pane_tree)(/lib/html_tree.php: 534 get_request_var_request)(/lib/html_utility.php: 363 get_request_var)(/lib/html_utility.php: 292 html_log_input_error)(/lib/html_validate.php: 44 cacti_debug_backtrace)
01/29/2016 03:56:11 AM - CMDPHP Input Validation Not Performed for 'graphs' Backtrace: (/graph_view.php: 227 grow_right_pane_tree)(/lib/html_tree.php: 534 get_request_var_request)(/lib/html_utility.php: 363 get_request_var)(/lib/html_utility.php: 292 html_log_input_error)(/lib/html_validate.php: 44 cacti_debug_backtrace)
01/29/2016 03:56:11 AM - CMDPHP Input Validation Not Performed for 'graphs' Backtrace: (/graph_view.php: 227 grow_right_pane_tree)(/lib/html_tree.php: 534 get_request_var_request)(/lib/html_utility.php: 363 get_request_var)(/lib/html_utility.php: 292 html_log_input_error)(/lib/html_validate.php: 44 cacti_debug_backtrace)
01/29/2016 03:56:11 AM - CMDPHP Input Validation Not Performed for 'graphs' Backtrace: (/graph_view.php: 227 grow_right_pane_tree)(/lib/html_tree.php: 534 get_request_var_request)(/lib/html_utility.php: 363 get_request_var)(/lib/html_utility.php: 292 html_log_input_error)(/lib/html_validate.php: 44 cacti_debug_backtrace)
01/29/2016 03:56:11 AM - CMDPHP Input Validation Not Performed for 'graphs' Backtrace: (/graph_view.php: 227 grow_right_pane_tree)(/lib/html_tree.php: 534 get_request_var_request)(/lib/html_utility.php: 363 get_request_var)(/lib/html_utility.php: 292 html_log_input_error)(/lib/html_validate.php: 44 cacti_debug_backtrace)
01/29/2016 03:56:11 AM - CMDPHP Input Validation Not Performed for 'graphs' Backtrace: (/graph_view.php: 227 grow_right_pane_tree)(/lib/html_tree.php: 534 get_request_var_request)(/lib/html_utility.php: 363 get_request_var)(/lib/html_utility.php: 292 html_log_input_error)(/lib/html_validate.php: 44 cacti_debug_backtrace)
01/29/2016 03:56:11 AM - CMDPHP Input Validation Not Performed for 'graphs' Backtrace: (/graph_view.php: 227 grow_right_pane_tree)(/lib/html_tree.php: 534 get_request_var_request)(/lib/html_utility.php: 363 get_request_var)(/lib/html_utility.php: 292 html_log_input_error)(/lib/html_validate.php: 44 cacti_debug_backtrace)
01/29/2016 03:56:11 AM - CMDPHP Input Validation Not Performed for 'graphs' Backtrace: (/graph_view.php: 227 grow_right_pane_tree)(/lib/html_tree.php: 534 get_request_var_request)(/lib/html_utility.php: 363 get_request_var)(/lib/html_utility.php: 292 html_log_input_error)(/lib/html_validate.php: 44 cacti_debug_backtrace)
01/29/2016 03:56:11 AM - CMDPHP Input Validation Not Performed for 'graphs' Backtrace: (/graph_view.php: 227 grow_right_pane_tree)(/lib/html_tree.php: 534 get_request_var_request)(/lib/html_utility.php: 363 get_request_var)(/lib/html_utility.php: 292 html_log_input_error)(/lib/html_validate.php: 44 cacti_debug_backtrace)
01/29/2016 03:56:11 AM - CMDPHP Input Validation Not Performed for 'graphs' Backtrace: (/graph_view.php: 227 grow_right_pane_tree)(/lib/html_tree.php: 534 get_request_var_request)(/lib/html_utility.php: 363 get_request_var)(/lib/html_utility.php: 292 html_log_input_error)(/lib/html_validate.php: 44 cacti_debug_backtrace)
01/29/2016 03:56:11 AM - CMDPHP Input Validation Not Performed for 'graphs' Backtrace: (/graph_view.php: 227 grow_right_pane_tree)(/lib/html_tree.php: 534 get_request_var_request)(/lib/html_utility.php: 363 get_request_var)(/lib/html_utility.php: 292 html_log_input_error)(/lib/html_validate.php: 44 cacti_debug_backtrace)
01/29/2016 03:56:11 AM - CMDPHP Input Validation Not Performed for 'graphs' Backtrace: (/graph_view.php: 227 grow_right_pane_tree)(/lib/html_tree.php: 534 get_request_var_request)(/lib/html_utility.php: 363 get_request_var)(/lib/html_utility.php: 292 html_log_input_error)(/lib/html_validate.php: 44 cacti_debug_backtrace)
01/29/2016 03:56:11 AM - CMDPHP Input Validation Not Performed for 'graphs' Backtrace: (/graph_view.php: 227 grow_right_pane_tree)(/lib/html_tree.php: 534 get_request_var_request)(/lib/html_utility.php: 363 get_request_var)(/lib/html_utility.php: 292 html_log_input_error)(/lib/html_validate.php: 44 cacti_debug_backtrace)
01/29/2016 03:56:11 AM - CMDPHP Input Validation Not Performed for 'graphs' Backtrace: (/graph_view.php: 227 grow_right_pane_tree)(/lib/html_tree.php: 534 get_request_var_request)(/lib/html_utility.php: 363 get_request_var)(/lib/html_utility.php: 292 html_log_input_error)(/lib/html_validate.php: 44 cacti_debug_backtrace)
01/29/2016 03:56:11 AM - CMDPHP Input Validation Not Performed for 'graphs' Backtrace: (/graph_view.php: 227 grow_right_pane_tree)(/lib/html_tree.php: 534 get_request_var_request)(/lib/html_utility.php: 363 get_request_var)(/lib/html_utility.php: 292 html_log_input_error)(/lib/html_validate.php: 44 cacti_debug_backtrace)
01/29/2016 03:56:11 AM - CMDPHP Input Validation Not Performed for 'graphs' Backtrace: (/graph_view.php: 227 grow_right_pane_tree)(/lib/html_tree.php: 534 get_request_var_request)(/lib/html_utility.php: 363 get_request_var)(/lib/html_utility.php: 292 html_log_input_error)(/lib/html_validate.php: 44 cacti_debug_backtrace)
01/29/2016 03:56:11 AM - CMDPHP Input Validation Not Performed for 'graphs' Backtrace: (/graph_view.php: 227 grow_right_pane_tree)(/lib/html_tree.php: 534 get_request_var_request)(/lib/html_utility.php: 363 get_request_var)(/lib/html_utility.php: 292 html_log_input_error)(/lib/html_validate.php: 44 cacti_debug_backtrace)
01/29/2016 03:56:11 AM - CMDPHP Input Validation Not Performed for 'graphs' Backtrace: (/graph_view.php: 227 grow_right_pane_tree)(/lib/html_tree.php: 534 get_request_var_request)(/lib/html_utility.php: 363 get_request_var)(/lib/html_utility.php: 292 html_log_input_error)(/lib/html_validate.php: 44 cacti_debug_backtrace)
01/29/2016 03:56:11 AM - CMDPHP Input Validation Not Performed for 'thumbnails' Backtrace: (/graph_view.php: 227 grow_right_pane_tree)(/lib/html_tree.php: 544 get_request_var_request)(/lib/html_utility.php: 363 get_request_var)(/lib/html_utility.php: 292 html_log_input_error)(/lib/html_validate.php: 44 cacti_debug_backtrace)
01/29/2016 03:56:11 AM - CMDPHP Input Validation Not Performed for 'thumbnails' Backtrace: (/graph_view.php: 227 grow_right_pane_tree)(/lib/html_tree.php: 545 get_request_var_request)(/lib/html_utility.php: 363 get_request_var)(/lib/html_utility.php: 292 html_log_input_error)(/lib/html_validate.php: 44 cacti_debug_backtrace)
01/29/2016 03:56:11 AM - CMDPHP Input Validation Not Performed for 'columns' Backtrace: (/graph_view.php: 227 grow_right_pane_tree)(/lib/html_tree.php: 546 get_request_var_request)(/lib/html_utility.php: 363 get_request_var)(/lib/html_utility.php: 292 html_log_input_error)(/lib/html_validate.php: 44 cacti_debug_backtrace)
01/29/2016 03:56:11 AM - CMDPHP DEVEL: SQL Assoc: "SELECT DISTINCT graph_settings FROM user_auth_group AS uag INNER JOIN user_auth_group_members AS uagm ON uag.id = uagm.user_id WHERE uag.enabled = 'on' AND uagm.user_id = ?"
01/29/2016 03:56:11 AM - CMDPHP DEVEL: SQL Cell: "SELECT graph_settings FROM user_auth WHERE id = ?"
01/29/2016 03:56:11 AM - CMDPHP DEVEL: SQL Assoc: "SELECT pc.id, ph.name, ph.file, ph.function FROM plugin_hooks AS ph LEFT JOIN plugin_config AS pc ON pc.directory = ph.name WHERE ph.status = 1 AND hook = ? ORDER BY id ASC"
01/29/2016 03:56:11 AM - CMDPHP DEVEL: SQL Row: "SELECT * FROM graph_tree_items WHERE id = ?"
01/29/2016 03:56:11 AM - CMDPHP DEVEL: SQL Cell: "SELECT name FROM graph_tree WHERE id = ?"
01/29/2016 03:56:11 AM - CMDPHP DEVEL: SQL Assoc: "SELECT pc.id, ph.name, ph.file, ph.function FROM plugin_hooks AS ph LEFT JOIN plugin_config AS pc ON pc.directory = ph.name WHERE ph.status = 1 AND hook = ? ORDER BY id ASC"
01/29/2016 03:56:11 AM - CMDPHP Input Validation Not Performed for 'filter' Backtrace: (/graph_view.php: 227 grow_right_pane_tree)(/lib/html_tree.php: 778 get_request_var_request)(/lib/html_utility.php: 363 get_request_var)(/lib/html_utility.php: 292 html_log_input_error)(/lib/html_validate.php: 44 cacti_debug_backtrace)
01/29/2016 03:56:11 AM - CMDPHP DEVEL: SQL Assoc: "SELECT uag.id, 'group' AS type, policy_graphs, policy_hosts, policy_graph_templates FROM user_auth_group AS uag INNER JOIN user_auth_group_members AS uagm ON uag.id = uagm.group_id WHERE uag.enabled = 'on' AND uagm.user_id = ?"
01/29/2016 03:56:11 AM - CMDPHP DEVEL: SQL Row: "SELECT id, 'user' AS type, policy_graphs, policy_hosts, policy_graph_templates FROM user_auth WHERE id = ?"
01/29/2016 03:56:11 AM - CMDPHP DEVEL: SQL Assoc: "SELECT gti.id, gti.title, gti.rra_id, gtg.local_graph_id, h.description, gt.name AS template_name, gtg.title_cache, gtg.width, gtg.height, gl.snmp_index, gl.snmp_query_id, uap0.user_id AS user0, uap1.user_id AS user1, uap2.user_id AS user2 FROM graph_templates_graph AS gtg INNER JOIN graph_local AS gl ON gl.id = gtg.local_graph_id INNER JOIN graph_tree_items AS gti ON gti.local_graph_id = gl.id LEFT JOIN graph_templates AS gt ON gt.id = gl.graph_template_id LEFT JOIN host AS h ON h.id = gl.host_id LEFT JOIN user_auth_perms AS uap0 ON (gl.id=uap0.item_id AND uap0.type=1) LEFT JOIN user_auth_perms AS uap1 ON (gl.host_id=uap1.item_id AND uap1.type=3) LEFT JOIN user_auth_perms AS uap2 ON (gl.graph_template_id=uap2.item_id AND uap2.type=4) WHERE (gti.graph_tree_id=4 AND gti.parent=2358) HAVING (user0 IS NULL OR (user1 IS NULL OR user2 IS NULL)) ORDER BY gti.position "
01/29/2016 03:56:11 AM - CMDPHP DEVEL: SQL Cell: "SELECT COUNT(*) FROM ( SELECT uap0.user_id AS user0, uap1.user_id AS user1, uap2.user_id AS user2 FROM graph_templates_graph AS gtg INNER JOIN graph_local AS gl ON gl.id = gtg.local_graph_id INNER JOIN graph_tree_items AS gti ON gti.local_graph_id = gl.id LEFT JOIN graph_templates AS gt ON gt.id = gl.graph_template_id LEFT JOIN host AS h ON h.id = gl.host_id LEFT JOIN user_auth_perms AS uap0 ON (gl.id=uap0.item_id AND uap0.type=1) LEFT JOIN user_auth_perms AS uap1 ON (gl.host_id=uap1.item_id AND uap1.type=3) LEFT JOIN user_auth_perms AS uap2 ON (gl.graph_template_id=uap2.item_id AND uap2.type=4) WHERE (gti.graph_tree_id=4 AND gti.parent=2358) HAVING (user0 IS NULL OR (user1 IS NULL OR user2 IS NULL)) ) AS rower"
01/29/2016 03:56:11 AM - CMDPHP Input Validation Not Performed for 'nodeid' Backtrace: (/graph_view.php: 227 grow_right_pane_tree)(/lib/html_tree.php: 883 get_request_var_request)(/lib/html_utility.php: 363 get_request_var)(/lib/html_utility.php: 292 html_log_input_error)(/lib/html_validate.php: 44 cacti_debug_backtrace)
01/29/2016 03:56:11 AM - CMDPHP Input Validation Not Performed for 'host_group_data' Backtrace: (/graph_view.php: 227 grow_right_pane_tree)(/lib/html_tree.php: 883 get_request_var_request)(/lib/html_utility.php: 363 get_request_var)(/lib/html_utility.php: 292 html_log_input_error)(/lib/html_validate.php: 44 cacti_debug_backtrace)
01/29/2016 03:56:11 AM - CMDPHP Input Validation Not Performed for 'page' Backtrace: (/graph_view.php: 227 grow_right_pane_tree)(/lib/html_tree.php: 883 get_request_var_request)(/lib/html_utility.php: 363 get_request_var)(/lib/html_utility.php: 292 html_log_input_error)(/lib/html_validate.php: 44 cacti_debug_backtrace)
01/29/2016 03:56:11 AM - CMDPHP Input Validation Not Performed for 'graphs' Backtrace: (/graph_view.php: 227 grow_right_pane_tree)(/lib/html_tree.php: 883 get_request_var_request)(/lib/html_utility.php: 363 get_request_var)(/lib/html_utility.php: 292 html_log_input_error)(/lib/html_validate.php: 44 cacti_debug_backtrace)
01/29/2016 03:56:11 AM - CMDPHP Input Validation Not Performed for 'columns' Backtrace: (/graph_view.php: 227 grow_right_pane_tree)(/lib/html_tree.php: 883 get_request_var_request)(/lib/html_utility.php: 363 get_request_var)(/lib/html_utility.php: 292 html_log_input_error)(/lib/html_validate.php: 44 cacti_debug_backtrace)
01/29/2016 03:56:11 AM - CMDPHP Input Validation Not Performed for 'graphs' Backtrace: (/graph_view.php: 227 grow_right_pane_tree)(/lib/html_tree.php: 890 get_request_var_request)(/lib/html_utility.php: 363 get_request_var)(/lib/html_utility.php: 292 html_log_input_error)(/lib/html_validate.php: 44 cacti_debug_backtrace)
01/29/2016 03:56:11 AM - CMDPHP Input Validation Not Performed for 'page' Backtrace: (/graph_view.php: 227 grow_right_pane_tree)(/lib/html_tree.php: 890 get_request_var_request)(/lib/html_utility.php: 363 get_request_var)(/lib/html_utility.php: 292 html_log_input_error)(/lib/html_validate.php: 44 cacti_debug_backtrace)
01/29/2016 03:56:11 AM - CMDPHP Input Validation Not Performed for 'graphs' Backtrace: (/graph_view.php: 227 grow_right_pane_tree)(/lib/html_tree.php: 891 get_request_var_request)(/lib/html_utility.php: 363 get_request_var)(/lib/html_utility.php: 292 html_log_input_error)(/lib/html_validate.php: 44 cacti_debug_backtrace)
01/29/2016 03:56:11 AM - CMDPHP DEVEL: SQL Assoc: "SELECT pagi.aggregate_graph_id, pagi.local_graph_id FROM aggregate_graphs_items AS pagi LEFT JOIN graph_local AS gl ON pagi.local_graph_id=gl.id WHERE gl.id IS NULL AND pagi.local_graph_id=1683"
01/29/2016 03:56:11 AM - CMDPHP DEVEL: SQL Cell: "SELECT id FROM aggregate_graphs WHERE local_graph_id=1683"
01/29/2016 03:56:11 AM - CMDPHP DEVEL: SQL Row: "SELECT * FROM aggregate_graphs WHERE local_graph_id=1683"
01/29/2016 03:56:11 AM - CMDPHP DEVEL: SQL Assoc: "SELECT pc.id, ph.name, ph.file, ph.function FROM plugin_hooks AS ph LEFT JOIN plugin_config AS pc ON pc.directory = ph.name WHERE ph.status = 1 AND hook = ? ORDER BY id ASC"
01/29/2016 03:56:11 AM - CMDPHP DEVEL: SQL Assoc: "SELECT pagi.aggregate_graph_id, pagi.local_graph_id FROM aggregate_graphs_items AS pagi LEFT JOIN graph_local AS gl ON pagi.local_graph_id=gl.id WHERE gl.id IS NULL AND pagi.local_graph_id=1904"
01/29/2016 03:56:11 AM - CMDPHP DEVEL: SQL Cell: "SELECT id FROM aggregate_graphs WHERE local_graph_id=1904"
01/29/2016 03:56:11 AM - CMDPHP DEVEL: SQL Row: "SELECT * FROM aggregate_graphs WHERE local_graph_id=1904"
01/29/2016 03:56:11 AM - CMDPHP DEVEL: SQL Assoc: "SELECT pc.id, ph.name, ph.file, ph.function FROM plugin_hooks AS ph LEFT JOIN plugin_config AS pc ON pc.directory = ph.name WHERE ph.status = 1 AND hook = ? ORDER BY id ASC"
01/29/2016 03:56:11 AM - CMDPHP DEVEL: SQL Assoc: "SELECT pagi.aggregate_graph_id, pagi.local_graph_id FROM aggregate_graphs_items AS pagi LEFT JOIN graph_local AS gl ON pagi.local_graph_id=gl.id WHERE gl.id IS NULL AND pagi.local_graph_id=1905"
01/29/2016 03:56:11 AM - CMDPHP DEVEL: SQL Cell: "SELECT id FROM aggregate_graphs WHERE local_graph_id=1905"
01/29/2016 03:56:11 AM - CMDPHP DEVEL: SQL Row: "SELECT * FROM aggregate_graphs WHERE local_graph_id=1905"
01/29/2016 03:56:11 AM - CMDPHP DEVEL: SQL Assoc: "SELECT pc.id, ph.name, ph.file, ph.function FROM plugin_hooks AS ph LEFT JOIN plugin_config AS pc ON pc.directory = ph.name WHERE ph.status = 1 AND hook = ? ORDER BY id ASC"
01/29/2016 03:56:11 AM - CMDPHP DEVEL: SQL Assoc: "SELECT pagi.aggregate_graph_id, pagi.local_graph_id FROM aggregate_graphs_items AS pagi LEFT JOIN graph_local AS gl ON pagi.local_graph_id=gl.id WHERE gl.id IS NULL AND pagi.local_graph_id=1906"
01/29/2016 03:56:11 AM - CMDPHP DEVEL: SQL Cell: "SELECT id FROM aggregate_graphs WHERE local_graph_id=1906"
01/29/2016 03:56:11 AM - CMDPHP DEVEL: SQL Row: "SELECT * FROM aggregate_graphs WHERE local_graph_id=1906"
01/29/2016 03:56:11 AM - CMDPHP DEVEL: SQL Assoc: "SELECT pc.id, ph.name, ph.file, ph.function FROM plugin_hooks AS ph LEFT JOIN plugin_config AS pc ON pc.directory = ph.name WHERE ph.status = 1 AND hook = ? ORDER BY id ASC"
01/29/2016 03:56:11 AM - CMDPHP DEVEL: SQL Assoc: "SELECT pagi.aggregate_graph_id, pagi.local_graph_id FROM aggregate_graphs_items AS pagi LEFT JOIN graph_local AS gl ON pagi.local_graph_id=gl.id WHERE gl.id IS NULL AND pagi.local_graph_id=1907"
01/29/2016 03:56:11 AM - CMDPHP DEVEL: SQL Cell: "SELECT id FROM aggregate_graphs WHERE local_graph_id=1907"
01/29/2016 03:56:11 AM - CMDPHP DEVEL: SQL Row: "SELECT * FROM aggregate_graphs WHERE local_graph_id=1907"
01/29/2016 03:56:11 AM - CMDPHP DEVEL: SQL Assoc: "SELECT pc.id, ph.name, ph.file, ph.function FROM plugin_hooks AS ph LEFT JOIN plugin_config AS pc ON pc.directory = ph.name WHERE ph.status = 1 AND hook = ? ORDER BY id ASC"
01/29/2016 03:56:11 AM - CMDPHP DEVEL: SQL Assoc: "SELECT pagi.aggregate_graph_id, pagi.local_graph_id FROM aggregate_graphs_items AS pagi LEFT JOIN graph_local AS gl ON pagi.local_graph_id=gl.id WHERE gl.id IS NULL AND pagi.local_graph_id=1908"
01/29/2016 03:56:11 AM - CMDPHP DEVEL: SQL Cell: "SELECT id FROM aggregate_graphs WHERE local_graph_id=1908"
01/29/2016 03:56:11 AM - CMDPHP DEVEL: SQL Row: "SELECT * FROM aggregate_graphs WHERE local_graph_id=1908"
01/29/2016 03:56:11 AM - CMDPHP DEVEL: SQL Assoc: "SELECT pc.id, ph.name, ph.file, ph.function FROM plugin_hooks AS ph LEFT JOIN plugin_config AS pc ON pc.directory = ph.name WHERE ph.status = 1 AND hook = ? ORDER BY id ASC"
01/29/2016 03:56:11 AM - CMDPHP DEVEL: SQL Assoc: "SELECT pagi.aggregate_graph_id, pagi.local_graph_id FROM aggregate_graphs_items AS pagi LEFT JOIN graph_local AS gl ON pagi.local_graph_id=gl.id WHERE gl.id IS NULL AND pagi.local_graph_id=1909"
01/29/2016 03:56:11 AM - CMDPHP DEVEL: SQL Cell: "SELECT id FROM aggregate_graphs WHERE local_graph_id=1909"
01/29/2016 03:56:11 AM - CMDPHP DEVEL: SQL Row: "SELECT * FROM aggregate_graphs WHERE local_graph_id=1909"
01/29/2016 03:56:11 AM - CMDPHP DEVEL: SQL Assoc: "SELECT pc.id, ph.name, ph.file, ph.function FROM plugin_hooks AS ph LEFT JOIN plugin_config AS pc ON pc.directory = ph.name WHERE ph.status = 1 AND hook = ? ORDER BY id ASC"
01/29/2016 03:56:11 AM - CMDPHP DEVEL: SQL Assoc: "SELECT pagi.aggregate_graph_id, pagi.local_graph_id FROM aggregate_graphs_items AS pagi LEFT JOIN graph_local AS gl ON pagi.local_graph_id=gl.id WHERE gl.id IS NULL AND pagi.local_graph_id=1910"
01/29/2016 03:56:11 AM - CMDPHP DEVEL: SQL Cell: "SELECT id FROM aggregate_graphs WHERE local_graph_id=1910"
01/29/2016 03:56:11 AM - CMDPHP DEVEL: SQL Row: "SELECT * FROM aggregate_graphs WHERE local_graph_id=1910"
01/29/2016 03:56:11 AM - CMDPHP DEVEL: SQL Assoc: "SELECT pc.id, ph.name, ph.file, ph.function FROM plugin_hooks AS ph LEFT JOIN plugin_config AS pc ON pc.directory = ph.name WHERE ph.status = 1 AND hook = ? ORDER BY id ASC"
01/29/2016 03:56:11 AM - CMDPHP DEVEL: SQL Assoc: "SELECT pagi.aggregate_graph_id, pagi.local_graph_id FROM aggregate_graphs_items AS pagi LEFT JOIN graph_local AS gl ON pagi.local_graph_id=gl.id WHERE gl.id IS NULL AND pagi.local_graph_id=1911"
01/29/2016 03:56:11 AM - CMDPHP DEVEL: SQL Cell: "SELECT id FROM aggregate_graphs WHERE local_graph_id=1911"
01/29/2016 03:56:11 AM - CMDPHP DEVEL: SQL Row: "SELECT * FROM aggregate_graphs WHERE local_graph_id=1911"
01/29/2016 03:56:11 AM - CMDPHP DEVEL: SQL Assoc: "SELECT pc.id, ph.name, ph.file, ph.function FROM plugin_hooks AS ph LEFT JOIN plugin_config AS pc ON pc.directory = ph.name WHERE ph.status = 1 AND hook = ? ORDER BY id ASC"
01/29/2016 03:56:11 AM - CMDPHP DEVEL: SQL Assoc: "SELECT pagi.aggregate_graph_id, pagi.local_graph_id FROM aggregate_graphs_items AS pagi LEFT JOIN graph_local AS gl ON pagi.local_graph_id=gl.id WHERE gl.id IS NULL AND pagi.local_graph_id=1691"
01/29/2016 03:56:11 AM - CMDPHP DEVEL: SQL Cell: "SELECT id FROM aggregate_graphs WHERE local_graph_id=1691"
01/29/2016 03:56:11 AM - CMDPHP DEVEL: SQL Row: "SELECT * FROM aggregate_graphs WHERE local_graph_id=1691"
01/29/2016 03:56:11 AM - CMDPHP DEVEL: SQL Assoc: "SELECT pc.id, ph.name, ph.file, ph.function FROM plugin_hooks AS ph LEFT JOIN plugin_config AS pc ON pc.directory = ph.name WHERE ph.status = 1 AND hook = ? ORDER BY id ASC"
01/29/2016 03:56:11 AM - CMDPHP Input Validation Not Performed for 'leaf_id' Backtrace: (/graph_view.php: 227 grow_right_pane_tree)(/lib/html_tree.php: 906 get_request_var_request)(/lib/html_utility.php: 363 get_request_var)(/lib/html_utility.php: 292 html_log_input_error)(/lib/html_validate.php: 44 cacti_debug_backtrace)
01/29/2016 03:56:11 AM - CMDPHP DEVEL: SQL Assoc: "SELECT pc.id, ph.name, ph.file, ph.function FROM plugin_hooks AS ph LEFT JOIN plugin_config AS pc ON pc.directory = ph.name WHERE ph.status = 1 AND hook = ? ORDER BY id ASC"
01/29/2016 03:56:11 AM - CMDPHP DEVEL: SQL Assoc: "SELECT pc.id, ph.name, ph.file, ph.function FROM plugin_hooks AS ph LEFT JOIN plugin_config AS pc ON pc.directory = ph.name WHERE ph.status = 1 AND hook = ? ORDER BY id ASC"
01/29/2016 03:56:11 AM - CMDPHP DEVEL: SQL Exec: "REPLACE INTO sessions VALUES (?, ?, ?, ?)"
SOLVED Re: Arch Linux PHP 7 issues with GIT
This diff in the git has made it start working correctly. Thanks DEVs!
Code: Select all
diff graph_view.php ../cacti-new/graph_view.php
110c110,114
< $_REQUEST['action'] = $_SESSION['sess_graph_view_action'];
---
> if (in_array($_SESSION['sess_graph_view_action'], array('tree', 'list', 'preview'))) {
> $_REQUEST['action'] = $_SESSION['sess_graph_view_action'];
> } else {
> $_REQUEST['action'] = 'tree';
> }
Who is online
Users browsing this forum: No registered users and 1 guest