WordPress.org

Ready to get started?Download WordPress

Forums

WordPress.com Stats
WP Stats won't allow to change my API key (24 posts)

  1. Dev93
    Member
    Posted 3 years ago #

    Hey all,

    Long story short.

    I had to disable all my plugins for an unrelated tech issue.

    When I re-abled my WP Stats plugin I copied the number in the Askimet and plugged it into WP Stats. I had forgotten that the number was initially added by my former designer about six years ago (since then I have been using my own API).

    So, I get this error message: "The API key "af57REMOVED6" belongs to the WordPress.com account "renderpro". If you want to use a different account, please enter the correct API key.

    Note: the API key you use determines who will be registered as the "owner" of this blog in the WordPress.com database. Please choose your key accordingly. Do not use a temporary key.
    Add blog to WordPress.com account

    This blog will be added to your WordPress.com account. You will be able to allow other WordPress.com users to see your stats if you like. button to Add blog to Account"

    I then tried "If you want to use a different account, please enter the correct" to click the link. The page refreshes but does not offer a a space to add my API key.

    I then tried to a click the "Add blog to WordPress.com" button.

    And I get this error message.

    The owner of that API Key (renderpro) is not on the access list for this blog (10REMOVED0). To be added to the access list, you must contact support.
    Error from last API Key attempt:

    I have contacted support and have exchanged a dozen emails. Mostly they just keep telling me to do the same things I described above.

    I have also tried reinstalling the plugin, logged in using different browsers, changed the Askimet API to my number. Nothing works. Any help at all is appreciated.

    Best,
    devin

    http://wordpress.org/extend/plugins/stats/

  2. publichh
    Member
    Posted 3 years ago #

    I have the same problem.
    I took the API key of another blog of mine and it works.
    But after i thought i want to use a different one.

    But i can not change it.
    I tried all the things Dev93 already tried. But nothing helps!

    Please help!

  3. publichh
    Member
    Posted 3 years ago #

    No one an idea?

  4. jme248
    Member
    Posted 3 years ago #

    Hi,

    I also could use some help with this, and switching the API for the plugin to a new account. Thanks in advance anyone...

  5. Strictly Software
    Member
    Posted 3 years ago #

    I have just experienced the exact same problem with my own blog.

    The stats had been working fine for a good few months and then a couple of days ago I log in to be met with the same issues as described above.

    There doesn't seem to be anyway for me to change the API key value to something else which is really annoying and I really don't want to start debugging some ones else's code to find out why.

  6. If you're having the exact same issue, try these steps on PHPMyAdmin:

    1. Select your WordPress DB name from the left sidebar dropdown
    2. Click "wp_options" in the sidebar (assuming your DB table prefix is "wp_")
    3. Click "Search" tab at the top
    4. Enter "stats_options" for option_name search
    5. Hit "Go"
    6. On the next page, delete the found data

    This will clear the API key previously entered.

    (Note that this doesn't work if the API key you're trying to use is not for the WordPress.com username associated with your blog. You may need to add or switch users first)

  7. Strictly Software
    Member
    Posted 3 years ago #

    Hi thanks for getting back to me.

    I actually did try what you suggested the other day but there must be an issue elsewhere because once I have deleted the option and added in a new key I get this message:

    Error from last API Key attempt:

    The owner of that API Key (XXX) is not on the access list for this blog (1063...). To be added to the access list, you must contact support.

    However when I try to contact support I get a message saying to use the forums as they have gone away for a while.

    So just to clarify the situation

    I have a blog hosted on WordPress e.g myblog.wordpress.com (X)

    I also have 2 self hosted wordpress blogs (Y and Z) which I want to use wp_stats for.

    Up until a few days ago they were all working fine and both of my self hosted blogs were using the API key from the wordpress account linked to my wordpress hosted blog

    One of my self hosted blogs is still working with the API key the other one isn't.

    When I log in to my wordpress account (X) I can see under the "My Blogs" option the wordpress blog and then in the "Linked Blogs" section
    the self hosted blog (Y) I do have wp_stats for but not the blog (Z) I am having problems with.

    What I cannot find is a way to relink the problematic self hosted blog with my account as I am assuming that this is what I need to do.

    If I click on the "Register another blog" option it takes me to this page https://en.wordpress.com/signup/

    Obviously I don't want another wordpress.com blog I just want to relink my self hosted blog with my account to get round this problem.

    Maybe I am missing something or being a complete numpty because I cannot see a way to achieve this and resolve this problem.

    Do you have any ideas?

  8. @Strictly Software

    WordPress.com support is now open. Could you send a request?

  9. Strictly Software
    Member
    Posted 3 years ago #

    Ok will do.

    Thanks

  10. Strictly Software
    Member
    Posted 3 years ago #

    Hi Naoko

    Please can you tell me the URL of the page I make support requests from.

    I cannot seem to find the link that I visited from my home laptop the other day.

    Thanks

  11. http://en.support.wordpress.com/contact/ :)

    These information will be helpful to include:

    - URL of your self-hosted blog
    - API key you're using
    - Error message
    - Link to this forum post

  12. Strictly Software
    Member
    Posted 3 years ago #

    I think I found it here >> http://en.support.wordpress.com/contact/

  13. Strictly Software
    Member
    Posted 3 years ago #

    Ok thanks for all your help.

  14. niktabah
    Member
    Posted 3 years ago #

    @ Naoko

    i also have the same problem here: http://wordpress.org/support/topic/plugin-wordpresscom-stats-api-key-1?replies=1#post-1694816

    i try to follow info on how to add or switch users first:
    http://en.support.wordpress.com/api-keys/

    until step no 3, i still cannot found how to configure this step...

    need help

  15. @niktabah
    What happens when you follow the steps for changing the usernames?
    Please describe how you are getting stuck at the step #3, with error messages and what you're seeing on screen that is different from the instruction.

  16. niktabah
    Member
    Posted 3 years ago #

    @Naoko
    i think we can ignore step #3..wp group support already sent the email and said as below
    http://wordpress.org/support/topic/plugin-wordpresscom-stats-api-key-1?replies=8

    tq for your guide

  17. Strictly Software
    Member
    Posted 3 years ago #

    back again with the same problem LOL!

    Everything started working again some time last week. I presumed someone at the other end had reset my API key as when I re-entered the key it started working and my stats re-appeared.

    However today I go into my self hosted site and when I tried to visit the stats I am met with a "Your blog has been suspended for a violation of our Terms of Service"

    Now I did have a wordpress.com blog that they did accuse me of TOS breach which they took down however I am pretty sure that the API key I was using for my self hosted blog (the one with problems) was from my newer wordpress.com site which is still running (I checked) as I wouldn't have been able to access my old API key anyway due to not being able to log into to that account anymore.

    Therefore I am back to square one and can only assume the issue is related to old or deleted blogs and that the WP-STATS DB is not keeping its data up to date or something along those lines.

    I deleted the relevant settings out of my WordPress database and tried to enter the API key from my working wordpress.com account but I am now seeing the following message again.

    The owner of that API Key (darkpolitricks) is not on the access list for this blog (10635130). To be added to the access list, you must contact support.

    So I will contact support again.

  18. anneonline
    Member
    Posted 3 years ago #

    I checked my stats earlier today and everything was fine. Now it wants me to log in using my WP.com username and password. When I do, it takes me there and no longer allows me to view my stats in my self-hosted dashboard. I cannot find a way to update my API key to see if this would resolve the issue. Anyone experiencing this issue or is it new?

  19. niktabah
    Member
    Posted 3 years ago #

    still not function..i already update to latest plugin

  20. meditationmomentum
    Member
    Posted 3 years ago #

    When I tried to follow the directions from Naoko in the PHPAdmin

    1. Select your WordPress DB name from the left sidebar dropdown
    2. Click "wp_options" in the sidebar (assuming your DB table prefix is "wp_")
    3. Click "Search" tab at the top
    4. Enter "stats_options" for option_name search
    5. Hit "Go"
    6. On the next page, delete the found data

    I got all the way to #6 but want to make sure I am deleting the right stuff as I have never worked in PHPAdmin and have absolutlely no idea what I'm doing in there or even what it is for (dangerous business!!)

    Here is what I see after I follow step 5: (Are these the things i am supposed to delete- all of them??? or just one of them??

    MySQL returned an empty result set (i.e. zero rows). ( Query took 0.0002 sec )
    SELECT *
    FROM wp_options
    WHERE option_id = "stats_options" Profiling [ Edit ] [ Explain SQL ] [ Create PHP Code ] [ Refresh ]

    Field Type Collation Attributes Null Default Extra Action
    option_id bigint(20) UNSIGNED No None auto_increment
    blog_id int(11) No 0
    option_name varchar(64) latin1_swedish_ci No
    option_value longtext latin1_swedish_ci No None
    autoload varchar(20) latin1_swedish_ci No yes
    Check All / Uncheck All With selected:

  21. Andy Skelton
    Member
    Plugin Author

    Posted 3 years ago #

    The Stats plugin now deletes its own data when you delete the plugin using the admin interface.

  22. meditationmomentum
    Member
    Posted 3 years ago #

    What is the admin interface?

  23. meditationmomentum
    Member
    Posted 3 years ago #

    I just deleted the plug-in but it still gives me the same error once I hit "Add Blog to WordPress". I get a big red box that says Error from last API Key attempt:
    The owner of that API Key (XXXXXX) is not on the access list for this blog (16534211). To be added to the access list, you must contact support.

    I deleted the plug-in after it said that it would delete the files. But apparently it still is not working. Any suggestions? I'm still hoping for an answer to my earlier question.

  24. @meditationmomentum

    It sounds like you're using the API Key for the user who is not listed under the blog (on WordPress.com database for the stats plugin).

    Try reassigning or add the user to the list by following this instruction:
    http://en.support.wordpress.com/api-keys/#changing-the-api-key-used-for-stats

    It's best to contact WordPress.com staff using the contact form if you're unable to do that because you don't have access to original API Key holder's account.

    Make sure to include the URL of your self-hosted blog, the API key you're using, the full error message (including the username), and link to this forum post.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic