Ad Widget

Collapse

Error when trying to upload images: 1.1alpha12

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ruckus37
    Member
    • Oct 2004
    • 57

    #1

    Error when trying to upload images: 1.1alpha12

    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
    Senior Member
    • Jun 2005
    • 664

    #2
    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.
    Unofficial Zabbix Developer

    Comment

    • ruckus37
      Member
      • Oct 2004
      • 57

      #3
      Thanks i will try that now..

      Comment

      • ruckus37
        Member
        • Oct 2004
        • 57

        #4
        Does anyone know if we can upload pictures/icons yet with 1.1beta2

        Cheers

        Comment

        Working...