• This morning i got an email from a client saying that my website was down. I haven’t made any change to it, yesterday it was ok. this morning when i tried to access the site i got this error:

    Parse error: syntax error, unexpected T_ENDWHILE in /htdocs/public/www/wp-content/themes/folioway/folioway/index.php on line 22

    Have i been hacked or something? How can i solve this problem?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The best way to find out is to inspect the code in your theme’s index.php

    Since you can’t access your site through normal means, it would mean using a file manager if your host offers one, or FTP
    http://codex.wordpress.org/FTP_Clients

    If you aren’t all that familiar with code, you can delete the theme through FTP and reinstall it

    Thread Starter daily.matters

    (@dailymatters)

    I’m familiar with code. You are saying that reinstall the theme would probably solve my problem ?

    I would first, inspect the code

    Has something been changed? If it has, it could be a hack – in which case we would need to do more to solve the problem.

    After inspecting the issue, replacing the theme could be a quick way to get back up and running.

    Ultimately we need to figure out what the problem is – it doesn’t sound like the theme has a coding problem since it worked for you – so code inspection is the best first step here

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Parse Error: syntax error’ is closed to new replies.