PDA

View Full Version : Broken images in reports


netground
07-07-2008, 07:59 AM
Hi,

My images are broken when I click on reports. I've got al the correct settings, correctly configured PHP, using GD for other websites on the same server.

Anyone got an idea? Perhaps something with rights?

Screenshot: http://www.netground.nl/images/cap.jpg

Thanks in advance,

Hans

Hildy
07-07-2008, 07:30 PM
It's hard to say exactly what's wrong, there, Hans. Those images are dynamically generated, and it could be almost anything (and it's difficult to debug, since the browser's not expecting output from that code as anything other than an image...)

Check the generated source of that page, and see what it says for the img src, and if that looks reasonable. Do you get anything when loading just that URL manually?

Also, can you paste the GD section of your phpinfo output? (TrueType font support is required in addition to the basic GD, though the requirements checker should tell you if you don't have it)

netground
07-08-2008, 12:40 PM
Hi,

My phpinfo:

GD Support enabled
GD Version bundled (2.0.34 compatible)
FreeType Support enabled
FreeType Linkage with freetype
FreeType Version 2.3.5
T1Lib Support enabled
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled

When I say "View image" on the broken image in my browser, it says:

Fatal error: Call to a member function drawLine() on a non-object in .../plugins/cerberusweb.reports/libs/advgraph/advgraph5.class.php on line 991

(I've removed the entire path).

Hans

netground
07-12-2008, 10:41 AM
Waiting here ... :cool:

netground
07-23-2008, 04:08 PM
:mad: well? ... :(

mfogg
08-21-2008, 01:40 AM
Hi Hans,

I just wanted to let you know that we overhauled the Reports section completely in the most recent stable build of Cerberus. The charts for the reports are now generated in flash, and we don't use the image lib that we were using previously. That should take care of the problem with the images loading for you!