TinyPortal

Development => Support => Topic started by: clickbouyow on July 01, 2008, 02:05:31 AM

Title: PHP Block Parse Error
Post by: clickbouyow on July 01, 2008, 02:05:31 AM
TP 1.0.5
SMF 1.1.5
Website http://www.deadboneplatoon.com
Error:  Parse error: parse error, unexpected '<' in /home/content/c/l/i/clickbouyow/html/smf/Sources/Load.php(1735) : eval()'d code(1331) : eval()'d code on line 1

Any time I try to create a php block or article, I get the above error.
Title: Re: PHP Block Parse Error
Post by: JPDeni on July 01, 2008, 02:28:37 AM
Remove the


<?php


from the beginning and


?>


from the end.

These are not separate php files, but are sets of code that are "eval"'d by the TinyPortal script.

Side note to IchBin: This would be good text to include in that list of stuff we have to write a lot.
Title: Re: PHP Block Parse Error
Post by: IchBin on July 01, 2008, 05:30:04 PM
Added to the list. Thanks Deni.