-
Notifications
You must be signed in to change notification settings - Fork 55
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
Comments
Two things:
You seem to be missing curl support in your PHP installation. Find the
package that provides this and install it.
Secondly, make sure you set the version in config.inc.php to at least 5 so
it disables certain debug calls that are no longer needed and result in
extraneous output to the web page.
tor. 21. apr. 2022 16.01 skrev cflannigan ***@***.***>:
… 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
—
Reply to this email directly, view it on GitHub
<#28>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACWMJDTIVV7ECQEJIKP37XDVGFNTDANCNFSM5T7LEMVQ>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
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 |
Glad to hear it. I hope you can get it resolved. I will close this issue. |
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
The text was updated successfully, but these errors were encountered: