Single Click Plugin Updater WordPress Plugin
This plugin extends the plugin update notification feature introduced in WordPress 2.3 by adding an “update automatically” link to update notifications. When you click the link, the new version of the corresponding plugin is downloaded and installed automatically. It also lets you know which plugins have update notifications enabled.
Update 06.04.2008 : Version 2.0.1 with much more features is out. More info here.
Download it now! (37 Kb)
How It Works (In Detail)
To be able to display the new link this plugin will hide the original update notification and display a slightly modified one. Here’s what happens when you click the “update automatically” link :
- If the plugin that needs to be updated is active, it is deactivated.
- The Plugin Updater retrieves the plugin’s page from Wordpress.org and finds the download link.
- The new version is downloaded and extracted to the wp-content/plugins directory (this directory must be writable by the Updater plugin).
- If necessary, the updated plugin is re-activated.
All this happens in the background, so if everything works OK you’ll end up back at the “Plugins” tab. If there are any errors the plugin will display an error message and abort the upgrade.
Requirements
- WordPress 2.3 or newer.
- CURL library installed or allow_url_fopen enabled in php.ini. If you don’t know what that means, don’t worry – at least one of these is available on most webservers by default.
- The /plugins directory must be writable by WordPress. The exact file permissions depend on the server configuration. Read more about file permissions. 666 or 755 may be sufficient, and 777 will always work, though this is not recommended due to security risks.
The plugin has been tested and works under Firefox 2.x, Opera 9.x and, as of version 1.0.5, Internet Explorer.
Installation
To install the plugin, please follow these steps:
- Download the one-click-plugin-updater.zip file (below) to your computer.
- Unzip the file.
- Upload “one-click-plugin-updater” folder to the “/wp-content/plugins/” directory.
- Activate the plugin through the ‘Plugins’ menu in WordPress.
That’s it.
Download
one-click-plugin-updater.zip (40 Kb)

