Page 1 of 1

Parse error: parse error, unexpected T_PUBLIC

Posted: Tue 25. Oct 2005, 01:20
by webwesen

Code: Select all

Parse error: parse error, unexpected T_PUBLIC, expecting T_STRING in /home/xyz/public_html/include/inc_lib/general.inc.php on line 281
hello,
there are a few posts in this forum talking about this error. noone has found a solution though...

what could it be? no Fantastico, just a regular instalation.
T_PUBLIC denotes PHP5. could it be that the last April's version (don't remember the #) could be incompatible with PHP5? (yes, I haven't touched the site in a while... worked flawlessly, though)

thanks in advance

Posted: Tue 25. Oct 2005, 01:33
by Pappnase
hello

did you edit something in this file!?
please look for empty rows at the end of the file! i can remeber that this was on some other files the reason of this error.

Posted: Tue 25. Oct 2005, 01:39
by webwesen
haven't touched a thing since May 2004.... thx for your reply anyways

Posted: Mon 7. Nov 2005, 02:08
by webwesen
bump. still unresolved... any ideas?

Posted: Mon 7. Nov 2005, 08:17
by pico
Hi

be more Concret - when does this Error appiers? Wich Contentpart
Frontend - Backend

Think there is a Article with a 'defect' Content.