Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When going https://cacti/cacti/host.php?action=edit&id=508 #72

Closed
interduo opened this issue Nov 16, 2016 · 2 comments
Closed

When going https://cacti/cacti/host.php?action=edit&id=508 #72

interduo opened this issue Nov 16, 2016 · 2 comments

Comments

@interduo
Copy link
Contributor

interduo commented Nov 16, 2016

2016-11-16 12:54:16 - CMDPHP SQL Backtrace: (/host.php: 105 host_edit)(/host.php: 786 draw_edit_form)(/lib/html_form.php: 93 draw_edit_control)(/lib/html_form.php: 244 db_fetch_assoc)(/lib/database.php: 309 db_fetch_assoc_prepared)(/lib/database.php: 347 cacti_debug_backtrace)
2016-11-16 12:54:17 - ERROR PHP NOTICE: Undefined index: snmp_engine_id in file: /var/www/html/cacti/host.php on line: 654
2016-11-16 12:54:17 - CMDPHP PHP ERROR NOTICE Backtrace: (/host.php: 110 ping_host)(/host.php: 654 CactiErrorHandler)(/lib/functions.php: 4165 cacti_debug_backtrace)

Something is not right after update from git.

@smiles1969
Copy link
Contributor

Check out the latest cacti.sql and make sure you have updated your database. There has been some additions made to fields to support snmp_engine_id in particular. There have been several over the past couple months. You can't just git pull updates without reviewing the potential database structure changes that go with it. Cigamit it pretty good about keeping the cacti.sql file updated when he does commits. I am running the latest update and am not getting that error.

@interduo
Copy link
Contributor Author

I have changed the files so cacti run automaticly /install/ and it was done without errors.
OK I will check diffrences between databases.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants