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

Deprecated functions and legacy path causing issues with schedules #27

Closed
Stanymanman opened this issue Mar 5, 2019 · 2 comments
Closed
Labels
bug resolved This issue is resolved

Comments

@Stanymanman
Copy link

Hello,

I have error when I run a schedule task.
I have the impression the filter don't save the Listener in the query.

2019/03/05 09:45:48 - MAILER ERROR: Impossible d'accéder au fichier :

2019/03/05 09:45:48 - CMDPHP PHP ERROR WARNING Backtrace: (/plugins/flowview/flowview_schedules.php[109]:actions_schedules(), /plugins/flowview/flowview_schedules.php[153]:plugin_flowview_run_schedule(), /plugins/flowview/functions.php[364]:file_get_contents(), CactiErrorHandler())
2019/03/05 09:45:48 - ERROR PHP WARNING in Plugin 'flowview': file_get_contents(/opt/cacti/include/main.css): failed to open stream: No such file or directory in file: /opt/cacti/plugins/flowview/functions.php on line: 364
2019/03/05 09:45:46 - CMDPHP PHP ERROR Backtrace: (/plugins/flowview/flowview_schedules.php[109]:actions_schedules(), /plugins/flowview/flowview_schedules.php[166]:each(), CactiErrorHandler())
2019/03/05 09:45:46 - ERROR PHP DEPRECATED in Plugin 'flowview': The each() function is deprecated. This message will be suppressed on further calls in file: /opt/cacti/plugins/flowview/flowview_schedules.php on line: 166

Other problems :

  • the report parameter "Summary" give a blank page
  • charts are displaying when flash is enabled for the site with Chrome but need to refresh the page to get it working

Thanks.

Ubuntu 18.04
Cacti 1.2.2
Flowview 2.1

@Stanymanman
Copy link
Author

All is working with this install path:

  • Install Cacti 1.1.17 / Flowview 2.1 / PHP 5.6
  • Upgrade to Cacti 1.1.38 / Flowview 2.1 / PHP 5.6

But Upgrade to Cacti 1.2.2 / Flowview 2.1 / PHP 5.6 break the mailer with schedule task:

  • MAILER ERROR : unable to acces file :

Something is broken between 1.1.38 and 1.2.2

Thanks.

@cigamit cigamit added the bug label Jul 25, 2019
@cigamit cigamit changed the title Error on schedule Deprecated functions and legacy path causing issues with schedules Jul 25, 2019
cigamit added a commit that referenced this issue Jul 25, 2019
Deprecated functions and legacy path causing issues with schedules
@cigamit
Copy link
Member

cigamit commented Jul 25, 2019

This is resolved now.

@cigamit cigamit added the resolved This issue is resolved label Jul 25, 2019
@cigamit cigamit closed this as completed Jul 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug resolved This issue is resolved
Projects
None yet
Development

No branches or pull requests

2 participants