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

Remove unnecessary includes in aggregate template code #2267

Closed
woutd opened this issue Jan 4, 2019 · 1 comment
Closed

Remove unnecessary includes in aggregate template code #2267

woutd opened this issue Jan 4, 2019 · 1 comment
Labels
resolved A fixed issue

Comments

@woutd
Copy link

woutd commented Jan 4, 2019

Got an include error with Cacti 1.2.0:
2019/01/04 10:14:47 - ERROR PHP WARNING: include_once(/XXX/cacti-1.2.0/api_aggregate.php): failed to open stream: No such file or directory in file: /XXX/cacti-1.2.0/aggregate_templates.php on line: 259

The line reads:
include_once($config['base_path'] . '/api_aggregate.php');

I think this should be:
include_once($config['base_path'] . '/lib/api_aggregate.php');

@cigamit cigamit changed the title Missing "/lib" Remove unnecessary includes in aggregate template code Jan 4, 2019
cigamit added a commit that referenced this issue Jan 4, 2019
Remove unnecessary includes in aggregate template code
@cigamit
Copy link
Member

cigamit commented Jan 4, 2019

Resolved.

@cigamit cigamit closed this as completed Jan 4, 2019
netniV pushed a commit that referenced this issue Jan 4, 2019
Remove unnecessary includes in aggregate template code
@cigamit cigamit added the resolved A fixed issue label Jan 9, 2019
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 30, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
resolved A fixed issue
Projects
None yet
Development

No branches or pull requests

2 participants