• 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

Viewing 15 replies - 1 through 15 (of 18 total)
  • Have you gone into the plugins folder and deleted it?

    Thread Starter NetworkProMaster

    (@networkpromaster)

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

    Ronja369

    (@ronja369)

    I got the same problem. Anyone?

    Emguth

    (@emguth)

    Where is my plug ins folder?

    esmi

    (@esmi)

    Please post a new topic.

    Thread Starter NetworkProMaster

    (@networkpromaster)

    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.

    esmi

    (@esmi)

    Try resetting the plugins folder by PhpMyAdmin.

    kmessinger

    (@kmessinger)

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

    JiveCo

    (@jiveco)

    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.

    Thread Starter NetworkProMaster

    (@networkpromaster)

    Thanks

    Didn’t wok for me ??

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

    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

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

    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.)

Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘Deleting a Plugin’ is closed to new replies.