mURLin (1.0.0) and reportit error (1.1.3) on cacti 1.1.38

Discussions on developing plugins for the Cacti Plugin Architecture

Moderators: Moderators, Developers

Post Reply
Author
Message
liusc
Posts: 13
Joined: Wed Oct 19, 2011 7:56 pm

mURLin (1.0.0) and reportit error (1.1.3) on cacti 1.1.38

#1 Post by liusc » Thu Jul 04, 2019 5:14 am

I don't know how to resolve below error..Need help..Please..TQ.
Error log:

2019/07/04 15:49:35 - CMDPHP PHP ERROR NOTICE Backtrace: (/plugins/mURLin/scripts/query_sites.php: 156 mURLin_getAvailability)(/plugins/mURLin/scripts/functions.php: 246 mURLin_cache_page)(/plugins/mURLin/scripts/functions.php: 486 input_validate_input_number)(/lib/html_validate.php: 33 die_html_input_error)(/lib/html_validate.php: 67 bottom_footer)(/lib/functions.php: 3537 include)(/include/global_session.php: 82 CactiErrorHandler)(/lib/functions.php: 4590 cacti_debug_backtrace)
2019/07/04 15:49:35 - ERROR PHP NOTICE: Undefined index: REQUEST_URI in file: /usr/share/cacti/include/global_session.php on line: 82
2019/07/04 15:44:11 - CMDPHP PHP ERROR NOTICE Backtrace: (/plugins/mURLin/scripts/query_sites.php: 49 CactiErrorHandler)(/lib/functions.php: 4590 cacti_debug_backtrace)
2019/07/04 15:44:11 - ERROR PHP NOTICE in Plugin 'mURLin': Undefined offset: 2 in file: /usr/share/cacti/plugins/mURLin/scripts/query_sites.php on line: 49
2019/07/04 15:17:58 - CMDPHP PHP ERROR WARNING Backtrace: (/plugins/mURLin/scripts/test_regex.php: 64 preg_match)(CactiErrorHandler)(/lib/functions.php: 4585 cacti_debug_backtrace)
2019/07/04 15:17:58 - ERROR PHP WARNING in Plugin 'mURLin': preg_match(): Compilation failed: nothing to repeat at offset 0 in file: /usr/share/cacti/plugins/mURLin/scripts/test_regex.php on line: 64
2019/07/04 15:17:29 - CMDPHP ERRORS DETECTED - DISABLING PLUGIN 'mURLin'
2019/07/04 15:17:29 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler)(/lib/functions.php: 4628 cacti_debug_backtrace)
2019/07/04 15:17:29 - ERROR PHP ERROR in Plugin 'mURLin': Cannot redeclare murlin_includejavascript() in file: /usr/share/cacti/plugins/mURLin/scripts/functions.php on line: 37
2019/07/04 15:11:45 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler)(/lib/functions.php: 4628 cacti_debug_backtrace)
2019/07/04 15:11:45 - ERROR PHP ERROR: Cannot redeclare xml_to_array() in file: /usr/share/cacti/lib/import.php on line: 1967
2019/07/04 15:10:12 - CMDPHP PHP ERROR NOTICE Backtrace: (/plugins/mURLin/scripts/query_sites.php: 173 CactiErrorHandler)(/lib/functions.php: 4590 cacti_debug_backtrace)
2019/07/04 15:10:12 - ERROR PHP NOTICE in Plugin 'mURLin': Array to string conversion in file: /usr/share/cacti/plugins/mURLin/scripts/query_sites.php on line: 173
2019/07/04 15:08:33 - CMDPHP ERRORS DETECTED - DISABLING PLUGIN 'mURLin'
2019/07/04 15:08:33 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler)(/lib/functions.php: 4628 cacti_debug_backtrace)
2019/07/04 15:08:33 - ERROR PHP ERROR in Plugin 'mURLin': Cannot redeclare murlin_includejavascript() in file: /usr/share/cacti/plugins/mURLin/scripts/functions.php on line: 37
2019/07/04 15:05:11 - CMDPHP PHP ERROR NOTICE Backtrace: (/plugins/mURLin/scripts/query_sites.php: 173 CactiErrorHandler)(/lib/functions.php: 4590 cacti_debug_backtrace)
2019/07/04 15:05:11 - ERROR PHP NOTICE in Plugin 'mURLin': Array to string conversion in file: /usr/share/cacti/plugins/mURLin/scripts/query_sites.php on line: 173
2019/07/04 14:59:03 - CMDPHP ERRORS DETECTED - DISABLING PLUGIN 'mURLin'
2019/07/04 14:59:03 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler)(/lib/functions.php: 4628 cacti_debug_backtrace)
2019/07/04 14:59:03 - ERROR PHP ERROR in Plugin 'mURLin': Cannot redeclare murlin_includejavascript() in file: /usr/share/cacti/plugins/mURLin/scripts/functions.php on line: 37
2019/07/04 14:58:47 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler)(/lib/functions.php: 4628 cacti_debug_backtrace)
2019/07/04 14:58:47 - ERROR PHP ERROR: Cannot redeclare xml_to_array() in file: /usr/share/cacti/lib/import.php on line: 1967
2019/07/04 14:58:36 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler)(/lib/functions.php: 4628 cacti_debug_backtrace)
2019/07/04 14:58:36 - ERROR PHP ERROR: Cannot redeclare xml_to_array() in file: /usr/share/cacti/lib/import.php on line: 1967
2019/07/04 14:58:36 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler)(/lib/functions.php: 4628 cacti_debug_backtrace)
2019/07/04 14:58:36 - ERROR PHP ERROR: Cannot redeclare xml_to_array() in file: /usr/share/cacti/lib/import.php on line: 1967
2019/07/04 14:58:36 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler)(/lib/functions.php: 4628 cacti_debug_backtrace)
2019/07/04 14:58:36 - ERROR PHP ERROR: Cannot redeclare xml_to_array() in file: /usr/share/cacti/lib/import.php on line: 1967
2019/07/04 14:58:36 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler)(/lib/functions.php: 4628 cacti_debug_backtrace)
2019/07/04 14:58:36 - ERROR PHP ERROR: Cannot redeclare xml_to_array() in file: /usr/share/cacti/lib/import.php on line: 1967
2019/07/04 14:58:35 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler)(/lib/functions.php: 4628 cacti_debug_backtrace)
2019/07/04 14:58:35 - ERROR PHP ERROR: Cannot redeclare xml_to_array() in file: /usr/share/cacti/lib/import.php on line: 1967
2019/07/04 14:58:35 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler)(/lib/functions.php: 4628 cacti_debug_backtrace)
2019/07/04 14:58:35 - ERROR PHP ERROR: Cannot redeclare xml_to_array() in file: /usr/share/cacti/lib/import.php on line: 1967
2019/07/04 14:58:34 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler)(/lib/functions.php: 4628 cacti_debug_backtrace)
2019/07/04 14:58:34 - ERROR PHP ERROR: Cannot redeclare xml_to_array() in file: /usr/share/cacti/lib/import.php on line: 1967
2019/07/04 14:58:34 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler)(/lib/functions.php: 4628 cacti_debug_backtrace)
2019/07/04 14:58:34 - ERROR PHP ERROR: Cannot redeclare xml_to_array() in file: /usr/share/cacti/lib/import.php on line: 1967
2019/07/04 14:58:34 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler)(/lib/functions.php: 4628 cacti_debug_backtrace)
2019/07/04 14:58:34 - ERROR PHP ERROR: Cannot redeclare xml_to_array() in file: /usr/share/cacti/lib/import.php on line: 1967
2019/07/04 14:58:33 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler)(/lib/functions.php: 4628 cacti_debug_backtrace)
2019/07/04 14:58:33 - ERROR PHP ERROR: Cannot redeclare xml_to_array() in file: /usr/share/cacti/lib/import.php on line: 1967
2019/07/04 14:58:32 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler)(/lib/functions.php: 4628 cacti_debug_backtrace)
2019/07/04 14:58:32 - ERROR PHP ERROR: Cannot redeclare xml_to_array() in file: /usr/share/cacti/lib/import.php on line: 1967
2019/07/04 14:58:30 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler)(/lib/functions.php: 4628 cacti_debug_backtrace)
2019/07/04 14:58:30 - ERROR PHP ERROR: Cannot redeclare xml_to_array() in file: /usr/share/cacti/lib/import.php on line: 1967
2019/07/04 14:58:24 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler)(/lib/functions.php: 4628 cacti_debug_backtrace)
2019/07/04 14:58:24 - ERROR PHP ERROR: Cannot redeclare xml_to_array() in file: /usr/share/cacti/lib/import.php on line: 1967
2019/07/04 14:58:14 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler)(/lib/functions.php: 4628 cacti_debug_backtrace)
2019/07/04 14:58:14 - ERROR PHP ERROR: Cannot redeclare xml_to_array() in file: /usr/share/cacti/lib/import.php on line: 1967
2019/07/04 14:57:59 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler)(/lib/functions.php: 4628 cacti_debug_backtrace)
2019/07/04 14:57:59 - ERROR PHP ERROR: Cannot redeclare xml_to_array() in file: /usr/share/cacti/lib/import.php on line: 1967
2019/07/04 14:46:38 - CMDPHP PHP ERROR NOTICE Backtrace: (/plugins/mURLin/url_edit.php: 54 SaveHost)(/plugins/mURLin/url_edit.php: 101 CactiErrorHandler)(/lib/functions.php: 4590 cacti_debug_backtrace)
2019/07/04 14:46:38 - ERROR PHP NOTICE in Plugin 'mURLin': Undefined variable: id in file: /usr/share/cacti/plugins/mURLin/url_edit.php on line: 101
2019/07/04 14:46:33 - CMDPHP PHP ERROR WARNING Backtrace: (/plugins/mURLin/scripts/test_regex.php: 64 preg_match)(CactiErrorHandler)(/lib/functions.php: 4585 cacti_debug_backtrace)
2019/07/04 14:46:33 - ERROR PHP WARNING in Plugin 'mURLin': preg_match(): Compilation failed: nothing to repeat at offset 0 in file: /usr/share/cacti/plugins/mURLin/scripts/test_regex.php on line: 64
2019/07/04 14:45:52 - CMDPHP ERRORS DETECTED - DISABLING PLUGIN 'mURLin'
2019/07/04 14:45:52 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler)(/lib/functions.php: 4628 cacti_debug_backtrace)
2019/07/04 14:45:52 - ERROR PHP ERROR in Plugin 'mURLin': Cannot redeclare murlin_includejavascript() in file: /usr/share/cacti/plugins/mURLin/scripts/functions.php on line: 37
2019/07/04 13:59:56 - CMDPHP ERRORS DETECTED - DISABLING PLUGIN 'mURLin'
2019/07/04 13:59:56 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler)(/lib/functions.php: 4628 cacti_debug_backtrace)
2019/07/04 13:59:56 - ERROR PHP ERROR in Plugin 'mURLin': Cannot redeclare murlin_includejavascript() in file: /usr/share/cacti/plugins/mURLin/scripts/functions.php on line: 37
2019/07/04 13:49:54 - CMDPHP ERRORS DETECTED - DISABLING PLUGIN 'mURLin'
2019/07/04 13:49:54 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler)(/lib/functions.php: 4628 cacti_debug_backtrace)
2019/07/04 13:49:54 - ERROR PHP ERROR in Plugin 'mURLin': Cannot redeclare murlin_includejavascript() in file: /usr/share/cacti/plugins/mURLin/scripts/functions.php on line: 37
2019/07/04 12:21:00 - DBCALL ERROR: SQL Assoc Failed!, Error: Unknown column 'spanned__2' in 'order clause'
2019/07/04 12:21:00 - DBCALL ERROR: SQL Assoc Failed!, Error:1054, SQL:'SELECT a.*, b.*, c.name_cache FROM plugin_reportit_results_2 AS a INNER JOIN plugin_reportit_data_items AS b ON (a.id = b.id AND b.report_id = 2) INNER JOIN data_template_data AS c ON c.local_data_id = a.id ORDER BY `spanned__2` ASC LIMIT 0,30'
2019/07/04 12:17:32 - DBCALL ERROR: SQL Assoc Failed!, Error: Unknown column 'HTTPING__1' in 'order clause'
2019/07/04 12:17:32 - DBCALL ERROR: SQL Assoc Failed!, Error:1054, SQL:'SELECT a.*, b.*, c.name_cache FROM plugin_reportit_results_2 AS a INNER JOIN plugin_reportit_data_items AS b ON (a.id = b.id AND b.report_id = 2) INNER JOIN data_template_data AS c ON c.local_data_id = a.id ORDER BY `HTTPING__1` DESC LIMIT 0,30'
2019/07/04 12:11:48 - DBCALL ERROR: SQL Assoc Failed!, Error: Unknown column 'spanned__1' in 'order clause'
2019/07/04 12:11:48 - DBCALL ERROR: SQL Assoc Failed!, Error:1054, SQL:'SELECT a.*, b.*, c.name_cache FROM plugin_reportit_results_1 AS a INNER JOIN plugin_reportit_data_items AS b ON (a.id = b.id AND b.report_id = 1) INNER JOIN data_template_data AS c ON c.local_data_id = a.id ORDER BY `spanned__1` ASC LIMIT 0,30'
2019/07/04 12:11:46 - DBCALL ERROR: SQL Assoc Failed!, Error: Unknown column 'spanned__1' in 'order clause'
2019/07/04 12:11:46 - DBCALL ERROR: SQL Assoc Failed!, Error:1054, SQL:'SELECT a.*, b.*, c.name_cache FROM plugin_reportit_results_1 AS a INNER JOIN plugin_reportit_data_items AS b ON (a.id = b.id AND b.report_id = 1) INNER JOIN data_template_data AS c ON c.local_data_id = a.id ORDER BY `spanned__1` ASC LIMIT 0,30'
2019/07/04 12:11:45 - DBCALL ERROR: SQL Assoc Failed!, Error: Unknown column 'spanned__1' in 'order clause'
2019/07/04 12:11:45 - DBCALL ERROR: SQL Assoc Failed!, Error:1054, SQL:'SELECT a.*, b.*, c.name_cache FROM plugin_reportit_results_1 AS a INNER JOIN plugin_reportit_data_items AS b ON (a.id = b.id AND b.report_id = 1) INNER JOIN data_template_data AS c ON c.local_data_id = a.id ORDER BY b.description, `spanned__1` ASC LIMIT 0,30'
2019/07/04 12:11:43 - DBCALL ERROR: SQL Assoc Failed!, Error: Unknown column 'spanned__1' in 'order clause'
2019/07/04 12:11:43 - DBCALL ERROR: SQL Assoc Failed!, Error:1054, SQL:'SELECT a.*, b.*, c.name_cache FROM plugin_reportit_results_1 AS a INNER JOIN plugin_reportit_data_items AS b ON (a.id = b.id AND b.report_id = 1) INNER JOIN data_template_data AS c ON c.local_data_id = a.id ORDER BY `spanned__1` ASC LIMIT 0,30'
2019/07/04 12:11:34 - DBCALL ERROR: SQL Assoc Failed!, Error: Unknown column 'spanned__1' in 'order clause'
2019/07/04 12:11:34 - DBCALL ERROR: SQL Assoc Failed!, Error:1054, SQL:'SELECT a.*, b.*, c.name_cache FROM plugin_reportit_results_1 AS a INNER JOIN plugin_reportit_data_items AS b ON (a.id = b.id AND b.report_id = 1) INNER JOIN data_template_data AS c ON c.local_data_id = a.id ORDER BY `spanned__1` ASC LIMIT 0,30'
2019/07/04 12:11:32 - DBCALL ERROR: SQL Assoc Failed!, Error: Unknown column 'spanned__1' in 'order clause'
2019/07/04 12:11:32 - DBCALL ERROR: SQL Assoc Failed!, Error:1054, SQL:'SELECT a.*, b.*, c.name_cache FROM plugin_reportit_results_1 AS a INNER JOIN plugin_reportit_data_items AS b ON (a.id = b.id AND b.report_id = 1) INNER JOIN data_template_data AS c ON c.local_data_id = a.id ORDER BY `spanned__1` ASC LIMIT 0,30'
2019/07/04 12:11:31 - DBCALL ERROR: SQL Assoc Failed!, Error: Unknown column 'spanned__1' in 'order clause'
2019/07/04 12:11:31 - DBCALL ERROR: SQL Assoc Failed!, Error:1054, SQL:'SELECT a.*, b.*, c.name_cache FROM plugin_reportit_results_1 AS a INNER JOIN plugin_reportit_data_items AS b ON (a.id = b.id AND b.report_id = 1) INNER JOIN data_template_data AS c ON c.local_data_id = a.id ORDER BY `spanned__1` ASC LIMIT 0,30'
2019/07/04 12:11:20 - DBCALL ERROR: SQL Assoc Failed!, Error: Unknown column 'spanned__1' in 'order clause'
2019/07/04 12:11:20 - DBCALL ERROR: SQL Assoc Failed!, Error:1054, SQL:'SELECT a.*, b.*, c.name_cache FROM plugin_reportit_results_1 AS a INNER JOIN plugin_reportit_data_items AS b ON (a.id = b.id AND b.report_id = 1) INNER JOIN data_template_data AS c ON c.local_data_id = a.id ORDER BY `spanned__1` ASC LIMIT 0,30'
2019/07/04 11:18:43 - DBCALL ERROR: SQL Assoc Failed!, Error: Unknown column 'description' in 'order clause'
2019/07/04 11:18:43 - DBCALL ERROR: SQL Assoc Failed!, Error:1054, SQL:'SELECT user_auth.full_name, reports.*, CONCAT_WS('', intrvl, ' ', count, ' ', offset, '') AS cint FROM reports LEFT JOIN user_auth ON user_auth.id=reports.user_id ORDER BY description ASC LIMIT 0,30'
2019/07/04 08:41:24 - CMDPHP PHP ERROR NOTICE Backtrace: (/plugins/reportit/reports.php: 59 form_save)(/plugins/reportit/reports.php: 644 CactiErrorHandler)(/lib/functions.php: 4590 cacti_debug_backtrace)
2019/07/04 08:41:24 - ERROR PHP NOTICE in Plugin 'reportit': Uninitialized string offset: 1 in file: /usr/share/cacti/plugins/reportit/reports.php on line: 644
2019/07/03 16:43:51 - DBCALL ERROR: SQL Assoc Failed!, Error: Unknown column 'description' in 'order clause'
2019/07/03 16:43:51 - DBCALL ERROR: SQL Assoc Failed!, Error:1054, SQL:'SELECT user_auth.full_name, reports.*, CONCAT_WS('', intrvl, ' ', count, ' ', offset, '') AS cint FROM reports LEFT JOIN user_auth ON user_auth.id=reports.user_id ORDER BY description ASC LIMIT 0,30'
2019/07/03 16:43:46 - DBCALL ERROR: SQL Assoc Failed!, Error: Unknown column 'description' in 'order clause'
2019/07/03 16:43:46 - DBCALL ERROR: SQL Assoc Failed!, Error:1054, SQL:'SELECT user_auth.full_name, reports.*, CONCAT_WS('', intrvl, ' ', count, ' ', offset, '') AS cint FROM reports LEFT JOIN user_auth ON user_auth.id=reports.user_id ORDER BY description ASC LIMIT 0,30'
2019/07/03 16:33:32 - CMDPHP PHP ERROR NOTICE Backtrace: (/plugins/reportit/reports.php: 59 form_save)(/plugins/reportit/reports.php: 644 CactiErrorHandler)(/lib/functions.php: 4590 cacti_debug_backtrace)
2019/07/03 16:33:32 - ERROR PHP NOTICE in Plugin 'reportit': Uninitialized string offset: 1 in file: /usr/share/cacti/plugins/reportit/reports.php on line: 644
2019/07/03 14:05:52 - DBCALL ERROR: SQL Assoc Failed!, Error: You have an error in y syntax to use near ') <= UNIX_TIMESTAMP()' at line 1
2019/07/03 14:05:52 - DBCALL ERROR: SQL Assoc Failed!, Error:1064, SQL:'SHOW TABLE STATUS WHERE `Name` LIKE 'reportit_tmp_%' AND (UNIX_TIMESTAMP(`Update_time`) + ) <= UNIX_TIMESTAMP()'

User avatar
Osiris
Cacti Pro User
Posts: 841
Joined: Mon Jan 05, 2015 10:10 am

Re: mURLin (1.0.0) and reportit error (1.1.3) on cacti 1.1.3

#2 Post by Osiris » Mon Jul 22, 2019 5:54 am

Where are you getting that plugin from?
Before history, there was a paradise, now dust.

netniV
Cacti Guru User
Posts: 2788
Joined: Sun Aug 27, 2017 12:05 am

Re: mURLin (1.0.0) and reportit error (1.1.3) on cacti 1.1.3

#3 Post by netniV » Mon Jul 22, 2019 11:47 am

mURL isn't a working port yet on my repo. And the one from 0.8.8 does simply not work at all under 1.x.

I may be working soon on the mURL plugin myself as someone else was doing some updates for it but I haven't seen or reviewed any of that. Once I have, it will be supporting Cacti 1.2.x, not 1.1.x

Post Reply