Forum Replies Created

Viewing 1 replies (of 1 total)
  • Hello,

    Exactly the same happened to me for two reasons.

    Start the investigation in function get_plugins() in wp-admin/includes/plugin.php it has two option in wich it skips the plugin folder eventough it’s in the corect position, it should be at line 237.
    Reason #1 – is_readable returns false for the plugin file.
    Check CHMOD and CHOWN, it should be the same of a plugin that works usualy user:user for CHOWN and 0644 for CHMOD

    Reason #2 – the plugin header (that comments you see in the begining of a plugin) is corrupt, probably caused by a virus.

    Try the following to check if the virus is the cause:

    In wp-includes/functions.php in get_file_data() function (aproximate line 3883) after the $file_data = fread( $fp, 8192 ); insert the folowing

    if(strstr($file,'XXXXX'))
    {
    echo $file;exit;
    print_r($file_data);
    exit;
    }

    This will display the header of your missing plugin. If wordpress does not display something like a comment and shows a code involving
    – if(!isset($GLOBALS[
    – or any other jibberish code

    Delete it from the plugin file and leave just the part wich start with a comment like this

    /*
    Plugin Name: XXXX

    it should then appear in the list.

Viewing 1 replies (of 1 total)