PDA

View Full Version : Error when trying to upload images: 1.1alpha12


ruckus37
08-09-2005, 19:30
Hi All

Zabbix is the best, I do not want too rush things, if this is a bug then I will wait for the final release. Just want to know if anyone else gets this error when uploading images


Warning: fopen("", "r") - Success in /var/www/html/zabbix/include/config.inc.php on line 1465

Warning: stat failed for (errno=2 - No such file or directory) in /var/www/html/zabbix/include/config.inc.php on line 1465

Warning: fread(): supplied argument is not a valid File-Handle resource in /var/www/html/zabbix/include/config.inc.php on line 1465


I have looked around for a /tmp directory setting without luck, anyone shed any light on this error, it happens with backgroung and icon uploads, I have tried whith gif, png and jpg.

Is there a workaround so that I can just dump images into the server filesystem or does it go through the database.

Thanks

Ruckus37

James Wells
08-09-2005, 19:42
Greetings,

Actually, when you use that function, it loads the image directly into the database, using a BLOB type. You can load them manually as a workaround, until this get's fixed. To see an example of how to load it manually, check out;
zabbix-1.1alpha1/create/data/images.sql

This is an SQL script that bulk loads the images that Alexei provides with the package.

ruckus37
08-09-2005, 19:47
Thanks i will try that now..

ruckus37
03-11-2005, 15:48
Does anyone know if we can upload pictures/icons yet with 1.1beta2

Cheers