• Hello
    I can’t remove a wordpress plugin called Social Networks2 that I have in my wordpress installation.
    I do not know why but everytime I try to remove it with the wordpress administrator, there is a screen asking me for a user and password. I introduce my user and password, the ones I use in the 000webhost files manager from the members area and it still does not work. I read somewhere online that this kind of problem might be caused by permissions not set right. So I used your tools Fix File
    Ownership and Fix File
    Permissions from the members area and after that I am getting the same problem. Could you please help me with this?
    Would you know how to fix this?

    Thanks

Viewing 15 replies - 1 through 15 (of 21 total)
  • You can delete a plug-in by using FTP and deleting the plug-in from the plug-in folder.

    Michael

    Use Filezilla or you can add FTP credentials in wp-config.php to be able to delete from admin in the case of permission problems or host restrictions:
    http://codex.wordpress.org/Editing_wp-config.php#WordPress_Upgrade_Constants

    Thread Starter thosecars82

    (@thosecars82)

    Thanks for the answers but:
    RoseAppleMedia: Is what you suggest correct in terms of uninstalling completely an installation of a plugin?

    songdogtech: I do not understand what you mean because my wp-config.php is already configured. Otherwise I could not have installed wordpress. Could you give me more tips?
    Thanks both of you.

    See the link for *extra* settings to *add* your FTP crendentials to wp-config so that working with plugins inside the admin section will work.

    Thread Starter thosecars82

    (@thosecars82)

    Sorry but I do not see any extra settings to add my ftp credential in the wp-config.php
    ΒΏwhere are they?

    Thread Starter thosecars82

    (@thosecars82)

    Well, I just tried including this code
    [code]
    <?php

    define("FTP_HOST", "domain.com");
    define("FTP_USER", "ftpusername");
    define("FTP_PASS", "ftppassword");

    ?>
    [/code]
    in the wp-config.php file
    with the same values as the ones used in filezilla to upload files to the server. But it seems wordpress does not recognize these ftp details as valid. Why doesn’t it see them as valid? They are the ones that work in filezilla to upload files.
    Thanks

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    πŸ³οΈβ€πŸŒˆ Advisor and Activist

    Try making the domain http://ftp.domain.com instead?

    Certain kinds of FTP don’t allow access like that via PHP so you may have to do it manually. Sucks but that’s security for you.

    Thread Starter thosecars82

    (@thosecars82)

    The following code has not worked either.
    [code]
    <?php

    define("FTP_HOST", "http://ftp.domain.com");
    define("FTP_USER", "ftpusername");
    define("FTP_PASS", "ftppassword");

    ?>
    [/code]

    According to the error message it seems as if the FTP details were not correct because it says that the connection to the server failed even though I am still able to upload files to the server via filezilla.
    Any other idea?

    Thanks

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    πŸ³οΈβ€πŸŒˆ Advisor and Activist

    UGH! remove the http:// bit before FTP. Stupid forum autocorrects!

    Thread Starter thosecars82

    (@thosecars82)

    Thanks.
    I had already tried that before but now that you mentioned, I tried it again just in case but it did not work either.
    Any other idea?
    Thanks

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    πŸ³οΈβ€πŸŒˆ Advisor and Activist

    Yeah. As I mentioned before:

    Certain kinds of FTP don’t allow access like that via PHP so you may have to do it manually. Sucks but that’s security for you.

    Which means: Your server may not allow this sort of connection. Delete it manually.

    Thread Starter thosecars82

    (@thosecars82)

    Question

    Does this method have any problem? I mean, removing the folder manually via ftp. I thought that the uninstalling option from wordpress might do some more things besides removing the folder of the plugin.

    Thanks

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    πŸ³οΈβ€πŸŒˆ Advisor and Activist

    No. Deactivating the plugin will do whatever needs to be done. Deleting is just deleting πŸ™‚

    Thread Starter thosecars82

    (@thosecars82)

    Ok, the thing is that i removed the plugin i wanted like you just mentioned. I wanted to remove it because i had not been able to activate it properly and i thought removing it and uploading it again would solve the problem. But i just did so and it did not work.

    The plugin has just one file which is the following one. Why is showing a fatal error every time I try to activate it?

    [code]
    <?php
    /*
    Plugin Name: Social Networks2
    Plugin URI: http://www.domainx.com/
    Description: Social Networks 2 Plugin
    Author: domainx.com
    Version: 1
    Author URI: http://wwww.domainx.com
    */
    function showLinks()
    {
    }
    function widget_socialNetworks2() {
    ?>
    <h2 class="widgettitle"><?php echo1(_("Find us in:2"));?></h2>
    <?php showLinks(); ?>
    <?php
    }
    function socialNetworks2_init()
    {
    register_sidebar_widget(__('Social Networks 2'), 'widget_socialNetworks2');
    }
    add_action("plugins_loaded", "socialNetworks2_init");
    ?>
    [/code]

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    πŸ³οΈβ€πŸŒˆ Advisor and Activist

    FYI the [code] tag doesn't work like that here. CLick the CODE button or use backticks.

    Can you link to the plugin's page in WP's extend page? I can't find it...

Viewing 15 replies - 1 through 15 (of 21 total)
  • The topic ‘can't remove plugin. It asks for user and password.’ is closed to new replies.