WPMU DEV Update Notifications plugin keeping losing my API key
WPMU DEV Community
WPMU DEV Update Notifications plugin keeping losing my API key
Elite
16 pointsStarting to get into this DEV thingI'm new here
ccloskey
Member
—
1st March 2011 (1 year ago)
I have a current subscription to WPMU DEV, and my Update Notifications plugin is current (2.0.1). WordPress is also current (3.1). This is a multisite, multi-db setup.
When I enter the API key for WPMU DEV in the Update Notifications page and click Save Changes, it's saved -- the field turns from red to green, and all the updates are displayed.
But if I then leave the page and come back, or even if I refresh, the API key field is reset to empty (red) and the updates aren't shown. I have to re-enter the API key again. And then again, it's lost when I leave the page.
I didn't see any other threads for this problem, but it seems like something that should affect anyone with a subscription. Ideas on why the field is resetting?
I have a current subscription to WPMU DEV, and my Update Notifications plugin is current (2.0.1). WordPress is also current (3.1). This is a multisite, multi-db setup.
When I enter the API key for WPMU DEV in the Update Notifications page and click Save Changes, it's saved -- the field turns from red to green, and all the updates are displayed.
But if I then leave the page and come back, or even if I refresh, the API key field is reset to empty (red) and the updates aren't shown. I have to re-enter the API key again. And then again, it's lost when I leave the page.
I didn't see any other threads for this problem, but it seems like something that should affect anyone with a subscription. Ideas on why the field is resetting?
One other user has reported this problem as well, so it's not unknown. But none of the other 1000+ installs using it have the issue, and we can't recreate it here, so tough to figure out.
Do you have any caching plugins installed? And when it disappears, what is in your DB sitemeta table for the wpmudev_apikey option?
I have the same problem since installing MultiDB last night.
I am using nginx as frontend to apache with APC and Memcache, but no further caching or nginx connector plugin enabled and had no issue until I installed MultiDB. I have just now upgraded to WP 3.1 but the problem occurred already yesterday under 3.0.4
I just tried it, I have to fetch the API key and save it - the field turns green and the WPMUDev page appears. I update one plugin, and when I return to the WPMU DEV update section, the field is red again without the key.
I have not checked DB entries yet, as I need some sleep. Just came across this thread and wanted to chime in quickly. Will further investigate tomorrow and give you another feedback. Hope this helps you to narrow it down a bit.
I'm losing my WPMUDev key every five minutes, too. The only caching plugin enabled is wp widget cache, and the value for the 'wpmudev_apikey' option in the sitemeta table *is* my valid key (meta_id=1, site_id=1, meta_key=wmpudev_apikey, meta_value=my valid key).
I, too, am using MultiDB 3.0.5. "sitemeta" is included in the add_global_table calls.
The sitemeta table also includes 19 unique 'wdp_un_local_projects' records and two 'wdp_un_local_projects_refreshed' records. I've deleted all but the highest ID of each, but it didn't fix the problem.
However, if I click the "Update now" link it'll correctly draw my key from the db and show the installed WPMUDev details and upgrades along with my preferred settings. Until I click the "WPMU Dev" link under "Updates" in Network Admin.
Just want to point out, the other user who reported this problem is me :)! And Marketpress is having exact same problem with this plugin where all options got lost intermittently and requires me to update all the time!
The wpmudev_apikey value in sitemeta is set and matches my API key. But as others have noted, this doesn't get shown in the updates page on the site -- the field is blank.
I just need to confirm this with you guys one more time:
You are seeing the "Please enter your free API Key" notice on every dashboard page AND the value for the 'wpmudev_apikey' option in the sitemeta table *is* your valid key (meta_key=wmpudev_apikey, meta_value=my valid key)?
Forget about the blank box for now. Just want to know about the notice.
The notice only appears on the settings page (/wp-admin/network/update-core.php?page=wpmudev) when opened directly, but the correct API key is listed in sitemeta.
There is no "Please enter your free API Key" on every dashboard page. The value for the 'wpmudev_apikey' option in the sitemeta table is my valid key (meta_key=wmpudev_apikey, meta_value=my valid key)?
2.0.2 worked fine for an hour or so, now it reverts to simply showing the key when I click the WPMU Dev link under updates. Still not quite there. Sigh.
I'm not sure what you mean. That's the expected behavior. It should never remote the key now. It will show red though if there is no response from the API server.
It doesn't show my installed packages until I click the "update now", either. Is this expected behavior? And, it looks like "check key" and "save changes" don't do anything at all. They did on the beta you posted (at least, in my first and only test), but now it appears to have reverted to the previous behavior where the WPMU Dev page doesn't do anything until you click "update now" every time. The key is displaying (in red), but even the list of WPMU Dev packages isn't shown until "update now" is clicked.
I can click the "update now" and it will be populated fully. *Immediately* if I click on the WPMU Dev link under Updates, the list is gone.
The database does have what appears to be the entire installed projest listing data for my site in the sitemeta table ('wdp_un_local_projects' and 'wdp_un_local_projects_refreshed'). However, this data doesn't appear to be accessed when clicking the WPMU Dev link directly in the updates menu.
Exactly the same before and after running "update now". The only change is to the "wdp_un_last_run" value, which is an updated timestamp. I just purged the sitemeta table of all values matching "wdp_un_%" and clicked the WPMU Dev link under updates. First try it refreshed everything and showed the full data. Second click on the same link and it's blank again.
Clicking "update now" populates each of the sections. The data in the wpd_un_% fields doesn't change EXCEPT for the timestamp of the wdp_un_last_run value.
I don't care about the update link. Just one more time you are saying that when you visit that page while wdp_un_last_response is full of data those listings are blank? They should be getting populated by the array in the wdp_un_last_response option.
Responses (34)
Lead Developer — 1st March 2011 (1 year ago) #
One other user has reported this problem as well, so it's not unknown. But none of the other 1000+ installs using it have the issue, and we can't recreate it here, so tough to figure out.
Do you have any caching plugins installed? And when it disappears, what is in your DB sitemeta table for the wpmudev_apikey option?
Member — 1st March 2011 (1 year ago) #
Yep, Aaron, here is one more...
I have the same problem since installing MultiDB last night.
I am using nginx as frontend to apache with APC and Memcache, but no further caching or nginx connector plugin enabled and had no issue until I installed MultiDB. I have just now upgraded to WP 3.1 but the problem occurred already yesterday under 3.0.4
I just tried it, I have to fetch the API key and save it - the field turns green and the WPMUDev page appears. I update one plugin, and when I return to the WPMU DEV update section, the field is red again without the key.
I have not checked DB entries yet, as I need some sleep. Just came across this thread and wanted to chime in quickly. Will further investigate tomorrow and give you another feedback. Hope this helps you to narrow it down a bit.
Member — 2nd March 2011 (1 year ago) #
I'm losing my WPMUDev key every five minutes, too. The only caching plugin enabled is wp widget cache, and the value for the 'wpmudev_apikey' option in the sitemeta table *is* my valid key (meta_id=1, site_id=1, meta_key=wmpudev_apikey, meta_value=my valid key).
I, too, am using MultiDB 3.0.5. "sitemeta" is included in the add_global_table calls.
Member — 2nd March 2011 (1 year ago) #
The sitemeta table also includes 19 unique 'wdp_un_local_projects' records and two 'wdp_un_local_projects_refreshed' records. I've deleted all but the highest ID of each, but it didn't fix the problem.
However, if I click the "Update now" link it'll correctly draw my key from the db and show the installed WPMUDev details and upgrades along with my preferred settings. Until I click the "WPMU Dev" link under "Updates" in Network Admin.
Lead Developer — 2nd March 2011 (1 year ago) #
So the option still contains the value when you are getting the API notice?
Member — 2nd March 2011 (1 year ago) #
Correct.
Member — 2nd March 2011 (1 year ago) #
Just want to point out, the other user who reported this problem is me :)! And Marketpress is having exact same problem with this plugin where all options got lost intermittently and requires me to update all the time!
Member — 2nd March 2011 (1 year ago) #
For my site, I have no caching plugins installed.
The wpmudev_apikey value in sitemeta is set and matches my API key. But as others have noted, this doesn't get shown in the updates page on the site -- the field is blank.
Member — 2nd March 2011 (1 year ago) #
FYI, I just had to update my API key for Anti-Splog. I do not have any caching plugins installed either.
Lead Developer — 2nd March 2011 (1 year ago) #
I just need to confirm this with you guys one more time:
You are seeing the "Please enter your free API Key" notice on every dashboard page AND the value for the 'wpmudev_apikey' option in the sitemeta table *is* your valid key (meta_key=wmpudev_apikey, meta_value=my valid key)?
Forget about the blank box for now. Just want to know about the notice.
Member — 3rd March 2011 (1 year ago) #
The notice only appears on the settings page (/wp-admin/network/update-core.php?page=wpmudev) when opened directly, but the correct API key is listed in sitemeta.
Member — 3rd March 2011 (1 year ago) #
I'm seeing the same thing as Shawn I think. Here's what that page looks like:
http://www.screencast.com/t/7aS3VPyNCU2D
There is no "Please enter your free API Key" on every dashboard page. The value for the 'wpmudev_apikey' option in the sitemeta table is my valid key (meta_key=wmpudev_apikey, meta_value=my valid key)?
Lead Developer — 3rd March 2011 (1 year ago) #
Ok guys, that helps alot. Seems like API problems then, as there is nothing listed in the recent/installed plugins.
What happens when you click update now?
Lead Developer — 3rd March 2011 (1 year ago) #
Can you guys try this beta and see if it solves your issue?
Member — 3rd March 2011 (1 year ago) #
That update fixes the problem. Thank you, @Aaron!
Lead Developer — 3rd March 2011 (1 year ago) #
Ok, uploaded 2.0.2, hopefully that solves the issues for you guys.
Member — 4th March 2011 (1 year ago) #
Works for me. Thanks!
Member — 4th March 2011 (1 year ago) #
2.0.2 worked fine for an hour or so, now it reverts to simply showing the key when I click the WPMU Dev link under updates. Still not quite there. Sigh.
Lead Developer — 4th March 2011 (1 year ago) #
I'm not sure what you mean. That's the expected behavior. It should never remote the key now. It will show red though if there is no response from the API server.
Member — 4th March 2011 (1 year ago) #
It doesn't show my installed packages until I click the "update now", either. Is this expected behavior? And, it looks like "check key" and "save changes" don't do anything at all. They did on the beta you posted (at least, in my first and only test), but now it appears to have reverted to the previous behavior where the WPMU Dev page doesn't do anything until you click "update now" every time. The key is displaying (in red), but even the list of WPMU Dev packages isn't shown until "update now" is clicked.
Lead Developer — 4th March 2011 (1 year ago) #
Seems that somehow the response data from our API server is getting removed. How long does the list stay there after refreshing?
Member — 5th March 2011 (1 year ago) #
I can click the "update now" and it will be populated fully. *Immediately* if I click on the WPMU Dev link under Updates, the list is gone.
The database does have what appears to be the entire installed projest listing data for my site in the sitemeta table ('wdp_un_local_projects' and 'wdp_un_local_projects_refreshed'). However, this data doesn't appear to be accessed when clicking the WPMU Dev link directly in the updates menu.
Lead Developer — 6th March 2011 (1 year ago) #
The site option that seems to be getting cleared is named something like wdp un last response. Check what's happening to that.
Member — 6th March 2011 (1 year ago) #
Exactly the same before and after running "update now". The only change is to the "wdp_un_last_run" value, which is an updated timestamp. I just purged the sitemeta table of all values matching "wdp_un_%" and clicked the WPMU Dev link under updates. First try it refreshed everything and showed the full data. Second click on the same link and it's blank again.
Member — 9th March 2011 (1 year ago) #
I'm experiencing this as well.
Lead Developer — 10th March 2011 (1 year ago) #
So when the list goes blank the wdp_un_last_response sitemeta option is completely missing or empty?
Member — 10th March 2011 (1 year ago) #
No. It's fully populated, before and after clicking "update now".
The data within it isn't being used to show anything on the page, though, until we click "update now".
Lead Developer — 10th March 2011 (1 year ago) #
So it's full when you visit the page and all the listings/installed are blank?
Member — 10th March 2011 (1 year ago) #
This is exactly what you see when clicking WPMU Dev under the "updates" menu:
http://premium.wpmudev.org/forums/topic/wpmu-dev-update-notifications-plugin-keeping-losing-my-api-key#post-80587
Clicking "update now" populates each of the sections. The data in the wpd_un_% fields doesn't change EXCEPT for the timestamp of the wdp_un_last_run value.
Lead Developer — 10th March 2011 (1 year ago) #
I don't care about the update link. Just one more time you are saying that when you visit that page while wdp_un_last_response is full of data those listings are blank? They should be getting populated by the array in the wdp_un_last_response option.
Member — 10th March 2011 (1 year ago) #
Yes, visiting the page when there is data is in the wdp_un_last_response field, the page is blank, as in the image above.
Member — 15th March 2011 (1 year ago) #
We've been having this same issue recently, too. Some times the key is fine for days, other times it only sticks for a few minutes.
I don't mean to pile on, but just thought I'd let you know that we're having the same issues, too. If you have any questions, we can also help out.
Lead Developer — 15th March 2011 (1 year ago) #
Do you have the latest version? There is not code in it that can remove your API key.
Member — 17th March 2011 (1 year ago) #
We have version 2.0.2 of Update Notifications. WP 3.1.
Become a member