Welcome to Pandora FMS Community › Forums › Community support › Problem viewing images
-
Problem viewing images
Posted by kram on May 15, 2007 at 23:43Hi,
when I login to the webconsole and view the details off my agent, I find several images missing. I also get the page not found error when I click the graph for each of the modules in my agent.
I have already extracted the jpgraph files onto my /usr/local/bin/ directory and also copied the fgraph.php and stat_win.php files to the ./htdocs/pandora_console/reporting/jpgraph/ directory. Is there some more settings I have to change or look at?Thanks in advance!
Kripamanu replied 17 years, 9 months ago 4 Members · 10 Replies -
10 Replies
-
::
Going through the installation document, I figured out that I had to actually copy all the .php files from the pgragh’s tar file into the /reporting/jpgraph folder(do correct me if I am wrong).
But when I try to open the graph in my agent, I still get a image with red cross:(
Any help will be appreciated.
-
::
Going through the installation document, I figured out that I had to actually copy all the .php files from the pgragh’s tar file into the /reporting/jpgraph folder(do correct me if I am wrong).
But when I try to open the graph in my agent, I still get a image with red cross:(
Any help will be appreciated.
Two suggestions:
a) Review permissions and ownership of jpgraph files under /reporting/jpgraph
b) Check it syslog/php errors.
-
::
I checked the perms for the .php files. They seem fine.
I went through the error_log of the apache, it has recorded error saying “File does not exist” for the files op.css, calendar.css, link.css, tip.css. Looks like the stat_win.php is looking for these files inside the repoting directory. But they dont exist there! any idea where I can find them?Thanks in advance!
-
::
I checked the perms for the .php files. They seem fine.
I went through the error_log of the apache, it has recorded error saying “File does not exist” for the files op.css, calendar.css, link.css, tip.css. Looks like the stat_win.php is looking for these files inside the repoting directory. But they dont exist there! any idea where I can find them?Thanks in advance!
Which version are you using?
That files are located at /[pandora_dir]/include/styles, and aren’t used by jpgraph.
Other thing is, reviw that you have downloaded the correct jpgraph version for your PHP version (there are one for PHP5 and other for PHP4).
If using v.1.2 of Pandora FMS, you have to untar and ungzip the files and copy the jpgraph/src folder into reporting/jpgraph folder. Check that the Apache user can view that files.
Raul
-
::
Hi Raul,
I am using v 1.2 Pandora FMS.I found the .css files in the styles directory. But, I get the “file does not exist” error in my error_log file of the apache, until I copy the .css files onto reporting directory. But, even after I do tat, I still get a red cross when I try opening the graph.
I have downloaded jpgraph v 2.2(for PHP5). I untarred and gunziped the file and copied the contents of the jpgraph/src folder to /reporting/jpgraph folder. I also changed the permissions of these files to the user ‘pandora’. I also tried viewing these php files through the webconsole, but they report a prasing error:
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in /usr/local/apache2/htdocs/pandora_console/reporting/jpgraph/jpgraph_pie.php on line 25Pls help. thanks in advance.
-
-
-
-
::
I found a file named “php.ini-recommended”. I renamed it into “php.ini”.
Since I didnt find the line called ‘extension = gd.so’, I added that line under the directive. I restarted the apache server. But still, when I I click on the gragh icon, I get a red cross:(. Did I do anything wrong? Cant I safely assume the gd module is enabled? Please help.
-