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

Zabbix-pdf-report/inc/ZabbixAPI.class.php on line 324 #28

Closed
FlanniganColum opened this issue Apr 21, 2022 · 3 comments
Closed

Zabbix-pdf-report/inc/ZabbixAPI.class.php on line 324 #28

FlanniganColum opened this issue Apr 21, 2022 · 3 comments
Assignees
Labels
question Further information is requested

Comments

@FlanniganColum
Copy link

I get the below error when i try and login to the pdf report section. All i done was clone the report into the usr/share/zabbix directory copied the config template to the config file "cp config.inc.php.dist config.inc.php" changed the zabbix url and tested the login..

Any idea what could have caused this??

[Thu Apr 21 09:56:58.501547 2022] [php7:error] [pid 67887] [client XX.XX.XX.XX:52854] PHP Fatal error: Uncaught Error: Call to undefined function curl_init() in /usr/share/zabbix/zabbix-pdf-report/inc/ZabbixAPI.class.php:324\nStack trace:\n#0 /usr/share/zabbix/zabbix-pdf-report/inc/ZabbixAPI.class.php(257): ZabbixAPI::__jsonRequest()\n#1 /usr/share/zabbix/zabbix-pdf-report/inc/ZabbixAPI.class.php(285): ZabbixAPI->__callAPI()\n#2 /usr/share/zabbix/zabbix-pdf-report/inc/ZabbixAPI.class.php(100): ZabbixAPI->__login()\n#3 /usr/share/zabbix/zabbix-pdf-report/index.php(33): ZabbixAPI::login()\n#4 {main}\n thrown in /usr/share/zabbix/zabbix-pdf-report/inc/ZabbixAPI.class.php on line 324, referer: https://zabbix-dev./zabbix-pdf-report/

Zabbix Web Version: 5.4.11

@FlanniganColum FlanniganColum changed the title abbix-pdf-report/inc/ZabbixAPI.class.php on line 324 Zabbix-pdf-report/inc/ZabbixAPI.class.php on line 324 Apr 21, 2022
@martinm76
Copy link
Owner

martinm76 commented Apr 21, 2022 via email

@FlanniganColum
Copy link
Author

Thanks very much that resolved the issue only thing is reports do not show up in "Old reports" section other then that looks like its working thanks

@martinm76 martinm76 self-assigned this May 22, 2022
@martinm76 martinm76 added the question Further information is requested label May 22, 2022
@martinm76
Copy link
Owner

Glad to hear it.
"Old reports" can be a number of things. Are you logging in with the same login each time? I try to limit the view to those who have access to given hosts/host groups. By default Old reports are collapsed and need to be pressed to show anything. There may be interference from SELinux or similar in certain cases.

I hope you can get it resolved. I will close this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants