CereusReporting - PDF Reports - 4.00 for Cacti 1.x out soon!

Announcements concerning Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Re: CereusReporting - PDF Reports - 3.01 for Cacti 1.x out!

Post by phalek »

Can you post why it gets disabled with mPDF ?
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
Atreides
Cacti User
Posts: 174
Joined: Mon May 31, 2010 9:26 am

Re: CereusReporting - PDF Reports - 3.01 for Cacti 1.x out!

Post by Atreides »

Sure, here is a debug with mPDF.

2019/11/05 17:29:17 - CereusReporting ReportEngine - DEBUG: My Directory [/var/www/html/cacti/plugins/CereusReporting]
2019/11/05 17:29:17 - CereusReporting ReportEngine - DEBUG: Main Directory [/var/www/html/cacti/]
2019/11/05 17:29:17 - ERROR PHP PARSE in Plugin 'CereusReporting': syntax error, unexpected 'const' (T_CONST), expecting variable (T_VARIABLE) in file: /var/www/html/cacti/plugins/CereusReporting/vendor/monolog/monolog/src/Monolog/Logger.php on line: 33
2019/11/05 17:29:17 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler())
2019/11/05 17:29:17 - CMDPHP ERRORS DETECTED - DISABLING PLUGIN 'CereusReporting'
2019/11/05 17:29:17 - SYSTEM WARNING: Primary Admin account notifications disabled! Unable to send administrative Email.
2019/11/05 17:29:34 - ERROR PHP NOTICE: Undefined index: cereusreporting in file: /var/www/html/cacti/settings.php on line: 40
2019/11/05 17:29:34 - CMDPHP PHP ERROR NOTICE Backtrace: (/settings.php[40]:CactiErrorHandler())
2019/11/05 17:29:34 - ERROR PHP WARNING: Invalid argument supplied for foreach() in file: /var/www/html/cacti/settings.php on line: 40
2019/11/05 17:29:34 - CMDPHP PHP ERROR WARNING Backtrace: (/settings.php[40]:CactiErrorHandler())
2019/11/05 17:30:03 - CereusReporting report - Creating database connection
2019/11/05 17:30:03 - CereusReporting report - Initializing Report Engine
2019/11/05 17:30:03 - CereusReporting ReportEngine - DEBUG: My Directory [/var/www/html/cacti/plugins/CereusReporting]
2019/11/05 17:30:03 - CereusReporting ReportEngine - DEBUG: Main Directory [/var/www/html/cacti/]
2019/11/05 17:30:03 - ERROR PHP PARSE in Plugin 'CereusReporting': syntax error, unexpected 'const' (T_CONST), expecting variable (T_VARIABLE) in file: /var/www/html/cacti/plugins/CereusReporting/vendor/monolog/monolog/src/Monolog/Logger.php on line: 33
2019/11/05 17:30:03 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler())
2019/11/05 17:30:03 - CMDPHP ERRORS DETECTED - DISABLING PLUGIN 'CereusReporting'
2019/11/05 17:30:03 - SYSTEM WARNING: Primary Admin account notifications disabled! Unable to send administrative Email.
2019/11/05 17:30:18 - ERROR PHP NOTICE: Undefined index: cereusreporting in file: /var/www/html/cacti/settings.php on line: 40
2019/11/05 17:30:18 - CMDPHP PHP ERROR NOTICE Backtrace: (/settings.php[40]:CactiErrorHandler())
2019/11/05 17:30:18 - ERROR PHP WARNING: Invalid argument supplied for foreach() in file: /var/www/html/cacti/settings.php on line: 40
2019/11/05 17:30:18 - CMDPHP PHP ERROR WARNING Backtrace: (/settings.php[40]:CactiErrorHandler())
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Re: CereusReporting - PDF Reports - 3.01 for Cacti 1.x out!

Post by phalek »

Looks like the Logger module isn't supported on PHP 7.0. If you switch off DEBUG logging, the mPDF engine should work.

I will make a PHP version check to exclude the mPDF extra logging when not running PHP >7.0
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
Atreides
Cacti User
Posts: 174
Joined: Mon May 31, 2010 9:26 am

Re: CereusReporting - PDF Reports - 3.01 for Cacti 1.x out!

Post by Atreides »

Hello,
I can confirm its working with logging set to NONE.
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Re: CereusReporting - PDF Reports - 3.01 for Cacti 1.x out!

Post by phalek »

Ok,

Use this version which disabled the Logger module when not using PHP >7.1

http://www.urban-software.com/wp-conten ... P56-72.zip
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
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Re: CereusReporting - PDF Reports - 4.00 for Cacti 1.x out soon!

Post by phalek »

CereusReporting 4.00 will be released soon !

See here for the current Changelog:
https://www.urban-software.com/products ... changelog/
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
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Re: CereusReporting - PDF Reports - 4.00 for Cacti 1.x out soon!

Post by phalek »

Hi All,

CereusReporting 4.00 has been released.

See the changelog for news:
https://www.urban-software.com/products ... changelog/

Grab your copy here:
https://www.urban-software.com/products ... downloads/
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
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Re: CereusReporting - PDF Reports - 4.00 for Cacti 1.x out soon!

Post by phalek »

CereusReporting will be open-source soon
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
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests