[pmwiki-users] Parse error: syntax error, unexpected T_INCLUDE_ONCE
Joshua J. Kugler
joshua at eeinternet.com
Thu Apr 5 21:42:15 CDT 2007
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
More information about the pmwiki-users
mailing list