Parse error: parse error, unexpected T_PUBLIC

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
webwesen
Posts: 47
Joined: Sun 21. Mar 2004, 05:17
Contact:

Parse error: parse error, unexpected T_PUBLIC

Post 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
Pappnase

Post 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.
webwesen
Posts: 47
Joined: Sun 21. Mar 2004, 05:17
Contact:

Post by webwesen »

haven't touched a thing since May 2004.... thx for your reply anyways
webwesen
Posts: 47
Joined: Sun 21. Mar 2004, 05:17
Contact:

Post by webwesen »

bump. still unresolved... any ideas?
User avatar
pico
Posts: 2595
Joined: Wed 28. Jul 2004, 18:04
Location: Frankfurt/M Germany
Contact:

Post by pico »

Hi

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

Think there is a Article with a 'defect' Content.
Lieber Gott gib mir Geduld - ABER BEEIL DICH
Horst - find me at Musiker-Board
Post Reply