[pmwiki-users] Parse error: syntax error, unexpected T_INCLUDE_ONCE

Donald Z. Osborn dzosborn at gmail.com
Thu Apr 5 21:59:32 CDT 2007


Thanks, that indeed was one problem, but the software is apparently having
trouble finding the files indicated in the include_once lines even though
everything appears to be where it should be.

... [function.include-once<http://donosborn.org/pmwiki/pmwiki.php/Main/function.include-once>]:
failed to open stream: No such file or directory ...

On 4/5/07, Joshua J. Kugler <joshua at eeinternet.com> wrote:
>
> On Thursday 05 April 2007 18:35, Donald Z. Osborn wrote:
> > Ran into an odd error setting up PmWiki on a new site (and server). When
> > calling up the page, get this sort of message (where the line number =
> the
> > first line local/config.php with an include_once(...); statement:*
> >
> > Parse error*: syntax error, unexpected T_INCLUDE_ONCE in *
> > /.../pmwiki/local/config.php* on line *42
> >
> > *. . . Can't seem to find what the problem is with these commands, which
> > worked as is with no problem on another site.
> >
> > Checking PmWiki.org, there were questions re other parse errors, but
> > nothing helpful for this case (ref.
> > http://www.pmwiki.org/wiki/PmWiki/Questions ).
>
> I've hit that before...make sure you aren't missing a semi-colon somewhere
> (probably on the line before the error).  It's a very misleading error
> message.
>
> j
>
> --
> Joshua Kugler
> Lead System Admin -- Senior Programmer
> http://www.eeinternet.com
> PGP Key: http://pgp.mit.edu/  ID 0xDB26D7CE
> PO Box 80086 -- Fairbanks, AK 99708 -- Ph: 907-456-5581 Fax: 907-456-3111
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/pmwiki-users/attachments/20070405/1d0233be/attachment-0001.html 


More information about the pmwiki-users mailing list