php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #59352 WordPress plugin updates do not work with WinCache object-cache.php
Submitted: 2010-08-09 18:56 UTC Modified: 2011-03-31 13:57 UTC
From: ruslany@php.net Assigned: ksingla (profile)
Status: Closed Package: WinCache (PECL)
PHP Version: 5.3.1 OS: Windows Server 2008
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: ruslany@php.net
New email:
PHP Version: OS:

 

 [2010-08-09 18:56 UTC] ruslany@php.net
Description:
------------
I've been having a problem with Wordpress and it seems to be caused by wincache. Several others have reported the same problem on the Wordpress.com forums

Essentially what happens is when attempting to upgrade a Wordpress plugin, the upgrade fails with a message similar to this -

Unpacking the update.
Installing the latest version.
Deactivating the plugin.
Removing the old version of the plugin.
Could not create directory. DIRECTORY\wwwroot/wp-content/plugins/akismet/
Plugin upgrade Failed. 

I'm running Wordpress 2.9.2 on a Windows 2008R2 VPS, with PHP 5.2.13 and wincache 1.1

Checking on the VPS, the plugin directory is there but inaccessible even as an administrator, with "access is denied". Restarting IIS results in the folder disappearing. The plugin can then be installed.

Clearly there's some locking problem occurring somewhere. Disabling wincache stops the problem.

Reproduce code:
---------------
Use the object-cache.php from here: http://ruslany.net/2010/03/make-wordpress-faster-on-iis-with-wincache-1-1/


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-09-24 03:30 UTC] ksingla at microsoft dot com
Fix checked in trunk. This fix will be part of WinCache 1.2 release.
 [2011-01-20 15:44 UTC] ruslany at microsoft dot com
This still repros with the latest build.
 [2011-03-31 13:57 UTC] ruslany at microsoft dot com
This bug has been fixed in SVN.

In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on pecl.php.net.

In case this was a pecl.php.net website problem, the change will show
up on the website in short time.
 
Thank you for the report, and for helping us make PECL better.

The build with the fix is available here: http://sourceforge.net/projects/wincache/files/development/wincache-1.2.329-dev-5.3-nts-vc9-x86.exe/download
 [2011-08-29 14:18 UTC] ukcleaners at mail dot com
<a href="http://end-of-tenancy-cleaning-london.co.uk">end of 
tenancy cleaning</a> You can prepare a lot more solutions, 
there are hundreds of natural and environmentally friendly 
recipes that you can find online or in some professional end 
of tenancy cleaning books. All have almost all ingredients 
that you will need, just standing there in the cupboard or 
in the kitchen, I am sure that you have an entire line of 
cleaning solvents right at your disposal. These green and 
eco-friendly products are not only safer for your family, 
but they are also better for the nature that is surrounding 
us, after all need to keep it clean and safe. It is up to us 
to protect it for the next generations. All these house-hold 
solvents will renew the look of your home, and make it look 
great and also it will smell fresh and pleasant. These 
cleaning methods are not time consuming and will safe you a 
lot of money, according to end of tenancy cleaning London 
services. <a href="http://end-of-tenancy-cleaning-
london.co.uk">post tenancy cleaning</a>
 [2012-01-18 10:27 UTC] revfanatic at hotmail dot com
I am running WinCache for PHP on IIS7.5 with PHP 5.3.9 and WordPress 3.3.1 installed. 
Obviously, the latest official 1.1 release of WinCache causes WordPress plugin upgrades to fail.
On this server, dev version 1.2.427 does work and solves the plugin upgrades problem.
 Dev version 1.2.614 also seems to work well. 
 However, dev version 1.2.1208 does not work; the plugin upgrades problem appears with that version.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Nov 26 20:01:33 2024 UTC