[Cartoweb-users] Annoying Parse Error messages
Oliver Christen
oliver.christen at camptocamp.com
Tue Aug 8 05:23:39 EDT 2006
this kind of error message usualy happens when one file was edited and some
weird characters were left by the edition program.
line 47 of StructHandler.php is in the loadFromArray function which,
according to the function header, "Returns a structure from an array loaded
from a .ini" so I suppose one of your .ini file is somehow "corrupted". This
is a pure supposition but try layers.ini and use a sane text editor, like
emacs or editplus.
regards
Oliver
> Hello all,
>
> My application runs smoothly, however, a number of 'Parse Errors' are
> always listed at the top of the page as follows:
>
> Parse error: parse error, unexpected T_LNUMBER, expecting T_STRING or
> T_VARIABLE or '{' or '$' in
> C:\wamp\www\cartoweb3\common\StructHandler.php(47) : eval()'d code on line
> 1
>
> Parse error: parse error, unexpected T_LNUMBER, expecting T_STRING or
> T_VARIABLE or '{' or '$' in
> C:\wamp\www\cartoweb3\common\StructHandler.php(47) : eval()'d code on line
> 1
>
> Parse error: parse error, unexpected T_LNUMBER, expecting T_STRING or
> T_VARIABLE or '{' or '$' in
> C:\wamp\www\cartoweb3\common\StructHandler.php(47) : eval()'d code on line
> 1
>
> Parse error: parse error, unexpected T_LNUMBER, expecting T_STRING or
> T_VARIABLE or '{' or '$' in
> C:\wamp\www\cartoweb3\common\StructHandler.php(47) : eval()'d code on line
> 1
>
> Parse error: parse error, unexpected T_LNUMBER, expecting T_STRING or
> T_VARIABLE or '{' or '$' in
> C:\wamp\www\cartoweb3\common\StructHandler.php(47) : eval()'d code on line
> 1
>
> Parse error: parse error, unexpected T_LNUMBER, expecting T_STRING or
> T_VARIABLE or '{' or '$' in
> C:\wamp\www\cartoweb3\common\StructHandler.php(47) : eval()'d code on line
> 1
>
> Parse error: parse error, unexpected T_LNUMBER, expecting T_STRING or
> T_VARIABLE or '{' or '$' in
> C:\wamp\www\cartoweb3\common\StructHandler.php(47) : eval()'d code on line
> 1
>
> Parse error: parse error, unexpected T_LNUMBER, expecting T_STRING or
> T_VARIABLE or '{' or '$' in
> C:\wamp\www\cartoweb3\common\StructHandler.php(47) : eval()'d code on line
> 1
>
> What does this mean...and why is the error repeated so many times? If
> anyone knows a fix for this or could offer me suggestions it would
> appreciated!
>
> Cheers
> Olly
>
> _________________________________________________________________
> Windows Live™ Messenger has arrived. Click here to download it for free!
> http://imagine-msn.com/messenger/launch80/?locale=en-gb
>
> _______________________________________________
> Cartoweb-users mailing list
> Cartoweb-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/cartoweb-users
>
More information about the Cartoweb-users
mailing list