[Tickets #6132] Block/View.php foreach() error
bugs at horde.org
bugs at horde.org
Tue Jan 22 10:22:29 UTC 2008
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/?id=6132
-----------------------------------------------------------------------
Ticket | 6132
Created By | horde at x-rayman.co.uk
Summary | Block/View.php foreach() error
Queue | Horde Framework Packages
Version | HEAD
Type | Bug
State | Unconfirmed
Priority | 2. Medium
Milestone |
Patch |
Owners |
-----------------------------------------------------------------------
horde at x-rayman.co.uk (2008-01-22 05:22) wrote:
I've recently reinstalled horde for an FC8 upgrade and choose to download
from the cvs as per my fc6 install. However when I got framework from the
horde cvs there appears to have been a change to how the Block code has
been written specifically the View.php and perhaps others. The result is
that on logging into my horde account I can NOT see any block and I
record:
PHP Warning: Invalid argument supplied for foreach() in
/usr/share/pear/Horde/Block/Layout/View.php
This is with version * $Horde: framework/Block/Block/Layout/View.php,v
1.4.2.9 2008/01/02 11:30:23 jan Exp $
If I copy my old fc6 /usr/share/pear/Horde directory to my FC8 install all
works again? Comparing the code there appears to be significant changes
between the two versions of Block/Layout/View.php
FC6 version: * $Horde: framework/Block/Block/Layout/View.php,v 1.16
2007/10/31 00:23:45 jan Exp $
Could it be based around this being missing in the latest version?
function Horde_Block_Layout_View($layout = '')
{
$this->_layout = @unserialize($layout);
if (!$this->_layout) {
$this->_layout = array();
}
}
Other info:
PHP Version: 5.2.4
Apache/2.2.6 (Fedora) API version 20051115
More information about the bugs
mailing list