6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
12/13/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#6132] Block/View.php foreach() error
*
Your Email Address
*
Spam protection
Enter the letters below:
.__ .__ .__..__ ._. [__)| \[__][__) | [__)|__/| |[__)_|_
Comment
> 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
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers