Web Hosting
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WordPress fix Reply To: wp-admin/index.php keeps changing

Discussion in 'Misc WordPress Requests' started by bicartwright, Oct 23, 2017.

  1. bicartwright

    Guest

    Reply To: wp-admin/index.php keeps changing, by bicartwright

    Hi Ethen,

    Yeah, it sounds confusion. Let me try to make it clearer:

    I try to log into the wp-admin consold and am unable to. I look at the files in the wp-admin directory and find this 500 byte files:


    <?php
    /**
    * Dashboard Administration Screen
    *
    * @package WordPress
    * @subpackage Administration
    */

    /** Load WordPress Bootstrap */
    require_once( dirname( __FILE__ ) . ‘/admin.php’ );

    /** Load WordPress dashboard API */
    require_once(ABSPATH . ‘wp-admin/includes/dashboard.php’);

    I then copy in (from my local computer) a 7K file with the following header (file is pretty long so not including full contents) <?php
    /**
    * Dashboard Administration Screen
    *
    * @package WordPress
    * @subpackage Administration
    */

    /** Load WordPress Bootstrap */
    require_once( dirname( __FILE__ ) . '/admin.php' );

    /** Load WordPress dashboard API */
    require_once(ABSPATH . 'wp-admin/includes/dashboard.php');


    I then try again to log into wp-admin. I can then get into the wp-admin dashboard but if I refresh my FTP client I see that the 500 byte file is back in the wp-admin directory.

    Yeah, sounds nuts but that is what’s happening

    Andrew, I’m not sure you intended to pust your comment here. If so I dont understand it.

    Reply To: wp-admin/index.php keeps changing
     
    #1

Share This Page

Web Hosting