PDA

View Full Version : Images from DB not loading


btriem
26-04-2006, 22:58
I've done two installs of the latest beta. The first one went fine, on redhat 9.0, with no problems I could see.

The second install is on FC3 and I have one significant issue.

Images are not loading from the DB, anywhere. Configuration->general->images, for example. All i get is a list with "no image" under all the default system images. I click on the image and I get,

http://zabbix.diamonditservices.com/image.php?imageid=4

on a blank page.

Any other db queries/inserts/updates appear to be functioning properly. I don't get any MySQL errors. I do get an apache "200" error, but that doesn't really tell me much.

Maps can't be created, etc. It appears only to affect images that are located in the db.

Anyone run into this before or have any suggestions on where I should look?

Oh, MySQL server version 4 on my clients server, but the MySQL clients appear to be version 5. I thought this was odd.


Thank you!
Versions Listed Below:
MySQL-client-5.0.19-0
MySQL-server-4.1.18-0
MySQL-devel-5.0.19-0
MySQL-shared-compat-5.0.19-0.glibc23

btriem
28-04-2006, 06:49
I simply had to add
extension = gd.so
to the php.ini file.

I also did the following, wether it helped or not, I really don't know, but it was suggested to do so by several other folks with the same problem with different php apps.

Uninstall all php and gd rpms. Reinstall gd, gd-devel and php, php-devel, php-gd, php-mysql, etc.

This was all supposed to be built into my version of php(gd2), but something wasn't right.

Hope this helps anyone with the same problem.