Summary | Block/View.php foreach() error |
Queue | Horde Framework Packages |
Queue Version | HEAD |
Type | Bug |
State | Not A Bug |
Priority | 2. Medium |
Owners | |
Requester | horde (at) x-rayman (dot) co (dot) uk |
Created | 01/22/2008 (6372 days ago) |
Due | |
Updated | 01/28/2008 (6366 days ago) |
Assigned | 01/22/2008 (6372 days ago) |
Resolved | 01/28/2008 (6366 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
described in horde/docs/INSTALL.
updated correctly. I'm not 100% certain why though something wrong
with the way I had setup the cvs co and updates?
Not to worry a complete clean install from the cvs worked fine.
described in horde/docs/INSTALL.
you have horde base from CVS also?
from within the horde directory. I also had issues with imp and went
back to 4.2 from 5.0 CVS.
I will co the code from scratch again for the whole thing and see how it goes.
Below are my current test.php result:
Horde Version
* Horde: 3.2-cvs
Horde Applications
* Dimp: H3 (1.0-cvs)
* Horde: 3.2-cvs
* Imp: H3 (4.2-cvs) (run Imp tests)
* Ingo: H3 (1.2-cvs) (run Ingo tests)
* Klutz: 1.0-cvs (run Klutz tests)
* Kronolith: H3 (2.2-cvs) (run Kronolith tests)
* Mimp: H3 (2.0-cvs)
* Mnemo: H3 (3.0-cvs)
* Nag: H3 (3.0-cvs)
* Sesha: 1.0-cvs
* Turba: H3 (2.2-cvs) (run Turba tests)
State ⇒ Feedback
you have horde base from CVS also?
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ Block/View.php foreach() error
Queue ⇒ Horde Framework Packages
State ⇒ Unconfirmed
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