• I have a blog site (several actually) and everything has worked well until recently. Now every so often (probably every few days or so), when I try to pull up my blog site I get the following error:

    Warning: Unexpected character in input: ”’ (ASCII=39) state=1 in /home/content/d/n/l/dnlawyer40/html/community/index.php on line 17

    Parse error: syntax error, unexpected ‘.’ in /home/content/d/n/l/dnlawyer40/html/community/index.php on line 17

    I can just upload a good copy of index.php and then this error goes away to be replaced by an index.php error from the includes directory. If I upload a fresh copy of the includes directory, then my site is back running fine.

    Not a good solution. Why is this happening and how do I fix. PLEASE!!

Viewing 6 replies - 1 through 6 (of 6 total)
  • If your index.php permissions are correct and your htaccess file is not corrupt ,then only the wp-congig.php needs attention Copy the php.ini file from the publi_html root folder into your blog directory.

    Thread Starter dlawyer

    (@dlawyer)

    Arghh! Thank you both. Esmi, unfortunately I think you are dead on. I had detected the iframe in my index file that pointed to some .ru site. so basically it looks like my site (hosted on Godaddy) has been compromised. Damn!

    Sorry to hear it. You didn’t mention which version of WP you’re using but, once you’re up & running again, it might be worth upgrading if you’re using an older version.

    Thread Starter dlawyer

    (@dlawyer)

    Actually my wordpress version was the most current. All plugins were the most current. Not sure how they got in?

    Could be via another weak point on the same server and nothing whatsoever to do with your site.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Constant recurring error’ is closed to new replies.