Hi!
I have a simple cacti installation, runing over years and is now on Cacti Version 1.2.4. These runs fine. The thold plugin was enabled in the past, but not used. Now I try to create a thold and it's not possible. If I try to create a new Thold I can select e.g as Type "not templated" but then I can't select a device. Parallel I can see these error in the cacti.log:
2019/07/16 19:01:34 - ERROR PHP NOTICE in Plugin 'thold': Undefined variable: in_sql in file: /usr/share/cacti/plugins/thold/thold_webapi.php on line: 456
2019/07/16 19:01:34 - CMDPHP PHP ERROR NOTICE Backtrace: (/plugins/thold/thold.php[83]:thold_add(), /plugins/thold/thold.php[194]:thold_wizard(), /plugins/thold/thold_webapi.php[456]:CactiErrorHandler())
2019/07/16 19:01:34 - ERROR PHP WARNING in Plugin 'thold': implode(): Invalid arguments passed in file: /usr/share/cacti/plugins/thold/thold_webapi.php on line: 456
2019/07/16 19:01:34 - CMDPHP PHP ERROR WARNING Backtrace: (/plugins/thold/thold.php[83]:thold_add(), /plugins/thold/thold.php[194]:thold_wizard(), /plugins/thold/thold_webapi.php[456]:implode(), CactiErrorHandler())
2019/07/16 19:01:34 - CMDPHP ERROR: A DB Row Failed!, Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') ORDER BY name' at line 1
2019/07/16 19:01:34 - CMDPHP SQL Backtrace: (/plugins/thold/thold.php[83]:thold_add(), /plugins/thold/thold.php[194]:thold_wizard(), /plugins/thold/thold_webapi.php[580]:draw_edit_form(), /lib/html_form.php[112]:draw_edit_control(), /lib/html_form.php[278]:db_fetch_assoc(), /lib/database.php[452]:db_fetch_assoc_prepared(), /lib/database.php[466]:db_execute_prepared())
What can I do, to fix these error? I have no idea and don't find something in the forum.
As Info, System is a CentOS Linux 6.10.
Thanks for help
Christian
Problem to create Tholds "A DB Row Failed"
Moderators: Developers, Moderators
Re: Problem to create Tholds "A DB Row Failed"
Have you got the latest version of thold?
Cacti Developer & Release Manager
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
Re: Problem to create Tholds "A DB Row Failed"
Version 1.3.1 donwload from GitHubnetniV wrote:Have you got the latest version of thold?
Re: Problem to create Tholds "A DB Row Failed"
Then that would be a bug and should be reported on that github repo.
Cacti Developer & Release Manager
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
Who is online
Users browsing this forum: No registered users and 1 guest