Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1406184
    JodyRaynsford83
    Participant

    Hi,

    I got an email notification from sucuri detecting a possible malware on my website… can anyone tell what to do about it, please?

    Here is the message …

    Malware
    Security warning in the URL: http://www.ukcopywritingacademy.com/404testpage4525d2fdc
    *Site error detected. Details: http://sucuri.net/malware/php-error-headers-already-sent?warning.script_error.4 <b>Parse error</b>: syntax error, unexpected ‘<‘ in <b>/home/ukcopy5/public_html/wp-content/themes/x/header.php</b> on line <b>14</b><br /

    Security warning in the URL: http://www.ukcopywritingacademy.com/404javascript.js
    *Site error detected. Details: http://sucuri.net/malware/php-error-headers-already-sent?warning.script_error.4 <b>Parse error</b>: syntax error, unexpected ‘<‘ in <b>/home/ukcopy5/public_html/wp-content/themes/x/header.php</b> on line <b>14</b><br /

    Site
    http://www.ukcopywritingacademy.com/members/

    Hostname
    http://www.ukcopywritingacademy.com

    #1406399
    Lely
    Moderator

    Hi There,

    Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:

    – Link to your site
    – WordPress Admin username / password
    – FTP credentials

    Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.

    #1406538
    JodyRaynsford83
    Participant
    This reply has been marked as private.
    #1406744
    Christian
    Moderator

    There is no malware in the header.php file. Please contact your web host and tell them to turn on buffer_output or add buffer_output = on in php.ini. If that is not possible, you need to use a child theme and copy header.php located in themes/x to the same folder in your child theme themes/x-child. Open the copied file and replace the all code with this:

    <?php
    // =============================================================================
    // HEADER.PHP
    // -----------------------------------------------------------------------------
    // The site header. Variable output across different stacks.
    //
    // Content is output based on which Stack has been selected in the Customizer.
    // To view and/or edit the markup of your Stack's index, first go to "views"
    // inside the "framework" subdirectory. Once inside, find your Stack's folder
    // and look for a file called "wp-header.php," where you'll be able to find the
    // appropriate output.
    // =============================================================================
    ?>
    <?php x_get_view( x_get_stack(), 'wp', 'header' ); ?>

    Thanks.

  • <script> jQuery(function($){ $("#no-reply-1406184 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>