ZABBIX BUGS AND ISSUES

Image upload not working properly

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Cannot Reproduce
  • Affects Version/s: 1.4.5
  • Fix Version/s: None
  • Component/s: Frontend (F)
  • Labels:
    None
  • Environment:
    Centos 4.5, zabbix 1.4.6, postgres 8.2.x
    browser: tried both firefox 3 and safari
  • Zabbix ID:
    RTD

Description

When trying to create a new image (icon for map), I get the following error when trying to display the image (i.e. it uploads ok, but does not display properly):

(main text of the image, html not included)
imagecreatefromstring() :Data is not in a recognized format [image.php:58]
imagepng(): supplied argument is not a valid Image resource [/include/config.inc.php:1683]
imagedestroy(): supplied argument is not a valid Image resource [/include/config.inc.php:1683]

To reproduce:
Go to general, images. Click on one of the icons to display, right click, save as.
Go back, click create new image, give it a name, and upload the png file you just downloaded. Should see these errors, at least with a postgres backend.

Activity

Steve Ruiz made changes -
Field Original Value New Value
Attachment zabbixerror.png [ 10289 ]
Alexei Vladishev made changes -
Workflow jira [ 10803 ] Zabbix workflow [ 12387 ]
richlv made changes -
Assignee Alexei Vladishev [ alexei ]
Aron Ujvari made changes -
Alexei Vladishev made changes -
Workflow Zabbix workflow [ 12387 ] Zabbix workflow2 [ 13430 ]
richlv made changes -
Assignee Alexander Vladishev [ sasha ]
Alexei Vladishev made changes -
Workflow Zabbix workflow2 [ 13430 ] Zabbix workflow [ 15123 ]
Alexei Vladishev made changes -
Assignee Alexander Vladishev [ sasha ]
Andrew Flannery made changes -
Attachment zabbix-1.8.2_mysql_image_fix.patch [ 14097 ]
gabhosh made changes -
Attachment zabbix-1.8.5_mysql_image_fix.patch [ 15851 ]
Alexei Vladishev made changes -
Zabbix ID Reviewed 2.0
Alexei Vladishev made changes -
Zabbix ID Reviewed 2.0 RTD
richlv made changes -
Status Open [ 1 ] Need info [ 10001 ]
Ivo Kurzemnieks made changes -
Status Need info [ 10001 ] Closed [ 6 ]
Fix Version/s 2.3.0 (trunk) [ 12006 ]
Fix Version/s 2.2.3 [ 12106 ]
Fix Version/s 2.2.2 [ 12012 ]
Fix Version/s 1.8.19 [ 11909 ]
Resolution Fixed [ 1 ]
Oleksiy Zagorskyi made changes -
Resolution Fixed [ 1 ]
Status Closed [ 6 ] Reopened [ 4 ]
Oleksiy Zagorskyi made changes -
Status Reopened [ 4 ] Closed [ 6 ]
Fix Version/s 1.8.19 [ 11909 ]
Fix Version/s 2.3.0 (trunk) [ 12006 ]
Fix Version/s 2.2.2 [ 12012 ]
Fix Version/s 2.2.3 [ 12106 ]
Resolution Cannot Reproduce [ 5 ]

People

Vote (5)
Watch (7)

Dates

  • Created:
    Updated:
    Resolved: