Topic: Error message when editing viewforum.php

Hi.

When I try to edit viewforum.php i always get this error message:
Parse error: syntax error, unexpected $end in ... on line 257

This happens if I change anything in a comment to, really enoying.

I have tested to change the chmod of the file to 777 but that doesn't helt either.

Annyone knows what to do?

Re: Error message when editing viewforum.php

Can you please post your line 257?

Looking for a certain modification for your forum? Please take a look here before posting.

Re: Error message when editing viewforum.php

Make sure you're not commenting out any { or }'s

4 (edited by klerox 2006-03-20 22:41)

Re: Error message when editing viewforum.php

257 is empty, last row.

253: $forum_id = $id;
254: $footer_style = 'viewforum';
255: require PUN_ROOT.'footer.php';ÿÿÿÿ
256:
257:

Now the error message is Parse error: syntax error, unexpected T_STRING in ... on line 257

if i remove the ÿ's the error message is unexepted $end again.

Re: Error message when editing viewforum.php

it has to do something with the line that you edited.

Re: Error message when editing viewforum.php

Gizzmo wrote:

it has to do something with the line that you edited.

No, it doesn't mather where in the code I edit/add/remove something, I always get an error message.

Re: Error message when editing viewforum.php

Try doing this:

255: require(PUN_ROOT.'footer.php');

Re: Error message when editing viewforum.php

elbekko wrote:

Try doing this:

255: require(PUN_ROOT.'footer.php');

Working now smile thx!