Re: Package phpDocumentor
| From: | Justin Patrin | Date: | Mon, 06 Feb 2006 01:21:31 +0000 |
| Subject: | Re: Package phpDocumentor | ||
| References: | 1 2 3 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-22813@lists.php.net to get a copy of this message | ||
On 2/5/06, Greg Beaver <cellog@php.net> wrote:
> Justin Patrin wrote:
> > 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.
>
> Do not file a bug report, this has been fixed for over 2 years now, just
> upgrade.
>
Sorry, I just assumed that the user had upgraded. Disregard my earlier e-mail.
--
Justin Patrin