phpbar(a)webvector.de wrote:
Hello,
I got the following error, after updating PHP4 to PHP5:
Fatal error: Class PHPTAL_DBResultIterator must implement interface
Traversable as part of either Iterator or IteratorAggregate in Unknown
on line 0
MediaWiki Version: 1.3.0beta5
This is a PHPTAL bug, it's not really our responsibility. Quoting
http://sourceforge.net/mailarchive/forum.php?thread_id=5198753&forum_id…
Regarding PHP5
--------------
As you spotted, PHPTAL doesn"t work with PHP5, it is a known problem
related to many ref tricks I used to make it work as expected under
PHP4. I am obligated to rewrite many things and I will release a first
beta version within the month of August.
(end quote)
Although it hasn't been thoroughly tested, it may be possible to use
MediaWiki in PHP5 by disabling PHPTAL. This means you won't be able to
use the new monobook skin, or any other PHPTAL skin. Add the following
line to LocalSettings.php:
$wgUsePHPTal = false;
If Laurent Bedubourg comes through with his promise and releases a
PHP5-compatible version of PHPTAL some time in August 2004, then we'd
expect to have a PHP5-compatible version of MediaWiki released in the
month or so after that, depending on the vagaries of our release cycle.
-- Tim Starling