Forums

Deleting a Plugin (18 posts)

  1. NetworkProMaster
    Member
    Posted 3 months ago #

    Hello,

    I tried to delete a plugin WP Statistics, but every time I try to delete it I get this error message. Can anyone tell me how to delete this plugin?

    Warning: require(../../../wp-load.php) [function.require]: failed to open stream: No such file or directory in /home2/myecashs/public_html/blog/wp-content/plugins/wp-statistics/uninstall.php on line 2

    Warning: require(../../../wp-load.php) [function.require]: failed to open stream: No such file or directory in /home2/myecashs/public_html/blog/wp-content/plugins/wp-statistics/uninstall.php on line 2

    Fatal error: require() [function.require]: Failed opening required '../../../wp-load.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home2/myecashs/public_html/blog/wp-content/plugins/wp-statistics/uninstall.php on line 2

  2. kmessinger
    Member
    Posted 3 months ago #

    Have you gone into the plugins folder and deleted it?

  3. NetworkProMaster
    Member
    Posted 3 months ago #

    Yes, I did. That was the first thing I did.

  4. Ronja369
    Member
    Posted 3 months ago #

    I got the same problem. Anyone?

  5. Emguth
    Member
    Posted 3 months ago #

    Where is my plug ins folder?

  6. esmi
    Theme Diva & Forum Moderator
    Posted 3 months ago #

    Please post a new topic.

  7. NetworkProMaster
    Member
    Posted 3 months ago #

    I still haven't gotten an answer about that yet. I still got this plugin on my blog and don't know how to get it off. And yes Kmessinger I did try deleting it already.

  8. esmi
    Theme Diva & Forum Moderator
    Posted 3 months ago #

    Try resetting the plugins folder by PhpMyAdmin.

  9. kmessinger
    Member
    Posted 3 months ago #

    I meant go into the plugins folder itself by ftp, not thru the dashboard which you all ready tried.

  10. JiveCo
    Member
    Posted 2 months ago #

    Here is the way I deleted it.

    The bug comes from the fact that a wrong path is indicated to find the uninstall file.

    You need 2 tools:

    1. An FTP software like FileZilla to download the file to correct and to reupload it (you can also use the Web-FTP of your host).

    2. Notepad or any software enabling you to edit the file.

    The wrong file is located here in the following directory of your blog:

    wp-content > plugins > wp-statistics

    Its name is: uninstall.php.

    Download it on your computer and edit it like this:

    replace:

    require('../../../wp-load.php')

    on line 2, by:

    require($_SERVER['DOCUMENT_ROOT'].'/blog/wp-load.php')

    and then reupload it in the same place and try to uninstall the plugin again.

    Let me know the result.

  11. NetworkProMaster
    Member
    Posted 2 months ago #

    Thanks

  12. Ronja369
    Member
    Posted 2 months ago #

    Didn't wok for me :(

  13. JiveCo
    Member
    Posted 2 months ago #

    @Ronja369: please give me more specifics in order to help you, especially the error message that you got.

  14. Ronja369
    Member
    Posted 2 months ago #

    Hi JiveCo. This the error:

    Warning: require() [function.require]: Unable to access /public/sites/www.nameofmysite.com/blog/wp-load.php in /public/sites/www.nameofmysite.com/wp-content/plugins/wp-statistics/uninstall.php on line 2

    Warning: require(/public/sites/www.nameofmysite.com/blog/wp-load.php) [function.require]: failed to open stream: No such file or directory in /public/sites/www.nameofmysite.com/wp-content/plugins/wp-statistics/uninstall.php on line 2

    Fatal error: require() [function.require]: Failed opening required '/public/sites/www.nameofmysite.com/blog/wp-load.php' (include_path='.:/usr/share/php:/usr/share/pear') in /public/sites/www.nameofmysite.com/wp-content/plugins/wp-statistics/uninstall.php on line 2

  15. Ronja369
    Member
    Posted 2 months ago #

    Should it work if I just trew away the whole wp-statistics plugin folder? Or is that too tricky?

  16. JiveCo
    Member
    Posted 2 months ago #

    The answer I did to NetworkProMaster was specific to his website.

    I mean that his WordPress was contained in a directory named "blog".

    If your WordPress is located at the root of your website (which is my case, for instance), you have to replace:

    require('../../../wp-load.php')

    on line 2, by:

    require($_SERVER['DOCUMENT_ROOT'].'/wp-load.php')

    Did you notice: I have just taken "/blog" off from the line of code.

    (throwing away the plugin folder does not seem to be a workable solution.)

  17. Ronja369
    Member
    Posted 2 months ago #

    Aha, makes sense.. and it worked!!
    Thanks so much JiveCo!

  18. JiveCo
    Member
    Posted 2 months ago #

    You're welcome!

Reply

You must log in to post.

About this Topic

Tags

No tags yet.