[ZBX-4265] errors in maps for guest user, related to iconmapping Created: 2011 Oct 24  Updated: 2017 May 30  Resolved: 2011 Oct 27

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 1.9.6 (beta)
Fix Version/s: 2.0.0

Type: Incident report Priority: Blocker
Reporter: richlv Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: iconmapping, maps
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

trun rev 22624.



 Description   

Error in query [SELECT * FROM images WHERE imageid=] [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1]
mysql_fetch_assoc() expects parameter 1 to be resource, boolean given [include/db.inc.php:594]
mysql_free_result() expects parameter 1 to be resource, boolean given [include/db.inc.php:596]
imagecreatefromstring(): Empty string or invalid image [include/maps.inc.php:306]

------------------------------------------------------------------------
r21499 | eduards | 2011-09-06 09:41:16 +0300 (Tue, 06 Sep 2011) | 1 line

  • ZBXNEXT-785 support of automatic selection of map icon element depending on element type

this seems to happen is there's an iconmapping that doesn't match (but this doesn't happen for a superadmin user...)



 Comments   
Comment by Pavels Jelisejevs (Inactive) [ 2011 Oct 26 ]

Could you please explain, how to reproduce this bug?

Comment by richlv [ 2011 Oct 26 ]

not sure how to reproduce it from the scratch - but it can be seen at https://zabbix.org/zabbix/maps.php?sysmapid=8
errors go away if i disable iconmapping for this map

Comment by Pavels Jelisejevs (Inactive) [ 2011 Oct 27 ]

There was a bug with permissions. RESOLVED.

Comment by Pavels Jelisejevs (Inactive) [ 2011 Oct 31 ]

Merged to trunk revision r22795. CLOSED.

Generated at Fri Apr 19 04:01:12 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.