The following bug has been RESOLVED.
<http://bugs.develnet.org/bug_view_advanced_page.php?bug_id=47>
---------------------------------------------------------------------------
Reporter: Rabus
Handler: dtg
---------------------------------------------------------------------------
Project: coWiki
Bug ID: 47
Category: General
Reproducibility: always
Severity: major
Priority: normal
Status: resolved
Resolution: not fixable
---------------------------------------------------------------------------
Date Submitted: May 15 2004, 17:31 (GMT +01)
Last Modified: May 16 2004, 11:30 (GMT +01)
---------------------------------------------------------------------------
Summary: Unable to read comments due to "fatal error"
Description:
When trying to read a comment, I receive the following php error message:
Fatal error: Declaration of AbstractTreeView::getTreeView() must be
compatible with that of CompositeView::getTreeView() in
[path]/class/core/class.AbstractTreeView.php on line 37
---------------------------------------------------------------------------
*** <Rabus> - May 15 2004, 17:38 (GMT +01)
What I forgot to tell:
I am running coWiki on Apache 2.0.49 with php 5.0.0 RC2 and MySQL 4.0.18.
*** <hcblue> - May 15 2004, 18:45 (GMT +01)
Per http://develnet.org/94.html:
"cowiki 0.3.3 needs PHP5b1, any other PHP5 version will not work!"
*** <dtg> - May 16 2004, 06:31 (GMT +01)
This is not a bug, see hcblues comment
*** <Rabus> - May 16 2004, 11:05 (GMT +01)
First of all, I was never talking about 0.3.3. I know about its
incompatibility to recent php5 releases.
Because of this, I am using your latest CVS version (0.4.0-dev) which
works fine for me except for the problem I mentioned. I did not know that
it is your intention to stick with beta1 forever although according to
your ChangeLog you were working towards more recent php5 releases.
Just in case you are interested in fixing this bug or whatever this might
be in your eyes: adding the reference operator to the function declaration
of getTreeView() inside interface.CompositeView.php fixes this problem for
me:
45c45
< public function getTreeView($CompositeTree, $nCurrId = 0);
---
> public function &getTreeView($CompositeTree, $nCurrId = 0);
Keep on the good work, I really like your great wiki system.
edited on: May 16 2004, 11:05
*** <dtg> - May 16 2004, 11:30 (GMT +01)
Hi,
> First of all, I was never talking about 0.3.3.
> I know about its incompatibility to recent php5 releases.
So we should guess? Please re-read
<http://develnet.org/CoWiki/BugReports>
> Because of this, I am using your latest CVS version (0.4.0-dev)
> which works fine for me except for the problem I mentioned.
See above.
> I did not know that it is your intention to stick with beta1
> forever although according to your ChangeLog you were working
> towards more recent php5 releases.
We are stuck due to the subtle but fundamental changes of the ZE2 engine
from release to release. As I stated a few times, I do not own the time to
run after those changes and test again and again and again.
The lastest "stable" PHP5 version for almost one year was indeed the
PHP5b1 release around October '03. The coWiki developement has been frozen
hereafter. Even the 0.4.0-dev version has not been touched more than three
or four times since then - means for half a year.
> Just in case you are interested in fixing this bug or
> whatever this might be in your eyes: adding the reference
> operator to the function declaration of getTreeView() inside
> interface.CompositeView.php fixes this problem for me.
The easiest way is to provide a patch (diff -u).
regards dtg
--
This is the coWiki developer mailing list (http://develnet.org)
Unsubscribe: send an empty email to <cowiki-dev-unsubscribe@xxxxxxxxxxxx>
ML commands: send an empty email to <cowiki-dev-help@xxxxxxxxxxxx>
|