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

Cacti 1.2.28 complaining about ambiguous name spaces with reportit 2.0, some pages are blank #122

Open
bernisys opened this issue Nov 29, 2024 · 0 comments

Comments

@bernisys
Copy link

Describe the bug
We just upgraded from version 1.1.2
This happens in cacti 1.2.28 but probably also other versions are affected.

During re-activation of the plugin, the following warnings appeared:

2024-11-29 11:24:07 - PLUGIN WARNING: Registering Realm for Plugin reportit and Filenames view.php,charts.php is ambiguous.  Using first matching Realm.  Contact the plugin owner to resolve this issue.
2024-11-29 11:24:10 - PLUGIN WARNING: Registering Realm for Plugin reportit and Filenames reports.php,view.php is ambiguous.  Using first matching Realm.  Contact the plugin owner to resolve this issue.

Maybe as a result of this, we have problems with some pages only showing a blank page.
For example:

  • Console -> Management -> ReportIt
  • we click on the wrench icon of an existing report
  • this takes us to the page /cacti/plugins/reportit/reports.php
  • but the page content is blank

To Reproduce

  • remove files from 1.1.2 and copy + activate reportit 2.0
  • obeserve realm warnings in cacti.log
  • click wrench icon of a report in the list

Expected behavior
there should be no warnings, pages should have content

Plugin (please complete the following information):

  • Version: 2.0 (development branch [this could be cleaned up by tagging it as v2.0])
  • Source: github
  • Identifer: last commit was 04360b6 (installed develop/HEAD from today, 2024-11-29)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant