Re: Package phpDocumentor
| From: | Justin Patrin | Date: | Mon, 06 Feb 2006 00:01:20 +0000 |
| Subject: | Re: Package phpDocumentor | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-22808@lists.php.net to get a copy of this message | ||
On 2/5/06, Paul Scott <pscott@uwc.ac.za> wrote:
> I am having a bit of a problem with the phpDocumentor-beta package.
> Whenever I try and kick it off, it returns the following error:
>
> Fatal error: Cannot re-assign $this
> in /usr/share/pear/PhpDocumentor/phpDocumentor/ParserElements.inc on
> line 238
>
> This is on php-5.1.2-1 debian gnu/linux on a 64bit arch.
>
> Anyone have any advice for me? I really wan to get this running
> seamlessly off a cron daily so that this part of my projects are taken
> care of automatically at least!
>
This is due to an incompatibility of the package with PHP5. PHP5
doesn't allow you to reassign $this (in fact the package really
shouldn't have been doing this anyway, but oh well). I suggest trying
a newer version (if there is one) or switching to PHP4 for running it.
And file a bug report.
--
Justin Patrin