WinHost Forums                

Go Back   WinHost Forums > Programming/troubleshooting forums > General troubleshooting

Reply
 
Thread Tools Search this Thread
Old 04-07-2012, 04:33 AM   #1
canann
 
canann's Avatar
 
Join Date: May 2010
Posts: 23
Wordpress - theme & plugin updates

Whenever i try to perform a wordpress - theme or plugin update - it always fails - the problem is it cannot delete the old theme in the theme directory.

I find I have to use a ftp program to remove the directory.

Can you tell me what is causing this problem and how to correct.

see oswguild.org

Thanks
canann is offline   Reply With Quote
Old 04-09-2012, 02:03 PM   #2
ComputerMan
WinHost Staff
 
ComputerMan's Avatar
 
Join Date: Oct 2011
Posts: 225
There could be different reasons why this is happen. The web application is running and interfering with update. Do you get a error message? If so can you provide us with the error message?

Can you try recycling your web application pool to see if that might help.

To recycle your application pool. Log in to the control panel.

Click on the sites tab at the top. Or simply click here: https://cp.winhost.com/sites/

Click on "Manage" next to the site you wish to manage.

Then click on the box "Recycle App. Pool" on the next page.

Click "Recycle App Pool".

Then try to do the update. If it doesn't work please provide us with the error message you get on your end.
ComputerMan is offline   Reply With Quote
Old 04-09-2012, 02:21 PM   #3
canann
 
canann's Avatar
 
Join Date: May 2010
Posts: 23
I have the same problem when deleting a plugin.

Plugin could not be deleted due to an error: Could not fully remove the plugin(s) w3-total-cache/w3-total-cache.php.

I have to use a ftp to remove the folder

I also 2 other sites similar to this one and I get the same error on all three.

I do not have a common theme - infact on this one www.frogshollow.com I have nothing special.
canann is offline   Reply With Quote
Old 04-10-2012, 02:06 PM   #4
canann
 
canann's Avatar
 
Join Date: May 2010
Posts: 23
OK guys, I need a solution to this problem - it is getting urgent.
canann is offline   Reply With Quote
Old 04-26-2012, 07:49 AM   #5
dlature
 
Join Date: Sep 2010
Posts: 14
I have this problem too, and it happened recently

I have been struggling with this problem for at least a couple of weeks now. SOMETHING changed on WinHost, because I had not had this problem until only recently. I get this on attempts to "Upgrade automatically" on plugins in Wordpress Dashboard:

Downloading update from http://downloads.wordpress.org/plugi...met.2.5.6.zip…

Unpacking the update…

Installing the latest version…

Deactivating the plugin…

Removing the old version of the plugin…

Could not create directory. E:/web/myaccount/myWPdir/wp-content/plugins/akismet/

Plugin update failed.

Seems like something happened to the permissions for the account that Wordpress uses to achieve this. It seems to happen after the "Removing the old version of the plugin…" step.....what I end up with is a temp directory in my wordpress /wp-content directory called "upgrade", and under it there is a pluginName.tmp directory with the file archive for the new version of the plugin. I also have the old directory in my plugins dir that the system won't let me write anything to or do anything with. When I click it to see if there is anything in it, I get an error saying there's no such directory or something is wrong with permissions. I have to go to Control Panel and "Recycle App Pool" to get the directory to go away, where I can then copy the upgrade contents into /plugins.

This was all working fine, as I said, until just recently. Something HAS definitely changed.
dlature is offline   Reply With Quote
Old 04-26-2012, 07:53 AM   #6
dlature
 
Join Date: Sep 2010
Posts: 14
addendum to previous note

the ftp error I mentioned aboveuse ftp to copy the archive into the wp-content/plugins directory re: when I try to is as follows:

"An FTP error occurred. Cannot get remote folder information. Access denied. There could be a permissions problem".

That's when I have to go to Control Panel and "Recycle App Pool" and refresh the file directory in FTP before the "orphan" directory goes away and I can copy things into that vacated spot again.
dlature is offline   Reply With Quote
Old 04-26-2012, 11:50 AM   #7
canann
 
canann's Avatar
 
Join Date: May 2010
Posts: 23
What I did next

I did use the 'recycle app' and nothing changed. So I put a call ticket in and they basically said - it was due to the version of PHP - I am not so sure about this and am looking into this further, I have other sites that us the same version of PHP and this does not happen. So if anybody else has some thoughts on this - please kick them in.
canann is offline   Reply With Quote
Old 05-19-2012, 02:49 PM   #8
delphisharp
 
Join Date: May 2012
Posts: 2
Any solution?

Someone has a solution for this issue? I'm having the same problem
delphisharp is offline   Reply With Quote
Old 05-22-2012, 04:15 AM   #9
canann
 
canann's Avatar
 
Join Date: May 2010
Posts: 23
Sorry, but winhost does NOT have a solution, They have closed the request. I have not found a simple workaround - it would be interesting to know how others deal with this.
canann is offline   Reply With Quote
Old 12-14-2012, 05:02 PM   #10
ComputerMan
WinHost Staff
 
ComputerMan's Avatar
 
Join Date: Oct 2011
Posts: 225
We had another person that was having the same issue. They were able to resolve it by following the blog post here: http://www.geeksvilla.com/download-f...oes-not-exist/

The code line stated in the blog post above is talking about this: define('WP_TEMP_DIR', ABSPATH . 'wp-content/');

This code doesn't exist in the wp-config.php file. So you will need manually add this code line in the file: wp-config.php

Hope this helps any one else who is having the same problem.
ComputerMan is offline   Reply With Quote
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Wordpress "require" issues stevestring Third-party applications 3 11-17-2012 08:36 PM
WordPress Installation Guidelines Ray Third-party applications 18 03-27-2012 12:53 PM
Backing up WordPress Database... SunnyOz Third-party applications 2 10-06-2011 11:18 AM
New MySQL Database quota for Wordpress Installation SunnyOz Third-party applications 1 07-29-2011 04:54 PM
Wordpress Email Setup not working using Google Apps andysinclair Email 1 02-21-2011 11:18 AM


All times are GMT -7. The time now is 08:58 PM.


vBulletin® ©Jelsoft Enterprises Ltd.