Have you gone into the plugins folder and deleted it?
Yes, I did. That was the first thing I did.
I got the same problem. Anyone?
Where is my plug ins folder?
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.
I meant go into the plugins folder itself by ftp, not thru the dashboard which you all ready tried.
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.
@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.)