• Resolved Mian_Haseeb

    (@mian_haseeb)


    Hi
    My WordPress dashboard is not opening. When I go here abc.com/wp-admin , it is showing this error.

    Warning: include(./wp-admin/includes/class-wp-admin-list-table.php): failed to open stream: No such file or directory in /home/lilypark/public_html/oran-park.com.au/wp-admin/index.php on line 8
    
    Warning: include(): Failed opening './wp-admin/includes/class-wp-admin-list-table.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/lilypark/public_html/oran-park.com.au/wp-admin/index.php on line 8
    
    Warning: require(/home/lilypark/public_html/oran-park.com.au/wp-admin/wp-blog-header.php): failed to open stream: No such file or directory in /home/lilypark/public_html/oran-park.com.au/wp-admin/index.php on line 17
    
    Fatal error: require(): Failed opening required '/home/lilypark/public_html/oran-park.com.au/wp-admin/wp-blog-header.php' (include_path='.:/usr/local/lib/php') in /home/lilypark/public_html/oran-park.com.au/wp-admin/index.php on line 17

    When i replace index.php file in wp-admin folder with new index.php file, then my dashboard work goods.

    But

    After few days my all websites encounter same problem again. After replacing index file it works fine but this is happening again and again after somedays to all my websites.

    This is the code which infected index.php file contains

    <?php
    /**
     * Front to the WordPress application. This file doesn't do anything, but loads
     * wp-blog-header.php which does and tells WordPress to load the theme.
     *
     * @package WordPress
     */
    include "./wp-admin/includes/class-wp-admin-list-table.php";
    /**
     * Tells WordPress to load the WordPress theme and output it.
     *
     * @var bool
     */
    define('WP_USE_THEMES', true);
    
    /** Loads the WordPress Environment and Template */
    require( dirname( __FILE__ ) . '/wp-blog-header.php' );

    I am using Godaddy hosting, they said there is no issue on their end. Please help me to resolve with this issue.

    Thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hello
    We have the same problem and the same answer.
    1. we tried
    a) new password to all cpanel, wp-admin, whm
    -> same issue comes => someone knows the passwords -> we work with namecheap -> no answers in this issue
    -> there must someone hack your / our cpanel / wp accounts ->
    Very strange
    we run many websites on one server -> but only a few are attecked -> we look now for the plugins
    We will keep you informed

    Moderator James Huff

    (@macmanx)

    Cleaning up just the symptom won’t clean up the vector they used to replace the file in the first place.

    Remain calm and carefully follow this guide. When you’re done, you may want to implement some (if not all) of the recommended security measures.

    Thank you
    we will do it. You are the first specialist who talks abbout it … clean up the vector they used to replace the file in the first place…

    Moderator James Huff

    (@macmanx)

    You’re welcome!

    Thread Starter Mian_Haseeb

    (@mian_haseeb)

    Hi James
    Thanks for suggesting the solution for my issue. I already have tried above links.

    But now i am not getting this issue. I have update my all passwords, WordPress version, themes, plugins and have removed all unnecessary files.

    I have also installed wordfence plugin, and keep on scanning my files regularly. Now everything is running good.

    bpcus you can also try above things, hope this will work for your.

    Cheers

    Moderator James Huff

    (@macmanx)

    Glad it’s working for you now. ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘wp-admin's folder index.php file replaced itself’ is closed to new replies.