Doesn’t work. I have been using the one click installer for some time, but this one does not work at all. It displays the same message every time: “Error : couldn’t unzip the new version of the plugin.”
File permissions are probably to blame; though if the Oneclick installer works, I’ll have to see how it does that.
Hi. Also like the idea of this, but it does seem to require the zlib extensions to php be enabled. I have enabled them (off by default on my host, and yet it still claims they are not available. Does this all ring true? I’m uncommenting the line `extension=zlib.so` in my php.ini file for php5.
Thanks.
Hey,
Looks like the zlib extension is required by the PclZip library which this plugin uses to unzip files. I didn’t write that library, so I don’t know much about troubleshooting it…
A Google search tells me you need to restart the webserver for the new php.ini to take effect. You could also try phpinfo() to see if the zlib extension is actually being loaded.
Meanwhile, I have uploaded a slightly modified version of the plugin that will now correctly fall back to using exec() to run unzip (the unix binary) when zlib is not available.
The plugin does not seem to be updating the others. It seems to run fine but the plugins don’t get updated.
This is probably a file permission issue again. Try temporarily setting your plugins directory to 777 (writable by anyone) and see if it works them. I’ll also upload a minor update of the plugin shortly that should be able to report the problem more accurately.
[...] Visit [...]
Hello again,
It was working very well, even with permissions at 755, which is great. But I just auto updated to the latest version 1.0.3, then an hour later tried to update Broken Link Checker to 2.2.1, and clicking on the update automatically link results in a blank page (like a php error or something).
They may not be related. Sorry.
In the version 1.0.3 I made slight changes to how this plugin determines whether it can write to the plugins directory. However, if this was the cause for your problem, there should be an explicit error message displayed. All I changed in broken link checker was that it would display an error message if CURL wasn’t available. Have you tried updating it manually? What about automatically updating other plugins?
I’ll need to do more testing before I can suggest anything.
I just get the error,
Fatal error: Call to undefined function: is__writable() in /home/pagani/public_html/wp-content/plugins/one-click-plugin-updater/oneclick-plugin-updater.php on line 134
It doesn’t appear to be a permissions error. No change in permissions gets rid of this undefined call error.
It’s a bug. I got it fixed, but I forgot to upload the newest version, sorry!
This should work.
I keep forgetting one needs to be very careful when releasing something that “works for me” to the public :/
FWIW, this new version fixed my problem. Thanks!
I found a bug!
This does not work in internet explorer 6. ( there is no auto update link when using internet explorer.
Please, can you fix that?
and BTW, it works great in FF. Thanks a lot for your time!
It didn’t work in IE because Internet Exploder doesn’t support CSS2 very well. I’ve rewritten the CSS and it now works in IE (as in “it worked the one time I tried it”
).
Why is it that once I automatically update the plugins, I get duplicates. An old one and the new one. Is it possible that the old one be removed automatically or is it just me?
Anyways nice plugin, great for lazy people (or shall we say busy =) ) like me.
Swift
This hasn’t happened to me, but it might be possible when the old & new versions have different directory/file structure. This should be pretty rare.
I could make it delete the old plugin before/after downloading the new one, but that would be dangerous, e.g. there might be some config or cache files in the old plugin’s directory which would get deleted, too. So I won’t be doing that.
Not working for me probably due to my not-so-good knowledge of things. It would be great if it could be like the “Automatic Wordpress Upgrade” where I can enter the details of the ftp, etc and let the program do the rest.
I have so many plugins in the /plugins directory that changing their file attrib takes such a long time that I want to just give it up.
Hey, Krishna, you don’t need to set the permissions for each file/folder in the /plugins directory! Just set the permissions for the /plugins directory itself.
Hey, I just thought I’d point out how much I love this plugin. Love it!
Might I offer an idea for a future version, or for a separate plugin? I’d like some visual indicator, on the plugins page, of which plugins are not being checked (i.e., if they are not in the wordpress.org/extend site), so I know to continue checking them manually every so often.
Thank you!
Yeah, I’ve already heard that idea somewhere else; unfortunately that would be hard to do because the wordpress.org API is undocumented and from the source code of WP I don’t see any suitable functions.
There is one “hack” I could try; maybe in some future version
[...] One Click Updater – Adds an “update automatically” link to plugin update notifications. [...]
[...] Single Click Plugin Updater WordPress Plugin Detta plugin gör det mycket enkelt att ladda ner och uppdatera dina WordPress plugins. För att detta skall fungera krävs det att du använder version 2.3 eller nyare. [...]
[...] OneClick Plugin Updater adds on to the functionality of the built-in WordPress plugin update notification. It lets you update the plugin with one-click right on the Plugins screen. [...]
[...] added a new feature to my single-click WorPress plugin updater – now you can see which of your plugins are checked for updates. Those plugins that have update [...]
Very impressive!
Great piece of software!!
[...] One Click Plugin Updater – This is supposed to update my plugins with one click. It notifies me when one of the plugins has a new version, but throws an error when I try to upgrade something. [...]
@White Shadow “This hasn’t happened to me, but it might be possible when the old & new versions have different directory/file structure. This should be pretty rare.”
Yeah, that happened to me with a plugin that was once just a file while the update was a folder. The plugin was installed, but Wordpress only recognized the older one until I realized the problem and deleted it.
Mhm, that’s exactly what I was talking about. And since it’s not really a bug, there’s no “fix” either.
[...] One Click Plugin Updater – extensie pentru Wordpress 2.3 care îţi actualizează automat plugin-urile instalate. [...]
I think we should use “unzip -fod $somewhere $zipfile” instead “unzip -d ……”
-o to overwirte and -f to only overwrite newer file
Err, okay, that sounds right. I’ll update the plugin.
Originally I just glanced this fallback method from another WP plugin without checking all the details
I keep hoping this one will work for me with every update!
Haven’t got there yet, though. I always get error messages like this:
Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in /home/pagani/public_html/wp-content/plugins/one-click-plugin-updater/oneclick-plugin-updater.php on line 191
Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in /home/pagani/public_html/wp-content/plugins/one-click-plugin-updater/oneclick-plugin-updater.php on line 191
Warning: Cannot modify header information – headers already sent by (output started at /home/pagani/public_html/wp-content/plugins/one-click-plugin-updater/oneclick-plugin-updater.php:191) in /home/pagani/public_html/wp-content/plugins/one-click-plugin-updater/do_update.php on line 89
Heh, hoping alone won’t get you anywhere, error reporting might
Okay, I’ll look into it, but if you’ve got Safe mode on it can be tricky…
Hi, The plug seems to wok, i have the upgrade link but when I use it it does nothing, I’ve got no error message, just the “plug in actevated” message on top of the plugin page but no upgrade. Evzerything is at 777, my plugin folder, all my plugins… Any idea?
Hey, if it shows “plugin activated”, it should have worked. Maybe it’s one of the cases when the new version has a different directory structure. Check if there are two instances of the “non-updated” plugin in the plugin list…
I looked through the code again and I’m pretty sure that if any step of the upgrade process fails, there should be at least some kind of error message.
Well, I’m on a hosted web service so I don’t know if there is a safe mode actually involved or not. I know it’s a linux machine running Apache 1.3.39, PHP v 4.4.7 and MySQL 4.1.22-standard.
Mostly, everything related to Wordpress and its plugins work fine. I had one theme once that had that “headers already sent” error when posting a long time ago, but that’s it.
The error messages suggest it’s either safe mode or open_basedir restrictions, but that shouldn’t matter with the newest (1.1.3) version. The “headers already sent” message shows up as a consequence to those first errors, so it doesn’t really mean anything in this particular case.
Well, this is interesting. With the latest version (1.1.3) I no longer get those errors shown above (open_basedir, safe mode) – in fact, I get no error messages at all…
..BUT, nothing actually updates. I click “update automatically”, there’s a pause (as you’d expect) then the plugins page reloads – the note at the top says “Plugin activated” (as you’d expect to see when one click updater works right) – BUT the plugin STILL says “a new version is available..” and the operating version is the old one, etcetera. Like nothing happened. I have three plugins that need an update and I got the same results on all of them.
Now, that’s still a big improvement from just getting all those error messages, but since I’m not getting any error messages, I don’t understand why the plugins are not actually updated.
I’m not running any caching programs/plugins, for what it’s worth.
Hmm, sounds similar to what LGDA said (above).
I could make a special debug version of the plugin that would log everything it is doing step-by-step. Would you be OK running it for testing purposes?
OH also btw, I’m NOT ending up with two versions as with some other people. I have to set perm to 777 or I get a ‘not writable’ error message, but when I get no messages at all, I’m also not getting any update at all.
Sure, I’ll try anything
Great, I’ll send you an email.
Hiho! seems to be a VERY useful little piece of code – thanks a lot!
for some reason it refuses to work on one of my servers – gives me a 406
“An appropriate representation of the requested resource /wp-content/plugins/one-click-plugin-updater/do_update.php could not be found on this server.”
The file is there, permissions are ok. Any idea what could cause this?
That’s a weird error. And I don’t think it’s caused by the plugin… Might be something with your browser or server configuration. Try it in a different browser perhaps? Or maybe the plugin didn’t upload properly to the server, you could try uploading it again.
hmmm… I have a bunch of other plugins running (thats why I need yours…
) and no problems. Your plug can be installed/activated, but whenever I try to autoupdate a plugin, this 406 error shows up… Standard Firefox 2.x on Mac, standard Linux hosting at Hostnine… nothing special.
Will try some more things tomorrow and report back!
Thanks for your lightning-fast answer!
This might also help you – HTTP 406 Error
There’s also a less radical solution.
Hi White Shadow, I that I’m not the only one. If you need mo testerz holla at me (dont worry I’m french, my english come from songs I heard, lol). I’m really interested on the special debug version too! I’ll be back…(from movies too)
@MacVids : Here’s something to try -
Create a .htaccess file in your “one-click-plugin-updater” directory and put these lines in it :
@LGDA : Try this debug version. I’ve also made a few changes that might make it work… maybe.
Shadow, you are da hero!
I killed this mod_wannabesecure-thingy, and your plug now works on the shared hosting as smoothly as it did on my own vserver before!
Thanks a bunch, mate!
Great, congratulations and such
Ok, so, it works better, I updated the all in one seo pack but I had an error report, I uploaded it here for you:
http://www.legrenierdalice.com/_blabla/blogpix/errorrepot.txt
I just had to activate the plug and everything seems to be ok, i cheked my plugin folder with filezilla, it looks ok.
I dont really understand the error report, if you have the time to give me a solution to have it working 100% it would be cool, if you can.
Thank you!
The updated plugin wasn’t activated automatically because you’re running the debug version. Everything else seems more-or-less okay in that report (at least it works, apparently). To disable debug mode just open one-click-plugin-updater.php and change the line that says “var debug = true;” to “var debug = false;”.
Works fine, thank you very much!
It’s super. Now I don’t waste time on updating plugins. Thanks a lot!
I get this error after I fixed the permissions and cannot figure out what temp file this reffers to. Seems like a great plugin if we can get it working. Any suggestions?
Error : couldn’t create a temporary file.
The plugin needs to create a temporary file to store the new version (a zip file) before it can extract it. It uses a built-in PHP function to determine where to store the file (tempnam()).
Do you have enough diskspace left on the partition that holds the temporary files? And what OS does your server have?
Actually, scratch that – just try the version I uploaded now. I suspect it might work better.
The updater doesn’t update for me the plugin page just reloads its self without any error messages.
I already set the permissions to the plugin directory. What line do I need to add to my php.ini?
Have you got the latest version? Some other people have reported the same problem before, but it should be mostly fixed in the current version.
If you have the latest version, you can open the one-click-plugin-updater.php file and change the line that says “var debug = false;” to “var debug = true;” to get a detailed report of what the plugin tries to do.
As for the php.ini lines, I don’t know what you’re talking about
version 1.1.6 .. I set debug true and got a long list of text. The following looks interesting:
gzopen() found, will use PclZip.
Error: PclZip reports failure. ‘PCLZIP_ERR_BAD_FORMAT (-10) : Unable to find End of Central Dir Record signature’
gzopen() not found or PclZip error. Running unzip instead.
unzip returned value ‘0′. unzip log :
Array
(
[0] => Archive: /tmp/PLGXhAsVH
[1] => peters-custom-anti-spam-image packaged: Mon, 03 Dec 2007 03:40:03 +0000
)
extractPlugin() succeeded.
Plugin extracted, deleting temporary file ‘/tmp/PLGXhAsVH’
Upgraded plugin was not active. Will redirect back to plugin list.
Interesting, but I can’t think of anything at the moment :/
I am still getting the same cannot create tmp file error message.
Any other suggestions? The site is hosted on a linux system, pretty standard settings. There is plenty of room on the partition to create the necessary files.
Here is the error again:
Error : couldn’t create a temporary file ”.
I just updated the plugin, but still have the same problem. The plugin I am using right now is version 1.6.
As I wrote above, you can try to “open the one-click-plugin-updater.php file and change the line that says “var debug = false;” to “var debug = true;” to get a detailed report of what the plugin tries to do.” That might give you more information about the error.
Other than that, I don’t see what could be wrong. Maybe it can’t create the file because of file permissions (seems very unlikely)? Hmm.
sorry that was version 1.1.6
Will save the new version archive (zip) to a temporary file ”.
Warning: couldn’t create a temporary file at ”.
Using alternate temporary file ‘/hsphere/local/home/world/theworldbyroad.com/wordpress/wp-content/plugins/one-click-plugin-updater/PLGPBZzrg’.
About to extract the new version.
I also changed the permissions of the folder for the plugin to 777.
I see that for some reason it couldn’t find the system’s temp folder, so it tried to use the plugins own folder to store the temporary file, which worked because you changed the permissions. So, problem solved
(more or less; you can set “debug” to false again.)
I’ll check if I can do anything about it failing to locate the system-wide temp. directory. I have edited the log you posted to only leave in the important parts – this page is getting very large…
It executes now, but the plugin is not updated after it executes. Below the plugin there is still a notification that the plugin is not up to date.
Have you tried setting the target plugin’s directory and/or files to 777? I know it’s not very secure, but if it works then, we can at least be sure it’s a file permission issue.
Hi, I’m the author of OneClick installer (http://anirudhsanjeev.org/oneclick/), the next version of oneclick will incorporate this along with many new features. Would you be interested in merging the code or the projects and/or contributing to development?
email me at anirudh $at$ anirudhsanjeev $dot$ org
Email sent.
[...] Wordpress Automatic Upgrade que actualiza el WordPress en unos 5 o 6 clics desde el administrador y One Click Plugin Updater que actualiza plugins de la misma [...]
I haven’t tried the one-click installer in a while (since right after the plugin competition) but it never worked with the simplicity, power, and effectiveness of the single click plugin updater. So, I would love to see these two plugins work together, but what I’d like to see is the single-click updater influence the one-click installer. That, or keep them separate.
That’s just me.
Setting the permissions of the plugin to be updated worked.
Danny : the two plugins have very different architectures, so they probably won’t be completely merged. There might be a version of Oneclick installer that includes my plugin, but there will also always be a standalone version of the single click updater available.
Steven : That’s good. I hope I’ll be able to at least partially avoid the file permission hassle in a future version – Anirudh, the author of Oneclick installer, gave me an idea about that…
[...] This plugin. This plugin is called the “One Click Plugin Updater”. Once installed and activated, and provided you’re using the most recent version of WordPress – all you need to do is visit your plugins page every now and again and scroll to see which plugins need to be updated, click to “update automatically” and that’s IT. How much easier could it get? There are a few plugins, unfortunately, that aren’t loaded into the plugins directory in such a way that they update automatically. Those need to be updated manually (and you’ll know, because the “update automatically” prompt will not go away). Other than those – it is a sweet little plugin and it will make your blogging life just a little bit easier! [...]
[...] Single Click Plugin Updater – A very handy plugin that extends the plugin notification system, introduced in WordPress version 2.3. This plugin also provides an ‘update now’ link that, when clicked, will automatically download and install the new version on your blog. [...]
[...] One Click Plugin Updater [...]
Love this plugin. It works great, but for some reason, it has been installing the newer versions of plugins and leaving the old versions in the plugin list. Please help.
Hey Thomas,
This is a known issue – it happens when the new version of a plugin has a different directory structure than the old one. There’s no way to safely fix this right now, so I suggest you deactivate the old version and activate the new plugin. Then you could manually delete the old version from your plugin folder.
By the way, this should only happen for some very specific plugins, not all of them.
Okay, thanks White Shadow!
Thomas
[...] One Click Plugin Updater: تحديث الإضافات المثبته في مدونتك بضغطة زر [...]
[...] along comes the One-Click Updater plugin developed by W-Shaow. As you can see below, once installed you simply click the “update automatically” link [...]
[...] project which attempts to generalise the one click update of WordPress plugins. It is called the One click plugin updater. This tries to add this facility to existing plugins. From the comments on the plugin page it looks [...]
WOW! Excellent! This should be included with wp already, thanks.
Shouldn’t this plugin updater first delete the plugin to update and then upload the new plugin files?
No. It’s safer to simply overwrite the existing files *if* new files are downloaded successfully.
This plugin was working 3 days ago. Not anymore. I’m puzzled.
-
Here’s one error I got:
“Error : couldn’t download the new version from ‘http://downloads.wordpress.org/plugin/all-in-one-seo-pack.zip’!
You need either the CURL library installed or allow_url_fopen set in php.ini for this to work.
-
A second error is that it tells me that it was not possible to download the plugin (to be updated).
-
Here’s what my web server tells me: “We have not made any
changes to the server but Curl is already installed and working on the server:”
-
Puzzling. Do you have any thought on that?
Apparently WordPress.org is going through some kind of restructuring – some download links have changed, some just don’t work at all.
I’m already working to make this plugin conform with those changes, but you will need to update it (the single click updater) manually when I get the new version up. The old version simply won’t be able to do it automatically because the wordpress.org page structure is now different.
ah, thats why… aren’t the WP guys aware that your and a few more plugs are affected by toying around with the server structure? hmmmmpf….
well, take your time and good luck!
Thanks a lot White Shadow.
Just to let you know, the new version is up and seems to be working.
Fantastic. Works fine. Thanks a lot.
Hi, I added about 20 new plugins, and one of them is conflicting with One Click Plugin Updater. Now when I click “update automatically”, I get:
I’ve used Firebug in Firefox and IE Developer Toolbar in IE, trying to see what’s causing the conflict, but neither enable me to see what plugins or scripts or causing the bug.
Do you know how I can find the culprit? I de-activated all the new plugins. The problem still exists.
(Aside: Also some images no longer display on my blog (post-ratings’ stars, translator’s flags.)
After contending with these problems, I found you have just released a new version. I installed it. As expected, that made no difference to the problem another plugin(s) is causing.
I think there’s something in the .htaccess rules that blocks it. My guess would be that one of the plugins you installed modified .htaccess to block all/most access to the “wp-content/plugins” directory, or something similar. It might have added a new .htaccess file in one of those directories as well.
If you don’t find anything wrong with the .htaccess files, maybe it’s in the URL rewrite rules that are stored in the database. Though I’m not sure how to check those, not off the top of my head.
Help, every time I try to use this plugin I get this error message:
Error : couldn’t unzip the new version of the plugin.
Your server may not have ziplib installed and the unzip command doesn’t work either.
What do I need to do to get it to work.
Willing to pay for help. Thanks!
I’ll need more information to figure this out. You can enable the plugin’s debug mode so that it will print out a more detailed report :
Open oneclick-plugin-updater.php and change the line that says “var $debug=false;” (line 23) to “var $debug=true;”
Then try using the plugin again and let me know what it outputs (copy & paste it in a comment here or send me an email – whiteshadow@w-shadow.com).
Thanks – you were right. That solved this problem and another one (plugins’ images not displaying).
Some dastardly plugin created an htaccess file in wp-content/plugins/
with the contents:
`
order allow,deny
deny from all
`
I deleted it! (I wonder what that will do!?)
Which plugin did that? If I find out, I’ll post it here.
Clue: The file has a last changed date of February 15, 2006. That’s not the date it arrived on my site; it may be the date the plugin was last updated – perhaps I can find a plugin with other files last updated on that date.
I have the One click Plugin in WP and it’s activated. When there is a notice that one of the plugins has an upgrade I click the automatically upgrade link and it states “plugin activated” but it STILL shows that there is an upgrade notice on the exact one I just upgraded automatically!
Why does it not work? My permissions are set to 755.
miom
Does this happen for all plugins or only for some of them? If it only happens for some plugins, the most likely cause is that the new version of the plugin has a different directory structure. See if there’s another line for the same plugin in the list.
If it happens for all plugins… I have no idea.
[...] One Click Updater [...]
[...] 以下是我目前用到的WordPress插件(有改变在更新): Copyright AdLogger, Click Fraud Protection. Adman:在博客上投放广告早已不是新鲜事, Adman支持众多类型的广告(当然包括最流行的AdSense),可用<– adman –>标签来自定义广告在文章的位置,简单实用。 Akismet:最著名的垃圾评论过滤插件。别以为自己的博客不出名就不会受垃圾评论骚扰,群发工具强得很,我就一直收到某些无聊人士发来的广告评论。 All in One SEO Pack:建站都讲SEO(搜索引擎优化),All in One SEO Pack是WordPress下最好的SEO插件。 Batch Categories:批量目录整理插,如何一次性将大量文章添加到(或移出)某个目录,试试这个插件就知道了。 CoolPlayer:支持格式最多的播放器插件,其实是调用系统的解码器来播放,如果你想用OGG、AAC那样的非主流格式做在线试听,恐怕目前只有CoolPlayer能满足要求。 cos-html-cache:让WordPress全站静态化,据说比WP-Cache更高效,使用时需将永久链接设置为伪静态格式。 Dean’s Permalinks Migration:类似插件有Permalink Redirect,能让一篇文章的URL多样化,具体说就是如果某篇文章的URL已经被搜索引擎收录,但某天又修改了这篇文章的链接,通常情况下就无法通过旧链接访问,出现“404找不到页面”的错误,该插件就是为了解决这个问题。 FAlbum:试用了无数个外链Flickr的相册插件还是这个最好,我做的汉化包再此。 Google XML Sitemaps:自动生成站点地图,方便Google收录博客上的文章。 iMax Width:自动按原始宽高比调整过大的图片到自定义的宽度(或高度)。 MaxBlogPress Ping Optimizer:为什么每保存一篇文章都要很长时间?那是因为WordPress在Ping XML-RPC服务器,而且还要等待响应。该插件能将这个过程转移到后台执行,由此加快文章的保存速度。 NextGEN Gallery:直译过来叫“下一代相册”,WordPress下最好的相册插件,能实现批量图片管理、加水印、生成缩略图、幻灯片方式浏览……众多功能,更能配合Lightbox、Highslide……等插件实现超酷的图片浏览效果。 One Click Plugin Updater:一键升级插件,配合WordPress内建的更新提示功能,升级插件时只需点Update即完成,方便多了。P.S:平常无需启用,有更新时再开启。 Simple Tags:个人认为是WordPress下最好的标签管理工具,强大却不失配置简单的特点。 Snap Shots™ Plugin:为超链接实现缩略图,很酷。P.S:不建议开启内链缩略图功能,会把页面弄得很乱,整个网站有链接的地方尽是缩略图的小图标。 Ultimate Google Analytics:为使用Google Analytics,需要修改主题文件,经常换主题的人,每次都要修改是很麻烦的,Ultimate Google Analytics能帮助我们从修改代码中解放出来,从此主题天天换也不怕Google Analytics采集不到网站的访问数据。 Wordpress Automatic Upgrade:有了这个插件,WordPress的升级就简单多了,跟着向导即完成在线升级,方便、安全。P.S:平时不必开启。 WP-Highslide:效果很酷的图片查看插件,能实现图片在网页上悬浮、随意拖放、缩放……圆角边框和阴影效果很Vista。P.S:个人认为比Lightbox效果更酷。 [...]
[...] One Click Plugin Updater ist ein wunderbars Plugin, welches eine einfache Pluginverwaltung ermöglicht. Nicht nur, dass die [...]
[...] Single Click Plugin Updater WordPress Plugin est un plugin Wordpress qui permet de mettre à jour vos plugins Wordpress d’un seul click. [...]
[...] automatic plug-in upgrading. To be honest I am getting so tired of upgrading plugins. Of course the One Click Plugin Updater has been a great blessing to help in upgading, but the new autoupgrade feature will be pretty [...]
Just to say I hope you keep developing this plugin — it works really well for me … where the new one built-in to WP 2.5 doesn’t.
Thanks
I’m not certain on this.
This plugin is becoming obsolete with the introduction of the auto-upgrade function in WordPress core. On the other hand, the WP’s own version isn’t perfect either.
I have just started testing 2.5-RC1. I guess I’ll see how it goes.
Well, I have like 5 installation of the 2.5rc1 and auto upgrade does not work… so saying this plugin is obsolete is not correct
just upgraded to 2.5 and I must say I will continue usign this plugin because:
- this plugin marks “tracked” plugins by a small yellow line making it easy for me to manually check and update those plugins that are not automatically tracked
- if I enable this plugin it automatically overrides the builtin update notification of wp 2.5 so there is no problem whatsoever
- the builtin function asked me for my ftp credentials this plugin does not but still works for me, so I guess the checks wp has in place are much too strong
Thanks
By the way, I have a few ideas for new features and fixes to implement, but I’ve been putting it off for a long time (lots of other stuff to do). Maybe, with the new WP version coming out, I’ll finally get around to it.
[...] still sticking with my own updater, as it seems to be more stable. I will also be adding some new features to that plugin… That [...]
Just trying to install a new plugin and I get this:
Fatal error: Call to a member function dprint() on a non-object in /home/xxxxxxxx/public_html/wp-content/plugins/one-click-plugin-updater/oneclick-plugin-updater.php on line 574
after it asks “Are you sure you want to install this plugin?”
It’s a simple bug, I’ll fix this immediately and upload the changes to WordPress.org. It should be up within 20 minutes.
BTW, you can expect this new version to have some bugs – there’s lots of changes to the code and I can’t exhaustively test everything. Also, I was just about to write an extensive post about this version.
[...] Click Updater Plugin 2.0 This version of the WordPress plugin has a lot of new features, and, quite probably, a lot of new bugs, too. In fact, it’s so [...]
Now, the “Update now” option for a plugin has gone. So not actually “one click” updating at the moment.
Arrgh, I know, sorry. There’s a bug that only occurs in WP 2.3.x, it’ll be fixed by tomorrow.
I found an other bug:
the installer is trying to do something in the root directory, and can’t install because of
“Warning: mkdir() [function.mkdir]: open_basedir restriction in effect. File(/) is not within the allowed path(s): …”
I don’t think this is supposed to be like that?
Yes, it isn’t supposed to do that. There was a bug where it tries to make a directory at “/” when the zip file contains an empty root directory, but I thought I’d fixed that. Are you sure you’re using the very latest version (2.0.3)?
Same here: after installing One Click Updater in WP 2.5, the “Update now” option that appears under the plugins is gone. So not actually “one click” updating at the moment.
I would also like to suggest a feature: I used to like the ability to see which plugins required an upgrade in the upper side of all admin pages that the “Global Plugin Update Notice” provided, but apparently the two plugins can’t work together now in WP 2.5… Could you insert the feature in your plugin?
Cheers, and congrats for a great plugin!
Diego
http://www.drbolsa.com
Make sure your browser reloads the plugin’s stylesheet (either F5 or Ctrl+F5 on the “Plugins” page). The new version has a different stylesheet, and the update rows will be invisible if it isn’t refreshed.
The “Global Notice” plugin works, but it displays the default upgrade link, not the one this plugin uses. This is – technically – not wrong (it’d take a while to explain why).
Anyways, I think I could add this feature to my plugin as well.
I use your plugin with WP 2.5. It rocks. It is my most useful plugin. Thanks a lot.
With the new version 2.0.4 the problem with the root directory isn’t there anymore, but now it tries to create a directory /home/ (that’s from the absolute path!) (error: Can’t create directory ‘/home/!’)
I was trying to install ‘http://downloads.wordpress.org/plugin/nextgen-smooth-gallery.0.10.zip’
the error was:
‘Warning: mkdir() [function.mkdir]: open_basedir restriction in effect. File(/home/) is not within the allowed path(s):’
Well I’ll just wait for a working version and report bugs in the mean time.
And yes I am always using the very latest version from http://downloads.wordpress.org/plugin/
Hi again White!
I upgraded to your new 2.04 version and now, whenever I try to update a plugin (by clicking “update now” under the plugin) I get this:
Warning: mkdir() [function.mkdir]: SAFE MODE Restriction in effect. The script whose uid/gid is 21835/21835 is not allowed to access /mounted-storage/ owned by uid/gid 0/0 in /mounted-storage/home58a/sub001/sc30883-FDZZ/xxx.com/wp-content/plugins/one-click-plugin-updater/oneclick-plugin-updater.php on line 669
Can’t create directory ‘/mounted-storage/’.
The full installation log is below :
Checking to see if /mounted-storage/home58a/sub001/sc30883-FDZZ/xxx.com/wp-content/plugins/ is writable.
Okay.
Nonce verification passed.
About to upgrade 1 plugins.
Upgrading ‘headspace2/headspace.php’, download URL is ‘http://downloads.wordpress.org/plugin/headspace2.zip’.
The plugin that needs to be upgraded is not active. Good.
Downloading ‘http://downloads.wordpress.org/plugin/headspace2.zip’…
Downloaded 427611 bytes.
Will save the new version archive (zip) to a temporary file ‘/tmp/PLG0vPWeX’.
Warning: couldn’t create a temporary file at ‘/tmp/PLG0vPWeX’.
Using alternate temporary file ‘/mounted-storage/home58a/sub001/sc30883-FDZZ/xxx.com/wp-content/plugins/one-click-plugin-updater/PLGddpwbv’.
About to extract ‘/mounted-storage/home58a/sub001/sc30883-FDZZ/xxx.com/wp-content/plugins/one-click-plugin-updater/PLGddpwbv’.
Extracting files from /mounted-storage/home58a/sub001/sc30883-FDZZ/xxx.com/wp-content/plugins/one-click-plugin-updater/PLGddpwbv…
So far, the type is set to ‘plugin’.
Need to load PclZip.
gzopen() found, will use PclZip.
Starting extraction to folder ‘/mounted-storage/home58a/sub001/sc30883-FDZZ/xxx.com/wp-content/plugins/’.
Creating directory ‘/mounted-storage/’
Can’t create directory ‘/mounted-storage/!’
Main loop finished.
I cannot use the FTP mode, even the original added to WP 2.5, it never worked for me.
Thanks again for your great plugin.
As I commented on a different post, this apparently happens because the PHP system function is_dir() reports (incorrectly) that the directory in question (”/home/” or “/mounted-storage/”) doesn’t exist. That’s why the plugin tries to create it, and fails – because the directory actually does exist and the plugin doesn’t have the privileges to modify it.
Now I need to find out why is_dir() doesn’t work….
Great, man!! You fixed it with this new release!!!
Cheers!
Diego
No, I didn’t
I just added a workaround for the buggy function; it’s not really “fixed” yet.
[...] One Click Plugin Updater 2.0.5 » Janis Elsts (url) Upgrade plugins with a single click, install new plugins or themes from an URL or by uploading a file, see which plugins have update notifications enabled, control how often WordPress checks for updates, and more. Beta. [...]
1. Thanks again for your plugin, which I use with WP2.5. Better than the wordpress mechanism.
2. Hey, maybe there is a little bug. See on that page, See the 7th comment here:
vincentprat.info/dev/forums/feature-requests/user-roles-e-mail-address/page-1/post-38/
Again, thanks a lot.
Chris Masse
I looked at the forum post, and it looks like it might be a bug. Can you provide a bit more information about how it happened? Did you use the “Upgrade All” link? And were there any error messages?
Hi,
Yes, I clicked on “update all”.
No, there was no error message or else.
It upgraded, and then deactivated one active plugin and activated the inactive one, from the same author.
The list of my plugins:
midasoracle.org/about/software/
WP 2.5
FireFox 2.0.01.3, Windows Me
Thanks,
Chris Masse
I think I’ve found the bug. I fixed it, and version 2.0.6 will be up soon.
Great. Thanks a lot.
Have a great week.
Chris Masse
Hi Whitey,
I’m getting the same error (or very similar) again:
Warning: file_put_contents() [function.file-put-contents]: SAFE MODE Restriction in effect. The script whose uid/gid is 21835/21835 is not allowed to access /mounted-storage/home58a/sub001/sc30883-FDZZ/secretia.com/wp-content/plugins/copyfeed/copyrightfeed owned by uid/gid 99/99 in /mounted-storage/home58a/sub001/sc30883-FDZZ/secretia.com/wp-content/plugins/one-click-plugin-updater/oneclick-plugin-updater.php on line 730
Warning: file_put_contents(/mounted-storage/home58a/sub001/sc30883-FDZZ/secretia.com/wp-content/plugins/copyfeed/copyrightfeed/copyrightfeed.php) [function.file-put-contents]: failed to open stream: No such file or directory in /mounted-storage/home58a/sub001/sc30883-FDZZ/secretia.com/wp-content/plugins/one-click-plugin-updater/oneclick-plugin-updater.php on line 730
Can’t create file ‘copyfeed/copyrightfeed/copyrightfeed.php’ in ‘/mounted-storage/home58a/sub001/sc30883-FDZZ/secretia.com/wp-content/plugins/’
The full installation log is below :
Checking to see if /mounted-storage/home58a/sub001/sc30883-FDZZ/secretia.com/wp-content/plugins/ is writable.
Okay.
Nonce verification passed.
About to upgrade 1 plugins.
Upgrading ‘copyrightfeed/copyrightfeed.php’, download URL is ‘http://downloads.wordpress.org/plugin/copyfeed.zip’.
The plugin that needs to be upgraded is active. Deactivating.
Downloading ‘http://downloads.wordpress.org/plugin/copyfeed.zip’…
Downloaded 178049 bytes.
Will save the new version archive (zip) to a temporary file ‘/tmp/PLGWug4n5′.
Warning: couldn’t create a temporary file at ‘/tmp/PLGWug4n5′.
Using alternate temporary file ‘/mounted-storage/home58a/sub001/sc30883-FDZZ/secretia.com/wp-content/plugins/one-click-plugin-updater/PLGuxzwad’.
About to extract ‘/mounted-storage/home58a/sub001/sc30883-FDZZ/secretia.com/wp-content/plugins/one-click-plugin-updater/PLGuxzwad’.
Extracting files from /mounted-storage/home58a/sub001/sc30883-FDZZ/secretia.com/wp-content/plugins/one-click-plugin-updater/PLGuxzwad…
So far, the type is set to ‘plugin’.
Need to load PclZip.
gzopen() found, will use PclZip.
Starting extraction to folder ‘/mounted-storage/home58a/sub001/sc30883-FDZZ/secretia.com/wp-content/plugins/’.
Extracting copyfeed/readme.txt
Extracting copyfeed/screenshot-1.png
Extracting copyfeed/screenshot-2.png
Creating directory ‘/mounted-storage/home58a/sub001/sc30883-FDZZ/secretia.com/wp-content/plugins/copyfeed/copyrightfeed/’
Extracting copyfeed/copyrightfeed/copyrightfeed.php
Found a plugin header! The plugin is : ©Feed
Can’t create file copyfeed/copyrightfeed/copyrightfeed.php in /mounted-storage/home58a/sub001/sc30883-FDZZ/secretia.com/wp-content/plugins/!
Main loop finished.
Thanks for your help
Fixed again with your new version. Sorry!
Nope… Actually, the update automatically worked with an inactive plugin, but not with an active one….
Ahh, this is confusing!
So what happened when you tried to upgrade an active plugin? Did you get the same error, or did it get deactivated, or what?
Ooops! Now it is working! I got the error only when trying to update the @Feed Plugin, and then it kept happening for a while because of the “Security Mode” the server gets into when something happens… Now I tried with 4 other plugins (2 on-2off) and it worked!
Damn…! It IS confusing. I got the error again. Apparently, it happens with some plugins and not with others: now it happened when updating th “Add Lightbox” plugin…
Maybe it only happens with plugins that have deeply nested directories? For example, the log you posted shows it failed when it tried to create a file in ” copyfeed/copyrightfeed/” (a nested plugin folder), but it extracted files to “copyfeed/” with no problems. What do you think?
Hi,
After updating the plugins, the line reads: “Plugin activated.”. Maybe it should read “Plugin(s) updated”.
I’ve thought about that, but it’s much easier to do it this way.
When the plugin that needs to be upgraded is active, the updater will do all the installation/upgrade stuff and finish by telling WP to reactivate the plugin. So essentially it passes control back to WP, which performs the reactivation and displays the “Plugin activated” message (it’s a bit more complex when upgrading multiple plugins).
I might be able to get my own status message in there (I’m not yet sure if there’s a hook for that), but it would be a more complex and possibly less stable solution.
Anyway, someday I will.
I’m getting the following error when I try to run an update:
The archive format is not supported.
The full installation log is below :
Checking to see if /home/imsoper/public_html/rifilmfestival.com/wp-content/plugins/ is writable.
Okay.
Error reporting set to E_ALL.
Nonce verification passed.
About to upgrade 1 plugins.
Upgrading ‘cforms/cforms.php’, download URL is ‘http://downloads.wordpress.org/plugin/cforms.8.2.zip’.
The plugin that needs to be upgraded is not active. Good.
Downloading ‘http://downloads.wordpress.org/plugin/cforms.8.2.zip’…
Downloaded 922547 bytes.
Will save the new version archive (zip) to a temporary file ‘/tmp/PLGxeExjV’.
About to extract ‘/tmp/PLGxeExjV’.
Extracting files from /tmp/PLGxeExjV…
So far, the type is set to ‘plugin’.
Need to load PclZip.
gzopen() found, will use PclZip.
PclZip failed!
Main loop finished.
I just tried it on my blog and it worked fine. Therefore, the problem is somewhere in your server configuration. It’s hard to say exactly where with the available information.
Have you tried updating or installing other plugins? If yes, did it work?
Yes, I’ve tried to update multiple plugins. FYI, here is my php config: http://rifilmfestival.com/phpinfo.php
PHP info looks good, though it doesn’t give me any clues. I’ll upload a slightly modified version that will be a bit more verbose as to what, exactly, is the PclZip error. Try it and see how it goes.
Thanks! I uploaded the new version and here is the error that I’m getting now.
PclZip Error : ‘PCLZIP_ERR_BAD_FORMAT (-10) : Unable to find End of Central Dir Record signature’
Ahha, I think this is the PclZip bug that was discussed on WordPress traca while ago, which was apparently solved by WP developers. I’ll see if I can find and apply the same solution to my plugin – new version shall be up soon.
I’m getting strange permissions problems with this plugin, it is making (I think) my plugins owned by user and group “99″, which won’t allow me to delete them manually, nor change their permissions. I’m using 2.0.9 of the plugin,
The plugin doesn’t explicitly set the user/group. Looks like the files it creates have the owner set to the webserver’s user. In this case, the “nobody” (I think I remember that’s what user 99 is). Usually that isn’t a problem.
I’m not too familiar with the *nix file system permissions, but I suspect there is no way to change this behaviour in the plugin (at least, the manual for chown() says “file owner can only be changed by superuser”). I could make the plugin set the created files to mode 0777 if that helps any?
Sure, that might help, but I don’t know since I’m not very familiar with file permissions. I’m in discussions with my host to figure out what is going on here.
Maybe you could make an advanced option to what permissions settings to the plugin should change the files to. I’m
Okay, I’ll add the option later.
Version 2.1 updates the plugins but tells us at the end that they were not updated.
Deactivating and re-activating the plugin corrects the plugin.
Hmm, interesting. For the moment, I have no idea why that would happen.
Version 2.1
-
Your plugin updates well the plugins, but at the end gives the wrong message (that the plugins still need to be updated).
A close look-up shows that the plugins have indeed been updated.
A small bug, probably.
Anyway, a great plugin.
Chris Masse
Hmm, I actually noticed this happening for one of my plugins, but I thought it was a one-time fluke. I’ll look into it.
Interesting, on one of my small blogs, everything updated well, and the message at the end is correct.
If I understand why it works on some blogs and not others, I’ll tell you. I don’t get it right now.
There is a general problem of slowness in both cases….
Developing
I have updated to 2.1.1. and all seems fine, as of now. If I notice something, I’ll tell you.
Thanks a lot for all your work,
Chris MASSE
[...] One Click Plugin Updater : aggiornamento in massa di tutti i plugin con nuove versioni e installazione di temi o plugin da url o da file zippati sul proprio pc [...]
Hi,
I like this plugin.
One bug, though.
I often notice that when I disable it, all of the sudden, it turns out that there were plugins to be updated that your plugin didn’t alert me on.
Thanks for your attention,
Chris Masse
Hasn’t happened to me. Might be possible if you’ve changed the update check interval or set enabled the anonymization. In that case, the plugin uses it’s own check-for-updates function. It might miss some updates because it sends version 0.0 instead of the current version (that’s necessary to get the “updates enabled” markings), and because of how WordPress.org handles the API (inconsistent and undocumented
).
I’ll see if I can do anything about it.
“Might be possible if you’ve changed the update check interval ”
Bingo!!!!
Eh, I experimented a bit with it today – no luck.
The problem is that, apparently, when you send a “check for updates” request to api.wordpress.org, it does not simply compare the version info you give it with the latest versions of known plugins. It also does additional verification, and doesn’t return the latest version for some plugins when the reported version isn’t “right”. My plugin always reports version “0.0″ for all installed plugins, because I want to know which plugins have update notifications available.
Could be fixed by splitting up the “notifications enabled?” and “updates available?” checks… Which would lead to code duplication and additional HTTP requests :/
I can use the single click update pluging in Wordress only if I deactivate it. If I deactivate the one click updater plugin; the required plugin still needing updating will still show the upgrade automatically link; which I click and it works fine. All updated!! My question is why doesn’t this plugin work when it’s activated the way it’s supposed too????
My guess would be the plugin doesn’t work at all, and when it’s deactivated you’re using the built-in updater that WP 2.5 has.
I’ll need more info to figure this out if that’s not the case.
Hi
I only have a question: if I use this plugin can I uninstall the “Global Plugin Update Notice” ?
I didn’t undertand if this do also the same work
Tnx
Yes, this plugin can also do the same thing that “Global Plugin Update Notice” does. The notices look slightly different, but basically they’re the same. You can turn the notices on/off in Plugins -> Upgrade Settings
hi there .thanks for plugin:
Does anybody know if tis script is compatible with Wordpress 2.5.1 ?
Thanks in advance for any help on this!
best regards
baron
@baron : Sorry for not answering earlier – your comment got caught by Akismet.
Yes, the plugin is compatible with 2.5.1.
I tried to use the global notices of this plugin but it doesn’t properly work…
Infact to view the message in all pages I’ve to go previously in the plugin page… than it search newer versions of plugins and so the notice is activated…
How can i fix this? (if this is not the normal behaviour)
Oops, I didn’t notice the original “global notices” plugin checked for updates on every page load. I’ll fix this in the next release. That might take a few days though, as I’ve added some new features that I need to test.
Well! Tanks a lot for your courtesy
yeah, I have the same error.
—–
So far, the type is set to ‘plugin’.
gzopen() found, will use PclZip.
PclZip failed!
—-
how can i solve the problem..
may the server have no PclZip modele?
mmm.
oh, this was known issue.
thanks.
Yes, if it’s the same “Unable to find End of Central Dir Record signature” error, it should be solved in the latest version.
Just a thought, before I installed this plugin, i had to click each upgrade automatically link, which was annoying…. I do not however want to change the rights of a directory that has all my plug-ins… that opens a security hole… previously, i got a nice FTP form that I typed all my info and blam…. updated plugin… I was hoping that you would hvae used that tool as well (…wp-admin/update.php?action=upgrade-plugin&plugin=)
that way, i would be using FTP via SSL to upload things, my FTP info is not saved in the system and i don’t have to open the directory to anyone else…
Is that something you might be able to incorporate into this plugin as is or as an option?
It’s certainly a non-trivial task, and I’m not planning to add it in the next release. However, eventually it will be necessary. Eventually, I will implement it. No specific timeframe though.
Keep up the good work! 10q
I love the plugin, make managing plugin easier.
One request, please add the “delete” to the themes property page the same as delete function in the plugin page.
I’m currently using version 2.1.2
thanks.
The theme deletion feature is already pretty much complete. Just need to get some of the other stuff done (e.g. uploading the new, more secure FF extension), and then I’ll release the new version.
Uhmm… really I don’t see the “delete” feature in plugin page ???
however I’ve another request: can you make this plugin full compatible with Wordpress MU ?
tnx a lot
I said “…and then I’ll release the new version”
That is, it’s done, but not available to the general public yet. Don’t worry, should be out soon.
WPMU seems doubtful. You wouldn’t want every user to be able to install any plugins they want, right?
Ooops
Well… this is right but will be handy if the administrator could use this plugin (and, in case, having an option to give this power to his users)
However is only a hint
“Plugin could not be activated because it triggered a fatal error.”
-
I got that after updating to the version 2.2 by clicking on the individual update (not the global update).
-
The irony is that, in spite of the warning, the plugin was updated…
-
Thanks
Chris
Damn. Now I’ve got to track down a weird bug. Ah, and I thought this would be easy :/
Edit : Ah, luckily this was one was easy to find. It’s a non-critical thing that only happens on activation. I’ve uploaded the fix (both to this site and wordpress.org), but I’m not going to bump the version number for this.
I’m writing the post about this version right now.
Hi,
1. I had the “debug” function checked. Because of that, the updated plugins weren’t re-activated after the update. (It was a global update. And the plugins were Recent Comments, Similar Posts, and the Post-Plugin Library).
-
2. On another note, it’s impossible to check the “Mini-Guide” option. No idea why, and no idea what it is.
Best wishes,
Chris Masse
Hey hey.
1. This is the expected behaviour. In debug mode, the plugin outputs various messages and doesn’t automatically redirect to the activation URL (or you wouldn’t see the messages).
2. Theres a typo in the name of that form field. I’ll fix that shortly. The “Mini-Guide” is for people who’ve been using the OneClick plugin (the one by Anirudh). It basically describes the main features of my plugin, and the differences between this and the OneClick plugin.
1. I don’t get why it does not re-activate the plugins, though. And it would be fine to have a way to go back to the WP plugins page.
2. OK. But why can’t I select that option?
Thanks,
Chris Masse
Am I blind, stupid or both? How do I Delete plugins?! I can find the delete-button (or delete link) for themes but not for plugins.
@Fizzgigg – The delete link only shows up for inactive plugins. You can’t dlete active plugins this way.
@Chris Masse – reactivating plugins is a dangerous task (a faulty plugin can crash the script). That’s why all plugins are updated first, and then the script redirects to itself and activates the plugins one by one… Okay, it’s actually more complex than that. Anyway, you gave me an idea how to improve this part of the algorithm, thanks
Do you mean you actually can’t select the option in your browser? That would be weird. The bug I mentioned would make you unable to save that option – it would always stay off after the page reloads. It’s fixed in 2.2.1, already on WordPress.org
Then I am blind because I can’t see it even with inactive plugins.
@Fizzgigg – Maybe you have JavaScript disabled? The “Delete” links are added by JS after the page is loaded. Also, you need to be logged in as someone with the “edit_plugins” security privilege to see them (blog admins typically have that capability).
@White Shadow – I am the admin (and logged in as one) and javascipt is enabled. Can’t see any reason why it shouldn’t work. Btw, I can’t find the dashboard widget either.
I’m using WP 2.5.1 if that can have something to do with it.
I’m running WP 2.5.1 as well, and it works on my two blogs.
View the source of the Plugins page and see if you can find lines like
//Add a status msg.
and
//Add the “Delete” links to inactive plugins
If you find them both, it’s a JS problem of some kind. If only the first one, it’s probably a permission problem. If neither, then there are some serious issues with that situation – the footer hook isn’t running properly.
And what is this “dashboard widget” you speak of?
Sorry about that dashboard thing, I must have mixed up this plugin with some other. I don’t miss it either since I don’t use the dashboard.
I tried updating the java engine to update 6 and that didn’t help.
I’m not sure I follow (I’m not very good at programming). If I go to http://www.mydomain.com/wp-admin/plugins.php, right click and choose View Source I can see both
//Add a status msg.
and
//Add the “Delete” links to inactive plugins
It doesn’t work on neither of my computers and nether IE7 or Firefox.
@Fizzgigg -Yes, you did the right thing. Hmm… Okay, check the source again and see if you can find any mention jquery.js. It’s probably not there. If that’s the case, then I’ve found the bug and will fix it soon.
@White Shadow –
I found it on row 18:
Another strange thing is that when I click “Save changes” in “Plugins/Upgrade Settings” I get the message “Settings saved” but they aren’t saved.
BTW, I found the dashboard thing. It’s on the page “Plugins/Upgrade Settings” way down and says “Show the Miniguide submenu on Dashboard”.
@Fizzgigg – That was unexpected, I thought it would be missing (this would explain the missing Delete link, and more).
…I’m afraid I can’t offer any more suggestions at the moment. Sorry, out of ideas.
@White Shadow –
Dang, I really want this plugin to work.
*Thinking* Four out of four of my computers has the same problem, no matter OS and browser. That makes me think there’s something with the server and not with my computers. All the attributes on the directories on the server are correct as far as I know.
@Fizzgigg – It’s weird. Since jQuery is loaded and the script present, I don’t see why the delete links wouldn’t show up.
Does at least something work (of the plugin)? E.g. do you see yellow/gray bars for every plugin in the plugin list? And you said the options don’t get saved; do you mean all of the options, or just some specific ones?
@White Shadow –
I can see the grey and yellow bars, I can install plugins from URL, I can delete themes.
I can se the page “Upgrade settings” but It doesn’t save changes despite the fact it says it does and I can’t delete plugins.
I haven’t tried to update anything yet because there hasn’t been any updates to any the plugins I use yet.
As I said, it’s very unusual. The bars are added pretty much the same way that the “Delete” link should be added – using a bit of jQuery/JavaScrip. If one shows up, why not the other? Ah, I don’t know.
@White Shadow –
This is really weird.
I’ve updated the plugin from v2.2 to v2.2.2 without any change. And I discovered that settings are in fact saved but not all of them. “Show the miniguide…” for example is not saved but most of the others are.
Could it be different version of php? My servers are using PHP 5.2.5.
“Show miniguide” should be fixed in 2.2.2. Still no idea about the rest of the problems.
@White Shadow –
Sort of. I think I actually found a bug? When it tried to delete I get the error message that it can’t find and delete “…wp-content/pluginsmydashboard”. Shouldn’t there be a slash betweenplugins and mydashboard?
Wow, with the new v2.2.3 delete works!
Yes, there should be a slash there. Can you give me the exact error message?
hi. Thanks for plugin
perfect.
Regards
since a couple of version this plugin does not work anymore for me. have you changed anything regarding the detection if a fodler is writable or not?
here is how my folders are treated: I do a chown -R myuser:www-data on the plugins folder followed by a chmod -R 775 so basically the group: www-data which is the group apache2 and php run as are allowed to read/write/execute so everything should be fine, still when I try a direct upgrade of a plugin, I get somethign like this:
Warning: file_put_contents(/var/www/web6/web/wordpress/wp-content/plugins/one-click-plugin-updater/do_update.php) [function.file-put-contents]: failed to open stream: Permission denied in /var/www/web6/web/wordpress/wp-content/plugins/one-click-plugin-updater/oneclick-plugin-updater.php on line 979
Can’t create file ‘one-click-plugin-updater/do_update.php’ in ‘/var/www/web6/web/wordpress/wp-content/plugins/’
The full installation log is below :
Checking to see if /var/www/web6/web/wordpress/wp-content/plugins is writable.
Okay.
Nonce verification passed.
About to upgrade 1 plugins.
Upgrading ‘one-click-plugin-updater/oneclick-plugin-updater.php’, download URL is ‘http://downloads.wordpress.org/plugin/one-click-plugin-updater.2.2.4.zip’.
The plugin that needs to be upgraded is active. Deactivating.
Downloading ‘http://downloads.wordpress.org/plugin/one-click-plugin-updater.2.2.4.zip’…
Downloaded 58916 bytes.
Will save the new version archive (zip) to a temporary file ‘/tmp/PLGopkHWL’.
About to extract ‘/tmp/PLGopkHWL’.
Extracting files from /tmp/PLGopkHWL…
So far, the type is set to ‘plugin’.
gzopen() found, will use PclZip.
Starting extraction to folder ‘/var/www/web6/web/wordpress/wp-content/plugins/’.
Extracting one-click-plugin-updater/do_update.php
Can’t create file one-click-plugin-updater/do_update.php in /var/www/web6/web/wordpress/wp-content/plugins/!
Main loop finished.
oh, and I have one more idea: sometimes when I had problems with your plugin, I used the built in update, via FTP, so that might have reset the rights on the folders?
@ovidiu – I don’t think this is a bug in the plugin’s access-detection routine. As you can see from the log, the plugin actually can’t write the file in question.
However, it thinks it can write to the folder. You could check if this is correct by trying to install a new plugin using the installer at Plugins/Install Plugin. If that works the problem is most likely with the specific file(s) that the plugin can’t overwrite.
It might have something to do with the fact that since recently the plugin will try to chmod 755 any files it extracts (configured on the settings page), but it seems unlikely.
thx for the answer. I changed the option to 775 on the plugins settings, but maybe it was too late. I’ll change the permissions again, and as soon as a new update is available I’ll try it out again.
[...] it turns out I needn’t have worried about updating all the plugins – enter Single Click WordPress Plugin Updater. Where have you been all my WP life! Needless to say this little plugin beauty saved me from [...]
After installing the plugins, all my plugins dissappeared and I do not have access to them. Any help would be appreciated.
I had the same exact problem.
Help! Please!
Can you elaborate on this “disappearance”? Does that mean that you no longer see the “Plugins” item in the dashboard menu, or that you can’t access it (how?), or that the “Plugins” tab is empty (if so, does it show at least something)? Or something else entirely?
P.S.
Sorry for not answering earlier – I’m having problems with my ISP.
[...] 插件主页 [...]
Hi
since a few days if this plugin is active I can’t access to the administration of WP …. I have only a totally blank page (also the sources are blank) O_o
The only way to access is delete the plugin throught FTP …. Why does this appens and how can I solve?
Tnx a lot
@Engelium – so this only started happening recently? I haven’t made any changes to the plugin in the last few days, so the source of the problem is likely some other software. Have you upgraded or installed a new plugin right before the problem appeared? Also, changes in server configuration might cause strange bugs to appear.
Uhmm… I don’t remember if this appens after an update… I can try on another installation (but in the same server) and test it…
Well… I found the problem…. I don’t know why but if ocpu and wp-super cache are both active there is the problem… however I don’t really need wp super cache so this is not a problem for me
Hmm. I have wp-super-cache active on this blog, too, and it doesn’t seem to cause any problems.
Congrats to you for the latest improvement in this plugin. The bugs have disappeared, and all is working like a charm. Very useful.
Thanks,
Chris
I still use some plugins that doesn’t work with this plugin in the sense that the plugin can’t detect if there is an update available. It’s not because of this plugin, mind you, but the other plugins.
From a developers point of view, is it hard to implement support for update plugins? Is there a faq or information about how to do it? It would be nice to try to convince the developer of the plugins that doesn’t support updating to implement it. The quest for update support, so to speak.
@Fizzgigg – Updates are supported for plugins that are hosted on WordPress.org. WordPress.org has an API that my plugin (and WordPress itself) use to find out if a particular plugin has updates available.
Hosting a plugin on wordpress.org is free; details here.
Minor annoyance: Warning: mb_stristr() [function.mb-stristr]: Empty delimiter. in /var/www/…/wordpress/wp-content/plugins/one-click-plugin-updater/oneclick-plugin-updater.php on line 253
I should probably just hide warnings, but thought I’d let you know.
@nurikabe – Thanks, that is actually a minor, stealthy bug. I’ll fix it right away.
Problem with the latest 2 versions …
“Error reporting set to E_ALL.
.
.
.
(Debug version = redirection will not happen. Script execution finished.)”
Why is it in a debug version?
@Marcel – Debug mode should be off by default, and I’m sure it is off in the latest version. Irregardless of how it came to be enabled, you can turn debug mode off in Plugins -> Upgrade Settings. Uncheck the box “Enable debug mode”.
I love this plugin, but over the past few weeks it has been messing things up a bit – since the 2.6 change in wordpress.
Apparently it is changing the ownership of the files it updates, and the only way I can change them back is to contact my host’s customer support which is extremely lousy to begin with…
Is there a way to keep the plugin from changing the user?
@Patrick Curl – The plugin doesn’t intentionally change the file owner, but any files it creates (and possibly files it overwrites, too) will be owned by the same user account under which the webserver/PHP engine are running. There’s nothing I can do about this – it depends entirely on your server configuration. most likely the problem was caused by a configuration change, too.
This is a great plug in
HI white Shadow…Your Plugin is great..It ’s help me save time very much…
But I have the problem when click to UPGRADE ALL or AUTOMATIC UPGRADE….
It return me an error…I followed your installation instruction…and have already chmod to 777…you may see my picture http://depchai1vung.googlepages.com/InstallerError.png
@billyduc – It looks like PclZip doesn’t work on your server… Do you have the latest version of the plugin (2.2.8)? Some older versions had this problem with PclZip.
I ‘ve already use the latest version !
Well, I don’t know. You could hack the plugin to use unzip instead of PclZip if you want – edit the line 831 :
function extractFile( $zipfile, $type='autodetect', $target = '', $use_pclzip=true
Change "true" to "false" :
function extractFile($zipfile, $type='autodetect', $target = '', $use_pclzip=false
Might help.
There’s a cosmetic issue caused by a conflict between WP Super Cache 0.6.5 and One Click Plugin Updater 2.2.8.
Any time there is a plugin that needs to be updated, OCPU always says that the name of the plugin is WP Super Cache, even though it places the little alert underneath the correct plugin and even though the updates work just fine. If there’s more than one plugin needing to be updated, then the alerts all say WP Super Cache Here’s a screen grab:
http://www.waywordradio.org/wp-supercache-conflict.jpg
@Grant Barrett – Thanks for letting me know. Fixed.
pls l have this errror when l want to use this plugin. pls what do l do? pls give me step by step how to correct it from scratch. lam using version 2.2.9
Will save the new version archive (zip) to a temporary file ‘/tmp/PLGWpTIYb’.
About to extract ‘/tmp/PLGWpTIYb’.
Extracting files from /tmp/PLGWpTIYb…
So far, the type is set to ‘theme’.
Need to load PclZip.
gzopen() found, will use PclZip.
PclZip failed!
PclZip says : ‘PCLZIP_ERR_BAD_FORMAT (-10) : Unable to find End of Central Dir Record signature’
@efe – actually I have no idea why some people seem to have problems with PclZip (which is the case in your example). I’d be happy to help but I don’t know how.
Hi, I’ve recently installed this plugin and I must say it’s great! Previously I was using the “Global Plugin Update Notice” plugin from http://wordpress.org/extend/plugins/global-plugin-update-notice/ which would show me when a plugin had a new version available, but didn’t have its own method of updating the plugin like your one does. Yours is better coz it actually works when I click the update button (well, most of the time anyway).
One thing that I think is missing from your plugin though, which the GPUN plugin did: when more than one plugin is available for updating, it would be great if your plugin would provide a separate “update” button for each plugin, rather than an “update all” button. Because I might want to just update one of the plugins (using your plugin’s built-in update method) but not update all of them. Currently I can’t selectively do that using your plugin – it’s basically all or nothing.
I don’t want to rely on WordPress’s own update method, coz for some reason that doesn’t work on my server.
What do you think about adding this feature sometime? You can check out the GPUN plugin if you want an idea of what I mean.
In any case, your plugin still rocks, so thanks for that!
Cheers,
Jeremy
@Jeremy – You can update plugins selectively if you go to the “Plugins” page and use the individual “upgrade automatically” links below each plugin. When my plugin is activated those links will use my update algorithm by default, not the WP built-in one. So they should work on your server
[...] One Click Plugin Updater [...]
@White Shadow – thanks for the explanation! I had no idea the individual “upgrade automatically” links used your plugin’s algorithm – that’s good to know!
One other question: every single one of my plugins is hosted on http://wordpress.org/extend/plugins/, yet with your plugin installed, only some of the other plugins show the gold bar to indicate they have Update Notifications enabled. The rest have the grey bar. Why is that? I thought every plugin hosted on the Extend site had Update Notifications enabled?
In fact sometimes a plugin with a grey bar beside it will still have a new version notification displayed on the Plugins page, and your plugin will show “There is a new version of XYZ available” etc. This has happened to me just today actually. So clearly your plugin is doing the check for all these other plugins, to see which ones are available for updating, but it only shows the gold bar for a few of them. Any idea why that is? Is it a bug perhaps?
Cheers,
Jeremy
@Jeremy – I’m aware of this problem. It happens because there is no “official” way to find out if a plugin can get update notifications. So I use a hack, which is unreliable. It will remain this way until wordpress.org implement it in their API.
@White Shadow – would it not be correct to say that any plugin hosted at http://wordpress.org/extend/plugins/ supports Update Notifications, and any plugin not hosted there does not? Is your plugin able to tell if a plugin is hosted there or not?
Another question: is it possible to completely turn off the gold/grey bars from the Plugins page, if I don’t want to see them at all? I can’t see anything on the options page about that. Perhaps a future version of your plugin can allow this?
Thanks again,
Jeremy
@Jeremy – Yes, plugins hosted on wordpress.org will have update notifications. However, verifying this for each plugin separately would be very inefficient, so I’m not using that method.
You can’t turn the bars off in the current version, but you can always delete the image files from the plugin folder if you don’t want to see them… Maybe I’ll add the option in a new version.
[...] One Click Plugin Updater är ett WordPress-tillägg som låter dej installera, uppdatera och radera tillägg och teman innan du hinner säga “Detta tillägget uppdaterar mina inlägg supersnabbt”… Jag använder det själv! [...]
Hi White Shadow,
Are there any release notes for this plugin that I can read? I’m always curious to know what’s changed from version to version with WP plugins! But I can’t find any for yours here or on the WordPress Extend page.
Cheers,
Jeremy
Whenever I attempt to update a plugin using WP 2.5 and PHP 5 I get the following error message:
Any clues?
If I can get this to work I’ll save myself a heap of time. Any assistance much appreciated.
TWarning: file_put_contents(/home/aclass/public_html/wp-content/plugins/akismet/akismet.gif) [function.file-put-contents]: failed to open stream: Permission denied in /home/aclass/public_html/wp-content/plugins/one-click-plugin-updater/oneclick-plugin-updater.php on line 1047
Can’t create file akismet/akismet.gif in /home/aclass/public_html/wp-content/plugins/!
Main loop finished.
Can’t create file ‘akismet/akismet.gif’ in ‘/home/aclass/public_html/wp-content/plugins/’
The full installation log is below :
Error reporting set to E_ALL.
Plugin directory is ‘/home/aclass/public_html/wp-content/plugins/’
Checking to see if /home/aclass/public_html/wp-content/plugins/ is writable.
Okay.
Nonce verification passed.
About to upgrade 1 plugins.
Upgrading ‘akismet/akismet.php’, download URL is ‘http://downloads.wordpress.org/plugin/akismet.zip’.
The plugin that needs to be upgraded is not active. Good.
Downloading ‘http://downloads.wordpress.org/plugin/akismet.zip’…
Downloaded 12606 bytes.
Will save the new version archive (zip) to a temporary file ‘/tmp/PLGh1IfAw’.
About to extract ‘/tmp/PLGh1IfAw’.
Extracting files from /tmp/PLGh1IfAw…
So far, the type is set to ‘plugin’.
Need to load PclZip.
gzopen() found, will use PclZip.
Starting extraction to folder ‘/home/aclass/public_html/wp-content/plugins/’.
Extracting akismet/akismet.gif
Can’t create file akismet/akismet.gif in /home/aclass/public_html/wp-content/plugins/!
Main loop finished.
@Jeremy – You can find something similar in the WordPress Repository – the revision log and this page have some of my comments.
@Troy Dean – This most likely means the plugin doesn’t have write access to your “wp-content/plugins” folder. Depending on your server configuration you may need to chmod it to 755 or 777 (does that make sense?
).
I am having the same problem as Efe (comment 238) and had to deactivate the plugin. It only started happening when One Click Installer was upgraded and changed to One Click Plugin Updater.
@Donal – I think this is caused by the change in the zip library… both plugins use essentially the same library, but OneClick Installer uses an older version, and my plugin uses the newer version that comes with WordPress itself.
You can check if this is really the cause by replacing pclzip.lib.php in the plugins folder with the one from this archive. If it starts working OK after that then we’ll know it’s the ZIP library.
@White Shadow –
I replaced that file and got the same result I’m afraid.
@Donal – In that case I’m out of ideas.
I get an Error 500 from my server, when trying to update plugins after installing the new one click version. I checked the permissions in my plugin folder and its set to 755, so it should work according to the manual. After that i check for the libcurl library and it’s also running on the server.
@Mirco – Unfortunately this “error 500″ is a very generic, non-descriptive and fairly rare error. It’s nigh impossible to tell why it happens unless you do some heavy research.
From what I’ve found after googling wordpress plugins & error 500, it appears that this error is usually caused either by an incorrect .htaccess file or by file permissions.
Take a look at what permissions the actual one-click-plugin-updater files have. I can’t say what, exactly, they need to be, but they should have the same permissions as other plugin’s files. For example, if you have Akismet working and akismet.php is 755, then all .php files in the one-click-plugin-updater directory should also have 755 permissions.
If that doesn’t help then .htacess would be the next thing to look at.
I seem to keep getting the same message:
Can’t create a temporary file ‘/var/tmp/PLGVUPqpR’.
The full installation log is below :
Plugin directory is ‘/f1/content/tictechtoe/public/wp-content/plugins/’
Checking to see if /f1/content/tictechtoe/public/wp-content/plugins/ is writable.
Okay.
Nonce verification passed.
About to upgrade 1 plugins.
Upgrading ’stats/stats.php’, download URL is ‘http://downloads.wordpress.org/plugin/stats.1.3.2.zip’.
The plugin that needs to be upgraded is not active. Good.
Downloading ‘http://downloads.wordpress.org/plugin/stats.1.3.2.zip’…
Downloaded 229591 bytes.
Will save the new version archive (zip) to a temporary file ”.
Warning: couldn’t create a temporary file at ”.
Using alternate temporary file ‘/var/tmp/PLGVUPqpR’.
Error: couldn’t create a temporary file ‘/var/tmp/PLGVUPqpR’.
Main loop finished.
That temp directory just doesn’t exist on the server, maybe I’m just missing a setting or something? Please help, and sorry for sounding like a noob.
@Ben – From the log I can tell what’s going on, but I don’t know why.
First the plugin tries to create the temp. file in “/tmp”, but apparently that directory doesn’t exist and tempnam() returns an emty string. This is not exactly what it (PHP) should do – it should instead create the file in the system’s default temp. folder.
So the the plugin tries again (because it’s persistent and tries to be reasonably failsafe), attempting to create the temporary file in it’s own directory which definitely must exist. But this time, for some inexplicable reason, the tempnam() function reports that it has created the temp. file in “/var/tmp”, which, according to your comment, doesn’t exist.
As far as I can tell it’s a PHP/server/configuration bug.
[Oh, the humanity. I should probably go get some sleep.]
@White Shadow – I have checked the chmod of the plugins and themes directory to 777 and snoopy says it’s okay on the upgrade settings page. Any other ideas?
Much appreciated.
@Troy – I still think the log in your previous comment clearly indicates a permission issue. Check the permissions on akismet/akismet.php; also check which user owns those files. Is safemode on?
[...] habe nämlich das Plugin One click Plugin Updater installiert, ihr könnt damit eure Plugins selber über ein Menü [...]
[...] One Click Plugin Updater Upgrade plugins with a single click, install new plugins or themes from an URL or by uploading a file, see which plugins have update notifications enabled, control how often WordPress checks for updates, and more. By Janis Elsts. [...]
I noticed that disabling One Click Plugin Updater, Wordpress core update function works fine. Does this plugin enables any normally unused library?
@José LuÃs – I don’t think so, though it may affect the access permissions of other plugin files (when it updates them). Maybe that has something to do with it.
I like this plugin quite a lot – but two difficulties. First, in the More/Hide segment on the banner towards the top of my dashboard pages – this is what I get when I click “More”:
Cannot load one_click_miniguide.
Second – since One-Click Install has been subsumed into One-Click-Plugin-Updater – how does one use it to install a theme (in the description in the plugins menu, theme installation is mentioned). Or to install a new (rather than updated) plugin?
My apologies if the answer to these questions are staring me in the face – but I’m not getting it.
O.C.P.U. is still a great plugin – and will clearly save lots of time and energy – but I’m very lazy, and I want the features of One-Click Install, too.
Jon Soroko
@Jon Soroko – The problem with the miniguide is actually an oversight on my part; a bug. You can manually enable the miniguide in Plugins -> Upgrade Settings.
To install a plugin, go to Plugins -> Install a Plugin. Likewise, use Design -> Install a Theme for themes. Simple
I get the same message that Ben mentioned . . . and I’ve tried it on multiple sits with the same result. So I have reverted to One Click Install on all sites until the problem is resolved. I love One Click Install and have been using it for a long time, but this plug-in simply will not work.
@JHS – Okay, now I’m definitely going to fix it in the next update. Expect it sometime during next week.
@White Shadow – Safe mode is off and I have tried every combination of 775, 755 and 777 on all directories and files and still no luck…
@Troy – Might it be that you’re using suPHP or Suhosin (spelling?) and the problematic files/directories have a different owner or group than the updater’s files?
Hey,
As of version 2.4 I can’t upload new plugins/themes from web anymore, it gives me the error below. (when trying to install a random plugin as an example)
Downloading ‘http://downloads.wordpress.org/plugin/ozh-admin-drop-down-menu.zip’…
Downloaded 11998 bytes.
Will save the new version archive (zip) to a temporary file ‘/var/tmp/PLGy67yfX’.
About to extract ‘/var/tmp/PLGy67yfX’.
Extracting files from /var/tmp/PLGy67yfX…
So far, the type is set to ‘plugin’.
gzopen() found, will use PclZip.
PclZip failed!
PclZip says : ‘PCLZIP_ERR_BAD_FORMAT (-10) : Unable to find End of Central Dir Record signature’
Any help would be much appreciated!
@Sam L – I am getting the exact same thing. I’ve tried the permissions thing. Nothing…ideas?
2.0.8 – 2.4 use the same version of PclZip, so that’s probably not the problem. An error like that might appear if the download was corrupted somehow, but then it should be only temporary – the update should work after a few tries. Besides, the download size shown in the log is correct, so I doubt it was corrupted.
If the bug was happening on my own server I’d hack the plugin to leave the temporary downloaded file in place and look at it (the .zip) myself to see why it doesn’t work. I’d also directly test PclZip on that file.
Obviously I can’t do any of that with your server, so I’ll only attempt to make the file extraction algorithm a bit more robust.
Version 2.4.1 fixed PCLZip error on updates (didn’t test on installation of new plugins yet).
But I had to set Plugin Updater Module to “Wordpress core”, since every time I ordered an update it just told me the plugin was “activated” but didn’t update at all…
@José LuÃs – I can guess why that is, but I don’t know how to fix that. Ah well.
[...] plugin instalowałem przez wtyczkę One Click Plugin Updater (również polecam) ale według danych w internecie aby ta wtyczka działała [...]
Whenever a new plugin update is released and I use your plugin to update those plugins, it does not reactivate the plugins after updating and instead shows this error message:
Fatal error: Call to a member function dprint() on a non-object in /home/navjot/public_html/nspeaks/wp-content/plugins/one-click-plugin-updater/do_update.php on line 49
Though the plugins do get updated!
I am using Wordpress 2.6.1
@Navjot Singh – This can happen when you update this plugin along with other plugins (via “Upgrade All”). It’s a known issue and will be fixed eventually.
I just wanted to mention to other people getting this message:
Extracting files from /var/tmp/PLGy67yfX…
So far, the type is set to ‘plugin’.
gzopen() found, will use PclZip.
PclZip failed!
PclZip says : ‘PCLZIP_ERR_BAD_FORMAT (-10) : Unable to find End of Central Dir Record signature’
Mine works, once I switch it to use ‘Wordpress Core’ updater in the Plugin Updater Options. Since everything other than the actual upgrade engine looks the same to me, I’m probably not going to fight with it, unless a lot of free time comes up . . .
I’m thinking it’s running into errors reading/writing from /var/tmp … /var doesn’t show up as an existing folder in my PHP File Manager. I’ll know more when I get into the backend . . . but that won’t be soon.
HTH
8/22
Hate to burst any bubbles but the one click updater does not work with WP 2.6.1 as far as I can tell. I constantly deactivates a plugin so the upgrade can be installed and then the install fails. I checked the directory permissions and all relevant directories are 755 so that should not be the issue.
The old one click installer did what it was supposed to do quite well and included zip unpack and ftp capabilities. Fortunately, I save all the stuff I install and and go back to the deprecated version!
Yes, yes.
i, too, get a error when trying to upgrade (still in WP v2.6, single click v2.3):
Fatal error: Call to a member function on a non-object in /homepages/15/d206252512/htdocs/watson/wp-content/plugins/one-click-plugin-updater/do_update.php on line 127
help! with some rarity it works, but even then i have to reenable the upgraded plugins individually. thanks for the great plugin, sorry to be that guy with the mysterious error…
@Neil –
I was having the same problem….switched over to “Wordpress Core” and the plugin updater works now.
@chris tolles – Does that “Fatal error” happen all the time, or when upgrading several plugins at a time (i.e. “Upgrade All”)? I’m fairly certain it shouldn’t happen for individual upgrades.
@White Shadow –
after reading your comment about someone else’s similar error, i tried upgrading them one at a time, but i got the exact same error whether attempting a single upgrade or multiple.
incidentally, i tried the upgrades a few minutes later, and it worked fine if they were deactivated AND i did them one by one, so go figure.
thanks for a great plugin!
@chris tolles – I think if you download and (re-)install the latest version 2.4.3 this particular error should go away.
I have a basic question about the one-click plugin updater. When I activate the plug, one of the changes I see is that some of the plugins have a yellow vertical line to the right of the plugin name while others have a vertical grey line. What does this indicate?
By the way, this is a great plugin. Thanks for creating and maintaining it.
@Travis –
I should have checked all of the links. Great addlion. Now I know what needs to be manually updated. Thanks!!
Thanks, I’m glad you like the plugin
Jumping to the conclusion that the ‘one-click’ plugin referred to in this post is ‘One Click Plugin Updater’ (sorry if I’m totally wrong here >_<) but was just wondering if this plugin does affect the post/page management section at all?
(http://wordpress.org/support/topic/199058?replies=5)
Thanks!
@Mosey – I don’t know if this is the plugin referred to in that thread (there is one other plugin with a similar name). In any case, the plugin shouldn’t affect the pages under “Manage” at all.
However, it may be possible for a failed upgrade to cause some problems. It could leave some previously active plugins deactivated. Also, if PHP is in safemode and something causes the updater to time out and be terminated by the server when upgrading (wouldn’t happen in non-safemode), in very rare cases it could theoretically leave a plugin in “half-updated”, inconsistent state, that could cause unexpected problems. In that case I’d recommend deactivating all plugins and reactivating them one by one to see which (if any) is the problematic one.
@White Shadow – Thank you very much for your prompt and helpful reply
I’ll link the asker to your answer and if it does happen to be this plugin (probably not as it does seem unlikely) then he has some way of fixing it.
Thanks again!
@Mosey – Just a quick update to say it’s all resolved now. Thanks again, White Shadow!
Really much appreciated!
Hello friends,
I’m using the One Click Plugin Updater but I have actualized to the new version. Now, when I whant to automatic update any plugin (others) I get a 404 error page.
What can I do to the plugin back to work?
Thank you!
[...] More info – One Click Plugin Updater homepage [...]
thanks for your help before, but i’m still getting errors. any help? sorry for ugly error paste, but:
Error reporting set to E_ALL.
Plugin directory is ‘/homepages/15/d206252512/htdocs/watson/wp-content/plugins/’
Checking to see if /homepages/15/d206252512/htdocs/watson/wp-content/plugins/ is writable.
Okay.
Nonce verification passed.
About to upgrade 1 plugins.
Upgrading ‘broken-link-checker/broken-link-checker.php’, download URL is ‘http://downloads.wordpress.org/plugin/broken-link-checker.0.4.8.zip’.
The plugin that needs to be upgraded is active. Deactivating.
Downloading ‘http://downloads.wordpress.org/plugin/broken-link-checker.0.4.8.zip’…
Downloaded 14780 bytes.
Will save the new version archive (zip) to a temporary file ‘/homepages/15/d206252512/htdocs/watson/wp-content/plugins/one-click-plugin-updater/plg3204cc0f4ada02ee5aba581e01cbb3f4.zip’.
About to extract ‘/homepages/15/d206252512/htdocs/watson/wp-content/plugins/one-click-plugin-updater/plg3204cc0f4ada02ee5aba581e01cbb3f4.zip’.
Extracting files from /homepages/15/d206252512/htdocs/watson/wp-content/plugins/one-click-plugin-updater/plg3204cc0f4ada02ee5aba581e01cbb3f4.zip…
So far, the type is set to ‘plugin’.
Need to load PclZip.
gzopen() found, will use PclZip.
Starting extraction to folder ‘/homepages/15/d206252512/htdocs/watson/wp-content/plugins/’.
Extracting broken-link-checker/broken-link-checker.php
Found a plugin header! The plugin is : Broken Link Checker
Extracting broken-link-checker/readme.txt
Extracting broken-link-checker/wsblc_ajax.php
Extraction succeeded.
Upgraded plugin was active. It will be reactivated.
Main loop finished.
Should redirect to http://watson.christolles.com/wp-admin/plugins.php?action=activate&plugin=broken-link-checker%2Fbroken-link-checker.php&_wpnonce=087e6af456
(Debug version = redirection will not happen. Script execution finished.)
@Chris Tolles – I don’t see any errors in that log. In fact, it seems the update went perfectly well
You just need to disable debug mode if you don’t want to see those detailed installation messages anymore (see Plugins -> Upgrade Settings).
@White Shadow –
what a dope! thanks. but still, why are the new plugins not activated?
@Chris Tolles – The upgraded plugin doesn’t get activated when in debug mode – this is by design. Plugins should get reactivated when debug mode is off… are you saying that doesn’t happen?
First off,
Just want to say that I love your plugin, and thanks for developing it!
But, like others here, I’m having an issue with the one-click update. Had to switch over to “Wordpress Core” in settings, because with the default i was getting “Plugin Activated” but no updates. It still doesn’t update all at the same time; have to update the plugins one at a time (works flawlessly that way). Not a big deal, though, just wanted to let you know.
Thanks again for a wonderful plugin, and keep up the good work!
Hello,
first of all, thanks for the plugins!
Unfortunately, I’m having an issue with the plugin updates. Here are the log:
…
Starting extraction to folder ‘/var/www/vhosts/myhostname/httpdocs/wp-content/plugins/’.
Extracting clean-archives-reloaded/clean-archives-reloaded.php
Found a plugin header! The plugin is : Clean Archives Reloaded
Can’t create file clean-archives-reloaded/clean-archives-reloaded.php in /var/www/vhosts/myhostname/httpdocs/wp-content/plugins/!
I tried both mode with no success. I’ve also tried to modify the permission for plugins directory, the to-be-updated plugin directory, and the old plugin files to 777 with no effects. Is there anything I need to set up (probably permission-wise) before using this plugin?
Thanks!
@bimz – Well, the only thing that springs to mind (after much thinking) is that the the updater plugin file and the plugin-to-be-updated might have different owners. Or, possibly, the server might be configured to prevent PHP from writing to files regardless of permissions.
Great plugin – except I can’t edit the files in a theme directory that oneclick created (I think it was your plugin). I get the 550 permissions error. How to fix this?
@Tim G. – I think this could have been caused by a change in your server’s configuration. The plugin uses normal file access functions (the same WP would use), so WordPress should always be able to access files that the plugin can access.
However, I can imagine some scenarios – quite contrived ones – when certain changes (not necessarily recent ones) in configuration could cause a problem like this.
Here’s something you could try : check that the theme directory in question (and files within it) have the same owner as WP core files. Depending on your server conf. you might also need to set the permissions to 755, or whatever permissions are currently set for other themes/plugins.
@White Shadow –
Hi,
the user for your theme install is 99, for the rest of my server files, 32xxx.
Also, I sent you some $ for your plugin.
Is your plugin going to be included in 2.7 core?
@Tim G. – So it’s as I thought – the theme files are owned by user 99 (A.K.A “nobody”), the user that the webserver often runs as, and the other files are owned by another user (probably your own user account). You need to get all the files to have the same owner – your account. You can usually do this by typing “chown username filename” in the console, but the specifics will depend on your host.
As far as I know 2.7 will include the main features of my plugin but probably not all the little tweaks and the Firefox extension. I really haven’t looked into it yet.
@White Shadow –
So is there any fix to this? I guess the easiest way is to install the theme manually. Does that console command work for the whole directory? Where to I go on the host control panel to type that?
@Tim G. – It should work on the whole directory (maybe you’d need to add some additional options). However, it’s not something you can use from your control panel. To enter console commands you would need to connect to your server using a SSH/telnet client like PuTTY. This is called “shell access” and I don’t know if your host allows it. And it requires a bit of Linux skills
The simplest solution might be to delete the theme and try again, or install it manually as you suggested.
@White Shadow –
chown won’t let me change the user – it tells me operation fails…guess I’ll have to email the host to get them to del the directory.
How do I get my plugin to automatically update?
@Eric Wood – If you mean fully automatic updates that’s currently not possible with this plugin or WP core. You would still need to click the “upgrade” link(s) when an update is available.
I know that there can’t be fully automatic plugin updating, I’d just like my plug in to show on the list (have the yellow square)
@Eric Wood – Ah, I see. Automatic updates (in this sense) are only available for plugins hosted on wordpress.org. See : WordPress can host your plugin
@White Shadow – I know that there can’t be fully automatic plugin updating, I’d just like my plug in to show on the list (have the yellow square)
Thanks for your help!
[...] OneClick will certainly change the way you install plugin and theme on your WordPress. Once installed and used with OneClick Installer Firefox extension, it simplifies the effort to install both plugin and theme to just one single click without the use of any FTP upload. [...]
[...] One Click Plugin Updater [...]
[...] One Click Plugin Updater ဒါကေတာ့ plugin ေတြကုိ upgrade လုပ္ဖို႕ click တစ္ခ်က္နဲ႕ တင္အဆင္ေျပပါတယ္ … [...]
Hi. I’ve used this plugin for quite awhile. However, I’ve noticed quite often when I click on the upgrade option it works for awhile and then I get a 500 error. The new version of the pluigin installs correctly, but the plugin is not activated. This happens about every other time I try a plugin upgrade.
When I use the built-in WP function (when the One-Click plugin is not active) I never have the problem, and if I use Plugin Central to do the same thing, I never have a problem.
What can I check to see what’s happening?
The “Delete Cache” button on the wp-admin pages should not be visible for registered users, only for admins.
Oops. My previous comment can be deleted.
When I meant to say was:
The “There are new versions available for…” box on the wp-admin pages should not be visible for registered users, only for admins.
@Walt – You can turn on “Debug mode” in Plugins -> Upgrade Settings and see if you can find any clues in the debug output that will be produced when you try to upgrade a plugin. Other than that I can’t suggest much – error 500 is a very generic error that doesn’t tell us anything about the nature of the problem.
@Tanin – Good point, I’ll change it.
Hello,
I’m trying to use this plugin on a server that is protected by a firewall. What url address I have to setup on the firewall rules to allow it to “detect” plugins updates and install then ?
Thanks
@Humberto Cruz – Updates are “detected” via api.wordpress.org and downloaded from an appropriate URL on downloads.wordpress.org
OK. I set the debug option on and tried a plugin update. It looked like it ran ok. At the end of the script it had this:
Extraction succeeded.
Upgraded plugin was active. It will be reactivated.
Main loop finished.
Should redirect to http://(mydomain).com/wp-admin/plugins.php?action=activate&plugin=search-unleashed%2Fsearch-unleashed.php&_wpnonce=83cb376aac
(Debug version = redirection will not happen. Script execution finished.)
Normally, at the end it just goes to the 500 “something didn’t happen” error. Do you need more information?
By the way, I forgot to mention- even though the script claimed “it would reactivate the plugin”, it did not….
@Walt – It didn’t reactivate because it was in debug mode, just as it says on the last line of the log. Judging from the part of the log you posted, everything went just fine with the upgrade – or so the plugin thinks. No ideas.
[...] One Click PlugIn Updater [...]
A error comes while updating the plugins: Fatal error: Call to a member function dprint() on a non-object in /home/navjot/public_html/dailysms/wp-content/plugins/one-click-plugin-updater/do_update.php on line 127
@Navjot Singh – As far as I know it is impossible to get this error [in the current version] except if you somehow manage to launch an installation/upgrade while the updater plugin is deactivated. Which should be impossible. Mhm.
… Not that this helps anything
For the last couple of versions I have not been able to install plugins, and to update them I have had to disable the plugin and use standard wordpress. This is the error I am getting when I try to install a plugin and when I turn on debugging I get pretty much the same info when trying to do an update:
Plugin Installed
However, I couldn’t verify that it really is a plugin. Hmm.
View installation log
Downloading ‘http://downloads.wordpress.org/plugin/cross-linker.1.3.2.zip’…
Downloaded 15839 bytes.
Will save the new version archive (zip) to a temporary file ‘/wp-content/plugins/one-click-plugin-updater/plg078c96f15341dbab189f5dd346b2e8e3.zip’.
About to extract ‘/wp-content/plugins/one-click-plugin-updater/plg078c96f15341dbab189f5dd346b2e8e3.zip’.
Extracting files from /wp-content/plugins/one-click-plugin-updater/plg078c96f15341dbab189f5dd346b2e8e3.zip…
So far, the type is set to ‘plugin’.
gzopen() found, will use PclZip.
PclZip failed!
PclZip says : ‘PCLZIP_ERR_BAD_FORMAT (-10) : Unable to find End of Central Dir Record signature’
PclZip unavailable, using unzip.
Extracting files from /wp-content/plugins/one-click-plugin-updater/plg078c96f15341dbab189f5dd346b2e8e3.zip…
So far, the type is set to ‘plugin’.
Running the unzip command.
unzip returned value ‘0′. unzip log :
Array
@Peter Answers – As far as I can tell from the log, it fails because PclZip doesn’t work (can’t tell why that happens). The plugin tries to fall back to using the “unzip” command, which doesn’t work either (according to your comments).
I don’t know what’s causing it. If it really is pclzip, see if you can get a pclzip.lib.php file from an older version of the plugin and put it in the plugin’s folder. That might help.
I give up! I have not been able to use this plugin for several versions. Always fails in the unzip. I have tried it on probably six different wordpress installations and same on all. Maybe it will be fixed soon. Great plugin if it only worked.
Well, I have the same problem Tim G. described some comments before. The problem Is that I have no access to the server via Putty or something like that and I really would like to use the plugin, since it’s really really useful.
My question is: considering you already know the problem (files installed by the plugin can’t be deleted because of some kind of user permissions problem). What can I ask to the hosting provider? I mean, which is that server configuration problem?
Hope you get my english… it sucks ¬¬
best regards,
@Juan Manuel – The short-term solution (which may actually be sufficient in some cases) is to change the owner of the files in question to the same owner the plugin’s own files (i.e. one-click-plugin-updater.php) have. Or at least that’s what I’d do on my server – frankly, I’m not that skilled in *nix server-adminship to confidently state this solution would work for everyone.
Also, I have a fairly dim understanding about how to change which user Apache and/or PHP run as. In my case it involved enabling Suhosin when recompiling Apache (IIRC) and some RTFM.
I still use and love your plugin because it shows me which plugins are not automatically checked by it, by the missing yellow bar so I an manually check those
(using wp 2.7 beta3-something)
@ovidiu –
I should probably do some work on making it more compatible with 2.7 (strip out redundant functions and so on), but I’m pretty busy…
According to a post in Wordpress Support http://wordpress.org/support/topic/197125 the problem with the PclZip error is ’solved’ by disabling Wordpress Automatic Upgrade plugin, which worked for me.
I always get:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, support@supportwebsite.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Apache/1.3.33 Server at Port 80
Maybe it’s just my installation, but since I upgraded to the release version of WP2.7 the indicator graphics thswt’s supposed to show if a plugin support the updating notification doesn’t work. Or it doesn’t show anyway.
Plus the fact that I’m confused over what upgrade functions comes from this wonderful plugin and what comes from WP itself. But hey, I’m old, it’s probably just me.
Have a nice weekend.
@Fizzgigg – Well, the plugin doesn’t “officially” support WP 2.7 yet, so a few bugs are probably to be expected
Though this particular feature works fine on my 2.7 blogs.
@White Shadow –
I’ll just wait until the updated version. Any guess of an ETA?
Good point.
And no, the graphics still doesn’t wok on my site. The rest work for all I know, but the graphic doesn’t for some strange reason.
@Fizzgigg – No ETA at the moment, sorry.
I just discovered that the graphics work in Firefox but not in IE7.
@Fizzgigg – I guess that’s another argument against using IE, isn’t it?
BTW, they work in Opera, too.
[...] One Click Plugin Updater — Plugin ေတြ template ေတြ သြင္းဖို႕လြယ္ရန္ [...]
[...] with its jazzy interface. Last night I tip toed quietly into Wordpress 2.7 which was done by the Single Click Plugin Updater WordPress Plugin which at the click of a keystroke I am done with the upgrade. No code needed either. I am [...]
Your plugin created some files owned not by me [the master account] and now i can’t delete or even CHMOD, i just get a permanent 550 error. They’re theme files.
@desu – The plugin runs under the same account as PHP, so the files also belong to that account. This depends on your server configuration and I can’t change it.
In any case, root (the superuser) should be able to change the owner of those files or delete them. Contact the hosting support if you don’t have access to the root account yourself.
[...] One Click Plugin Updater, paling penting mempermudah proses instalasi plugin n themes [...]
Is this plug-in now required especially in WP ver.2.7 since it does automatically informs of new versions of plugin directly….
@RightMan – No, it’s not required anymore. However, I still use it myself because it lets me install plugins by entering an URL, etc.
i had trouble install plugins at wordpress 2.7, then i use this plugin.
It’s great
Great plug in. Good reviews. Should remember to change the write permission.
I’ve been using this plugins for quite some time now, however yesterday I upgraded my WP install to v.2.7 and this plugin failed to work, I cannot upgrade my plugins using “entering URL” feature, only from file which mean I need to download the plugin first then re-upload using Single Click Plugin Updater.
@Budhi : Could you please be a bit more specific – what error message do you get, etc?
[...] One Click Plugin Updater [...]
BUG – Install A Plug Skipped Some Files
i used wp 2.7 built-in ‘install a plug-in’ page to install wp-dtree plugin.
it did not upload plus.gif into /plugins/wp-dtree-30/dtree-img/
it also did not upload all gifs after plus.gif.
i would assume other files may have been skipped as well.
this problem occurred with ‘install from url’ and ‘install from a file’ when i manually uploaded the plugin, no files were missed.
therefor, WP’s ‘install a plugin page’ is DEFECTIVE.
unless i’m mistaken.
What errors does the installation log show, if any? I just installed WP-dTree on my testsite with no problems.
how can i view the installation log?
i did not receive any error messages when i did the install. i only noticed the plugin was missing some gif’s during normal usage. i checked the plugin image folder, and indeed the gifs were missing.
i tried 2 or 3 times to install it using your plugin– missing those files each time.
this may be a problem with my theme. how could a theme disrupt this plugin?
wp 2.7 built-in “add new” page remote-installer works fine with my theme
You can view the installation log by clicking on “View installation log” after the installation has finished.
It’s very unusual that some files are installed and some aren’t, I can’t imagine why that would happen. Also, I don’t think a theme could interfere with this plugin.
[...] Help with Wordpress 2.7 – Themes? Check out this plugin, Single Click Plugin Updater WordPress Plugin | W-Shadow.com It works with version 2.7 and you can use it to upload plugins and themes like OneClick did. I [...]
I may have some server/permissions issue, but everything *seems* okay. My plugins folder is set at 755, so I’m not sure if there is anything else conflicting or preventing the plugin from working. When I try to install a plugin by uploading a zip or entering in a URL (or even using the firefox extension), I get this error:
About to extract ‘/***/***/***/phptmp/php5JFMOz’.
Extracting files from /***/***/***/phptmp/php5JFMOz…
So far, the type is set to ‘plugin’.
Need to load PclZip.
gzopen() found, will use PclZip.
Starting extraction to folder ‘/***/***/***/web/wp-content/plugins/’.
Extracting cforms/____HISTORY.txt
Can’t create file cforms/____HISTORY.txt in /***/***/***/web/wp-content/plugins/!
Any ideas?
Hi,
I have a problem/question:
I installed this plugin, because wp itself never sees an update of any plugin.
After installing this one, there are still no messages that one or more plugings need updating. But, i know for sure that at least 1 plugin can be updated (checked it manually). Does anybody have any ideas why I am not getting update notifications?
Regards, Snarf
Hmm, maybe it’s the filename – i.e. the multiple underscores might be somehow be problematic on your server? Then again, other plugins would install okay if this was the case.
Maybe the server is running out of space? Or maybe there’s some security module/script/whatever that’s blocking certaing files?
@ Snarf : A few possibilities come to mind –
* Go to “Plugins -> Upgrade Settings” and make sure “Enable plugin update checks” is ticked and the “Check interval” field is set to a reasonable value.
* Check that your server configuration allows outgoing connections from PHP scripts. For example, if you can successfully install plugins via “Plugins -> Add New” or “Plugins -> Install a Plugin” then it’s probably working.
* (You probably know this one already) Update notifications only work for plugins hosted on wordpress.org.
I restored a backup of my website to my local (on my laptop, running USBWebserver) environment, so i have an identical situation) And there it works like i expect (updates are notified and all). So underscores are ruled out (there are none btw) and there is space enough (approx 170Mb).
Security script… I really don’t know…
The “Enable plugin update checks” is ticked and set the interval to 300 secs (5 mins), for testing purposes.
I am able to successfully install plugins via “Plugins -> Add New” or “Plugins -> Install a Plugin” (downloaded a random plugin and installed it succesfull).
Yes, I know that update notifications only work for plugins hosted on wordpress.org (otherwise it would not show updates on the localhost of my laptop
Well, I haven’t got any more ideas at the moment. Try the WordPress support forum, somebody might be able to help.
Well, looked at everything and finally I found the problem.
I had a post where the character é was in the header and in the post itself. After i removed it and made it just e, all works fine.
Don’t ask me how or where it went wrong, but this is the fix for me
Thanks all for your help and suggestions
[...] van mijn favorieten is de One-Click Plugin Updater, icm. de firefox extensie. Je kunt nu plugins met een simpele rechterklik op de link naar het zipje [...]
[...] – to provide easy plugin updates in WordPress – this plugin now deals with various aspects of …..read more Download Plugin! Version 2.4.4 Last Updated: September 25, 2008 [...]
[...] Tertarik? Anda bisa download di halaman INI [...]
[...] I was out of options, so I went searching and found a plugin called “One Click Plugin Updater“. [...]
hmmm, your plugin doesnt seem to like it when wordpress is using ssl when accessing the admin area, ie has
define(’FORCE_SSL_ADMIN’, true);
defined in wp-config.php.
Just thought id mention for future bug fixes
Hello, I’m using this fantastic plugin on my wordpress 2.7 installation. But I found some differences from what I have on my test pc and the online website which is the “production” machine.
In my pc I can to “Plugins->Add new” search for a plugin and install it.
If I do the same thing on my online installation it goes to the default wordpress page where it asks for ftp/ftps to upload files.
Am I missing some part of the configuration? Is some properties of php not enabled?
Thanks for your great work regarding this plugin, I am sure this is just some ignorance from my side, but I really tried searching online and didn’t found this problem.
Regards,
Andrea (sdl)
Just to clarify, the “Add New” page is part of the WP core, not this plugin.
WordPress asks for your FTP credentials because it can’t directly create files in the ‘plugins’ directory (or at least it thinks so). You need to set the file permissions to allow PHP write access to that directory. Depending on your configuration, this might be 755 or 777.
If you can install plugins via the page created by this plugin (”Plugins -> Install a Plugin”) but the “Add New” page still asks you for your FTP info, it’s probably a bug in WordPress.
I have found an interesting discussion on
http://wordpress.org/support/topic/223144
regarding the checks made by wordpress.
I finally found what was the problem. WP is searching for the owner of the file, and I’m using it on a multiuser environment, so that’s why it wasn’t working.
Thank you! Without your help I wouldn’t have fixed it!
Regards
Die wichtigsten Plugins für Wordpress in drei Kategorien, Kategorie 1 – Essentiell…
Ich möchte gerne die meiner Erfahrung nach wichtigsten aktuellen Wordpress-Plugins vorstellen, und zwar aufgeteilt in drei Kategorien: Essentiell, Business und „Nice to have“.
Selbstverständlich sind Kommentare bzgl. Alternativen, Aktualität un……
[...] One Click Plugin Updater (allows one click theme and plugin [...]
This will make life a whole lot easier Janice…many thanks because I need to install about 100 blogs
I’m gonna refer to you from now on as Janice “makes life easy” Elts. Seriously,thanks for a very useful plugin
Thanks, though it really is “Janis” (a Latvian name)
I can’t update Contact Form 7. Other plug-ins seem to update easily. This one won’t. I get this:
Can’t create file ‘contact-form-7/README.txt’ in ‘/home/hintysen/public_html/wp-content/plugins/’
The full installation log is below :
Plugin directory is ‘/home/hintysen/public_html/wp-content/plugins/’
Checking to see if /home/hintysen/public_html/wp-content/plugins/ is writable.
Okay.
Nonce verification passed.
About to upgrade 1 plugins.
Upgrading ‘contact-form-7/wp-contact-form-7.php’, download URL is ‘http://downloads.wordpress.org/plugin/contact-form-7.1.9.3.zip’.
The plugin that needs to be upgraded is active. Deactivating.
Downloading ‘http://downloads.wordpress.org/plugin/contact-form-7.1.9.3.zip’…
Downloaded 1242613 bytes.
Will save the new version archive (zip) to a temporary file ‘/home/hintysen/public_html/wp-content/plugins/one-click-plugin-updater/plg4c8030b73a4924b65347ec144cbce2e8.zip’.
About to extract ‘/home/hintysen/public_html/wp-content/plugins/one-click-plugin-updater/plg4c8030b73a4924b65347ec144cbce2e8.zip’.
Extracting files from /home/hintysen/public_html/wp-content/plugins/one-click-plugin-updater/plg4c8030b73a4924b65347ec144cbce2e8.zip…
So far, the type is set to ‘plugin’.
Need to load PclZip.
gzopen() found, will use PclZip.
Starting extraction to folder ‘/home/hintysen/public_html/wp-content/plugins/’.
Extracting contact-form-7/README.txt
Can’t create file contact-form-7/README.txt in /home/hintysen/public_html/wp-content/plugins/!
Main loop finished.
Check if the file/folder have a different owner or file permissions than the rest of the plugins. This can happen if the server configuration was changed since Contact Form 7 was first installed.
Also, the all-uppercase filename looks… suspicious. Is your server running Windows, or some flavour of Linux?
[...] OneClick Installer Plugin by Anirudh Sanjeev & Janis [...]
[...] bórrelo y por último reinstálelo. Para las últimas dos operaciones resulta muy útil el plugin One Click Plugin Updater, pues permite el borrado y las instalaciones de plugins con un solo clic (además de que notifica [...]
[...] One Click Plugin Updater Um dos mais úteis na minha opinião. Ele permite que plugins e temas sejam instalados pela própria interface administrativa do WordPress, não sendo necessário o processo manual. [...]
my web host tells me OneClick Plugin Updater is a SECURITY RISK.
they say the file:
do_update.php
and the variable:
$download_url
could be used for a successful exploit.
I doubt it. The script in question checks whether the user is logged in and has the required security privileges before doing anything. It also requires a so-called “nonce” variable to be set, which makes cross-site attacks impossible. It should be safe.
[...] Single Click Plugin Updater WordPress Plugin makes installing and upgrading plugins easy. You still have to install this plug-in but after that, [...]
I just wanted to comment. Your content was informative to me and thanks.
hi, I recently did a backup on my WPDB and when I restored it and turned on my plugins I started receiving this error when going to the plugin page:
Warning: Invalid argument supplied for foreach() in /wp-content/plugins/one-click-plugin-updater/oneclick-plugin-updater.php on line 652
Warning: Attempt to assign property of non-object in /wp-content/plugins/one-click-plugin-updater/oneclick-plugin-updater.php on line 668
any idea?
Looks like an option wasn’t properly initialized. Should be fixed now.
I decided to just remove and reinstall the plugin. It’s working fine again =)
Thanks for this plugin, works great.
[...] plugin one by one? Try One Click Plugin Updater that helps you to update all your SEO plugin for [...]
[...] One click plugin updater v 2.4.5O [...]
[...] Install this plugin first: One Click Plugin Updater [...]
[...] first thing you’ll want to do is install the One Click Plugin Updater. This allows you to install other plugins directly from the Wordpress admin, which alleviates the [...]
some problems here… when I install OCPU, I get these messages on my plugins page:
======
Warning: Invalid argument supplied for foreach() in /home3/proveiss/public_html/wp-content/plugins/one-click-plugin-updater/oneclick-plugin-updater.php on line 658
Warning: Attempt to assign property of non-object in /home3/proveiss/public_html/wp-content/plugins/one-click-plugin-updater/oneclick-plugin-updater.php on line 674
======
and then, if I try to update automatically any plugin, I get this error:
======
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 85 bytes) in /home3/proveiss/public_html/wp-includes/streams.php on line 69
======
any ideas? =(
I’ll upload an update to wordpress.org that might help.
On an unrelated note, are you sure you need this plugin? WordPress now has an automatic update feature built-in, so OCPU is mostly obsolete.
wordpress built-in won’t mass update nor will it “right-click-on-link” install plugins =)
the error when activating the plugin doesn’t show up anymore… but when I tried to delete some other plugin…
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 24 bytes) in /home3/proveiss/public_html/wp-includes/gettext.php on line 91
is there any enviroment specs I could provide to help with this?
Hmm, why would it run over the memory limit?… Frankly, I have no idea what could be wrong
and when I try to update something, it gets the same one:
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 71 bytes) in /home3/proveiss/public_html/wp-includes/gettext.php on line 91
[...] that you will want to search for are : All in One SEO Pack, Easy AdSenser, Google XML Sitemaps, One Click Plugin Updater, Google Analyticator, Wordpress Automatic Upgrade None of these are required, but they will all [...]
[...] One Click Plugin Updater 2.4.6 NEW! 官方介紹是可以快速安裝/升級外掛和安裝佈景的外掛,不過大部分功能現在的Wordpress都內建了。 [...]
Nice plugin, works without problems, thanks for share!
[...] First time you need a plugin called : One Click Plugin Updater [...]
I tried to avoid bugging you with a simple question but after spending quite a bit of time I’m trying to figure out why I get my websites 404 page after trying to install a plugin using the firefox extension.
When I enter the url provided into my browser the installation page appears but when trying to install the plugin I get the 404 page.
( I’m using thesis and the newest versions of wordpress, the once click installer plugin and firefox addon One-Click Installer for WP 1.1)
I know the answer is really pretty simple, I just haven’t found it yet.
ps I’m writing a a review (positive )and I’d really like to get this working soon.
Thanks for the great plugin
What is the actual URL in the address bar when you try to install the plugin and get a 404 page?
This is the address that for the 404:
http://www.reallifepurpose.com/wp-admin/plugins.php?page=install_plugin&magic=b50b716b8b039c676345a0ce230f7502&installtype=autodetect&fileurl=http://www.backtype.com/files/plugins/connect/backtype-connect-0.1.zip
I appreciate your help.
[...] of code if you changed the theme. Initially the plugins were to be uploaded manually but thanks to Janis Elsts. He made the task of installing plugin so easy that you can easily do it one step. Just download [...]
Just checking in to see if you have a solution to my installation problem (above).
I’m really excited about the possibilities of what your plugin can do. I just need to get it working.
Thanks for your help.
Mhm, sorry for not responding earlier.
I’ve run some tests and it seems your site has some kind of protection scheme set up that causes this problem. Any URL that points to any Dashboard page and contains an URL-like parameter is treated as 404. For example, this URL yields a “Nothing found” page, too :
http://www.reallifepurpose.com/wp-admin/?whatever=http://
Check your security-related plugins and .htaccess for suspicious settings.
Hi there,
I have a strange problem. When I have plugins that need to be updated, my plugin page goes blank (after flashing me a list of my plugins); everything works normally after I update my plugins using the One Click button. Strange, no? Any ideas? I’ll email you my list of plugins installed, if you think that may help.
Richard
sorry for the double post, I forgot to click the “Notify me of followup comments via e-mail” button. An rss feed for comments would’ve been useful in this case.
Actually, there is an RSS feed for comments – see the link in the meta box below the post : “You can follow any responses to this entry through the RSS 2.0 feed.” WordPress has had this feature for ages.
Anyway, I can’t think of anything specific that could cause the problem you mentioned. If it happens again, try to view the source code of the page. If that’s blank as well, then it might be related to a timeout of some kind (a wild guess). If the HTML is there but it doesn’t get displayed, maybe buggy JavaScript is to blame.
Hi again,
Thanks for pointing it out to me. I knew that it’d be somewhere, and I looked for it, but I didn’t see it in the box under the post, sorry.
So it just happened again. I checked the source, and it’s all there.
Like I said, this is what happens:
1- Notification of a plugin to be updated
2- go to plugins page
3- I see the list of plugins, then poof, it disappears
What now?
Ok, I’ve narrowed it down to the following:
The cause is a conflict of some sort between Ozh’s “Better Plugin Page” plugin and the one-click updater. I don’t know why, but with no other plugins active but these two and a 3rd (old version of any plugin), I can repeat the problem mentioned above, when there is a plugin that needs updating. Any thoughts?
I’ll have to install Ozh’s plugin and see if I can determine the cause.
…tomorrow
Well, I installed “Better Plugin Page”, but apparently it doesn’t do much of anything in my test setup (WP 2.8 beta). However, I had another idea – if you switch the “Updated Module” setting in Plugins -> Upgrade Settings it might make the problem go away.
Also, you could try toggling the “Highlight plugins that have update notification enabled” checkbox on/off; it’s bugged anyway.
Hello again,
Well, it’s 100% reproducible for me, with WP 2.7.1. I’ve tried it on several domains that I have, different WP installations; the only thing they had in common was Ozh’s plugin, Single-Click updater, and an old version of any random plugin (all other plugins were deactivated). I never experienced this before installing Single-click. Strange…
I tried your 2 suggestions, and the various possible combinations, but nothing.
I have yet to try with WP 2.8 beta, but I’ll take your word for it that it’s fine. It’d be nice if we could fix it for 2.7.1 though.
Still can’t reproduce. I installed my and Ozh’s plugins on this site (WP 2.7.1), installed an outdated version of another plugin (WP-SpamFree) and everything worked fine.
Are you, by any chance, using a different version of plugin updater? I have 2.4.6 here.
Disregard that, I found the problem. You can download the fixed version from the link in the post above.
Works great, thank you
Hi!
That fixed it, thanks. However, it no longer shows up in the nice yellow bar anymore. I also have the Fluency2 plugin installed, maybe it has something to do with that? Or did you just change the css for it? Oh well, I prefer a well-functioning plugin to a pretty one any day, so thanks for fixing it again!
Richard
I changed the CSS. Initially it used a built-in CSS class that is used to display the update notifications below each plugin row. However, this also caused the conflict with Ozh’s plugin which expects the class to be used only for it’s original purpose. So I made a new class.
Hello again,
Yeah, I figured as much, but I didn’t have the time to dig into it deeper to confirm it. Thanks for the update. Any chance you can make the new class look like the built-in class, or similar? Maybe a bright orange color (kidding, the yellow is bright enough!). It’s so much prettier.
I actually copied the built-in style to the new class, but apparently there must be another rule somewhere that I missed and that’s what makes it look different. I’ll see if I can fix it when I have time.
[...] One Click Plugin Updater – This is the key for having a bunch of plugins. You’re smart, I bet you can figure out what it does. I’ve run into problems with it not wanting to update a few plugins ever, but having to update one manually is fine with me. [...]
seems like it needs an update to 2.8…. =(
A partial update for WP 2.8 will be available shortly. The basic stuff will work (I think), but I really haven’t tested this update in depth.
[...] upgrade to the newly released Wordpress 2.8. The easy part of upgrading was I was able to use the Upgrade plugins with a single click, install new plugins or themes from an URL or by uploading a file, see which [...]
Hey White Shadow
Thanks for all the hard work man! Looking good so far.
something went completely nutz after the update last night…
whatever the screen on admin front-end I am I get the message:
Warning: Invalid argument supplied for foreach() in /public_html/wp-content/plugins/one-click-plugin-updater/oneclick-plugin-updater.php on line 633
and if I go to the installed plugins page, I get tons of that… any idea?
Might be fixed in 2.4.9.
thanks yea….
had some problems with the latest version on 2.8 when mass updating, several plugins didn’t get reactivated, possibly all, didn’t pay that much attention.
is it jsut me or has anyone else seen the same problem?
[...] One Click Plugin Updater: WordPress (since v2.7) has plugin update functionality, but it requires multiple steps with first needing to fill FTP password. This plugin not only makes upgrades a one-click affair, but also provides an easy way to install plugins / themes. [...]
Good job with this plugin, easy to use, works great, thanks
[...] Untuk perubahan themes ini memerlukan Plugin One Click Installer berupa ZIP File yang harus di download terlebih dahulu, silahkan ambil filenya: KLIK DISINI. Atau bisa download menuju penyedianyanya langsung KLIK DISINI. [...]
Why the OneClick Plugin Updater 2.4.9 doesn’t works well on my personal site once I upgraded to Wordpress 2.8…??
It can updates the plugin(s) but cannot remove the “There is a new version of [pluginname] available” statement…
Why should I do?
For one, you shouldn’t leave identical comments on four other posts. I get the comment notification either way.
I don’t know exactly why that would happen, but I’ve uploaded a minor uptade that might fix the problem. Now the message(s) should go away once you update a plugin.
Sorry for your inconvenience… /(-.-)\
I’m too panic about that..that problem came on my busiest time..
Sorry..
Waiting for your help…and I’ll report it to you ASAP…Thanks…
Hmm..not yet resolved..
The updates announcement still showed up below the plugin line…
But, the statement go away if I try to deactivated and activated OneClickPluginUpdater after I updates another plugins..
It can resolve the problem but wasting the time if another plugins updates are coming everyday…
So?
Not yet resolved with your 2.4.11 version…
The update statement(s) still showed up after a plugin(s) has(have) been updated…
Open in new tab to view the screenshots of the problem…
Don’t forget to tell me if you has finished the screenshot download so I can delete that screenshots…thx…
Screenshot 1
Screenshot 1
What can I help?
I’ve got the screenshots. However, I’m unable to reproduce the problem (and thus I can’t fix the bug either). The update notification always goes away when I successfully upgrade a plugin.
Hmm…so, what can I do? (-?-)
The problem come to me on every WordPress installation on my mossackanme.web.id server, too…not only on my OpinionBlog…
Are debug mode can help us?
The debug mode would show you more information about the installation/upgrade process, but I doubt you’d find anything relevant there. I’m sorry I can’t suggest anything helpful.
Upgrading several plugins at the same time doesn’t work. It redirects me to the white screen after each update.
I think it’s timing out during the upgrade. Turn on the debug mode in Plugins -> Upgrade Settings and see at which point does it stop (note : when in debug mode, the updater will not reactivate the plugins it updates).
[...] All in One SEO Pack, Bad Behavior, Cleaner Gallery, Enhanced WP-ContactForm, Google XML Sitemaps, One Click Plugin Updater, Shadowbox JS, Twitter Widget Pro, wp-cache, WP-Cumulus & WP Widget [...]
And whats new in new builds of plugin? Where I can see changelog?
I’ve been getting this error on my php error log when trying to update multiple plugins: [12-Jun-2009 03:47:52] PHP Warning: Invalid argument supplied for foreach() in /home3/proveiss/public_html/wp-content/plugins/one-click-plugin-updater/oneclick-plugin-updater.php on line 633
when I click the Upgrade Automatically button, it returns me a 500 server error page and tells me to check the log – which shows the before mentioned message
hmmm there were 2 plugins for upgrade: the first time it gave me an error, but actually upgraded one of the plugins… next time didn’t gave me any error at all and upgraded the other plugin…
@ iMike : See the revision log.
@ JohnnyC : This should be fixed in the next minor version.
Resolved with your 2.4.13..!!
I don’t know what really being happened,,bu thanks for your works…
GodBlessUs.. \(^o^)/
Good job with this plugin, easy to use, works great!
thanks!!!
Hi, can you fix 500 Internal error in plugin and update Firefox addon ? Thank you. Sorry, I don’t speak english.
The 500 error is the most despicable one, it doesn’t give any clues about what might be wrong. Offhand gues – maybe you could try fiddling with your file permissions in /wp-content/plugins/, see if the plugin actually has write access.
I’ll put updating the addon on my to-do list. It probably won’t be very soon, but I’ll get around to it.
hey WS, I figured one thing today when upgrading some plugins… not all plugins give the 500 error, and even when the error happens at my site, all the times it succesfully upgraded the plugin, but didn’t re-enabled it back.
Today it happened (already upgraded WP to 2.8.2) when I tried to upgrade Lifestream to it’s latest version. I got a 500 error, but the plugin was upgraded – it just wasn’t re-enabled.
Along with Lifestream a couple other plugins were asking for upgrade, They weren’t upgraded when the 500 error happened, so I clicked “upgrade all” again, and everything went just fine, no error, and plugins upgraded and enabled correctly.
Hope this can help you out solving this 500 nightmare! =)
If it’s limited to certain plugins… Memory exhaustion comes to mind – some plugins are much bigger than others, so downloading/unzipping/updating them could make the updater use up all available memory and crash. Check the download size and/or directory size of the plugins that upgraded correctly and those that didn’t.
[...] plug-ins and themes. Installing them is not a tedious job but uploading them is. Make sure you have One Click Plug-in Updater installed in your Blog. Its the most useful Wordpress plug-in I have ever come [...]
[...] untuk membuat blog agregator). Untuk domain berbayar, proses upgrade cukup dengan memanfaatkan one click plugin updater. Hanya dengan sekali klik, proses up-grade pun selesai. Namun, untuk domain dan hosting gratis, [...]
Found out one plugin that gives me that weird error of handing out 500 Error but still upgraded it, it just won’t auto-reactivate it. Lifestream: http://www.ibegin.com/labs/wp-lifestream/
Care to take a look?
[...] Counter couldn’t be easier: Download it, extract the zip file (unless you’re using One-Click Plugin Updater), copy the resulting folder to your /content/plugins directory, and activate it within [...]
[...] One Click Plugin Updater: Upgrade plugins with a single click, install new plugins or themes from an URL or by uploading a file, see which plugins have update notifications enabled, control how often WordPress checks for updates, and more.| Visit plugin site [...]
[...] 4. ทำการ Active One Click Plugin Updater ซะ 5. [...]
hey white shadow dude have you heard of get theme i was sent to it by wp do you know if this is any good does your plugon work correctly ?tx
btw thanks if you coded it youself
I am not aware of this “get theme” you speak of, so I have no idea if the plugin works correctly with… it?
yeh google it
[...] high] All images get deleted when using Wordpress Core Update. Please use Single click plugin update for your update need [...]
Is it just me or have other people found that after using this to update plugins none of the plugins that start with the letter A are reactivated! Bizarre!
I love the plugin but I just ran it and can’t access the blog or admin page anymore. It just shows blankness…
Any ideas?
I changed the name of my plugin folder so wordpress disabled them all and then I was able to get back in.
If this happened after updating a plugin, it’s possible that the update failed badly and the half-upgraded plugin is crashing the WordPress admin page. In this case you only need to rename the folder of that plugin.
On the other hand, if this problem appeared right after activating the plugin updater, I have no idea what caused it.
[...] 18. One Click Plugin Updater [...]
[...] should be some way to automate the process, or at least make it simpler, and there is an answer – Single Click Plugin Updater WordPress Plugin (site). This plugin extends the plugin update notification feature introduced in WordPress 2.3 by adding [...]
[...] One Click Plugin Updater [...]
[...] One click plugin (permite instalar novos temas e plugins diretamente do painel do WordPress); [...]
Please check out this support request concerning an issue im having with your current version. http://wordpress.org/support/topic/296254
Hi! I was surfing and found your blog post… nice! I love your blog.
Cheers! Sandra. R.
[...] 1. One Click Plugin Updater: Upgrade plugins with a single click, install new plugins or themes from an URL or by uploading a file, see which plugins have update notifications enabled, control how often WordPress checks for updates, and more. Visit plugin site [...]
thank you 4 this plugin
i like it
It would be nice if you can add some function to this nice plugin…
If you use a plugin with version 1.0 and your plugin tell me that 1.1 have come out.
I download it but the plugin dosent work…
Now I will have two options…
1) A restore buttom -> Go back to the wersion that I have.
2) Change to remove the notice of the 1.1 upgrade
The plugin will notice me when 1.2 comes out…
I hope you understand my bad english
That’s an interesting idea, but you’ll probably have better luck pitching it to the WordPress core team, not here. This plugin has become pretty obsolete now that WP has a built-in updater, so I’m not actively updating it.
Hmm.. It won’t be actively updated? But I love this plugin, and I don’t see how all of it’s functionailty is in the WP core (such as the install from URL and Install from file page, for themes as well as plugins). Is any of that going to be in the core?
Thanks
The ability to upload a plugin through the Dashboard is already in the core, see Plugins -> Add New -> Upload. The same goes for themes. Installing from an URL isn’t in the core yet, but I suspect it will be added eventually.
Yeah, but I like copy-pasting a url; less teps and quicker than downloading it then uploading it through that step…. Well, even if you stop developing, I’ll keep using it as long as it works.
[...] One click plugin (permite instalar novos temas e plugins diretamente do painel do WordPress); [...]
I love this plugin for the easy plugin and theme install options.
I HATE it because it hangs whenever I attempt to do the one-click update.
Honestly, updating plugins individually is not that big of a deal.
I’d like to be given the choice of whether or not I use the one-click feature.
Maybe you could release the easy install options as a separate plugin…. but as it stands, I can’t recommend this plugin and I won’t use it.
My blog at http://www.MaverickVoice.com has a *bunch* of plugins. Being able to do a one-click update is a *huge* timesaver. Thank you for this one!