[ZBX-4583] Event details don't show - PHP error: object _footer is not defined Created: 2012 Jan 26  Updated: 2017 May 30  Resolved: 2012 Apr 02

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

Type: Incident report Priority: Major
Reporter: Jens Berthold Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: events, gui
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Debian 6.0.3
mysql Ver 14.14 Distrib 5.1.49, for debian-linux-gnu (x86_64)
PHP 5.3.3-7+squeeze3 with Suhosin-Patch (cli)



 Description   

Main contents (below menu bar) on page "Event details" don't show.

Apache throws a PHP Fatal error: Call to a member function setAttribute() on a non-object in /var/www/zabbix/include/classes/class.cuiwidget.php on line 98, referer: http://1.2.3.4/zabbixevents.php?sid=a43d3cd4365cec91&form_refresh=1&fullscreen=0&groupid=3&hostid=10073&source=0

When I comment out line 98 in class.cuiwidget.php, it works:
// $this->_footer->setAttribute('style', 'display: none;');

Looks like $this->_footer is not defined, maybe method setFooter() in same class never get's called for some reason?



 Comments   
Comment by richlv [ 2012 Jan 26 ]

for the record, couldn't reproduce this with trunk rev 25028 or 1.9.8, both with php 5.3.3 and 5.3.5

Comment by Oleksii Zagorskyi [ 2012 Jan 26 ]

I cannot reproduce too in Zabbix trunk rev 25028.
Debian 6.0.3, php5 5.3.9-2

Comment by Jens Berthold [ 2012 Jan 26 ]

Seems to be user related - when I log in as "Admin", the page displays. But when logging in as another user (Zabbix Super Admin, LDAP authenticated), it fails.

Comment by Lupu rau [ 2012 Feb 27 ]

I have the same problem:
PHP Fatal error: Call to a member function setAttribute() on a non-object in /var/www/htdocs/zabbix/include/classes/class.cuiwidget.php on line 101

zabbix version : 1.9.10

I didn't have this problem from the beginning, it started a couple of days back.
I am using only the admin account.

Comment by Alexey Fukalov [ 2012 Apr 02 ]

dev branch: svn://svn.zabbix.com/branches/dev/ZBX-4583

Comment by Alexey Fukalov [ 2012 Apr 04 ]

svn://svn.zabbix.com/trunk 26616

Generated at Fri Apr 26 01:35:13 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.