Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
yeah, didn't have my 2nd coffee in yet, so I didn't see the 2nd screenshot ...
where did you put the database config in ?
The cgi script is reading in the cacti/include/config.php file, which normally contains the database settings, is this also true in your case ?
_________________
phalek wrote:yeah, didn't have my 2nd coffee in yet, so I didn't see the 2nd screenshot ...
where did you put the database config in ?
The cgi script is reading in the cacti/include/config.php file, which normally contains the database settings, is this also true in your case ?
_________________
in /var/www/html/include
i remember. now i open site only on url https://1.1.1.1
not addition /cacti or etc. maybe this?
install_driver(mysql) failed: Can't load 'auto/DBD/mysql/mysql.so' for module DBD::mysql: auto/DBD/mysql/mysql.so: cannot open shared object file: No such file or directory at /</var/www/html/plugins/nmidCreatePDF/createPDFReport.cgi>DynaLoader.pm line 217.
at perlapp line 807
Perhaps a required shared library or dll isn't installed where expected
at /</var/www/html/plugins/nmidCreatePDF/createPDFReport.cgi>DB/DBSubsOO.pm line 100
[root@localhost nmidCreatePDF]#
I have installed it all following the instructions. I get the little icon to create the pdf, which I click on, and it opens a new page, with nothing on it?
If i try to run the createPDFreport.cgi on the command line i get the following error:
Content-Type : application/pdf
Use of uninitialized value in concatenation (.) or string at createPDFReport.pl line 54.
DBD::mysql::st execute failed: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 at /</usr/local/groundwork/cacti/plugins/nmidCreatePDF/createPDFReport.cgi>DB/DBSubsOO.pm line 133.
DBD::mysql::st fetchall_arrayref failed: fetch() without execute() at /</usr/local/groundwork/cacti/plugins/nmidCreatePDF/createPDFReport.cgi>DB/DBSubsOO.pm line 136.
Use of uninitialized value in concatenation (.) or string at createPDFReport.pl line 56.
DBD::mysql::st execute failed: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 at /</usr/local/groundwork/cacti/plugins/nmidCreatePDF/createPDFReport.cgi>DB/DBSubsOO.pm line 133.