TinyPortal
Development => Resources => Topic started by: cas91572 on September 22, 2007, 07:15:54 PM
Whenever I try to add a php block to my site I get this error:
QuoteParse error: parse error, unexpected '<' in /home/content/c/a/s/cas91572/html/Sources/Load.php(1735) : eval()'d code(36) : eval()'d code on line 1
Anyone know what's causing this and how I can fix it?
It's likely that you've started your code with
<?php
and ended it with
?>
If so, remove those and it should work.
If you don't have those, please post your code.
I'm trying to put this code in a PHP Block for ventrilo
Quoteinlcude ('ventrilo/ventrilotest.php');
It's IchBin's code but in a different thread he said he couldn't figure out what the problem was.
Also I tried to use this code in a PHP block for a media player I got it in the block code snippets forum
Quote<script src="http://www.sourcetunes.com/music/player/site_player.js"></script>
And got the exact same error.
The word include is spelled wrong cas91572.
In addition to what IchBinâ,,¢ wrote, your
<script src="http://www.sourcetunes.com/music/player/site_player.js"></script>
needs to be in a javascript block, not a php block.
I fixed it..one was Javascript and the other was Ichbin's code I copied from another thread and HE had include spelled wrong!