WordPress.org

Ready to get started?Download WordPress

Forums

[closed] Plugins Not Updating since WP 3.5 installed (20 posts)

  1. rhosie
    Member
    Posted 1 year ago #

    Receive error messages when trying to update plugins after install of 3.5

    Here is the text of the Akismet update error:
    The package could not be installed. PCLZIP_ERR_MISSING_FILE (-4) : Missing
    archive file 'C:\WINDOWS\TEMP/akismet.tmp'

    The following message also appeared at the bottom of the screen:
    PHP Warning: touch() [function.touch]: Utime failed: Result too large in E:\USERS\sacredtorch\www\wp-admin\includes\file.php on line 179

    I am new to WordPress and I am not a programmer. I am a very new user who designed the website but don't know how to troubleshoot or resolve these errors.

    [ Signature moderated and email redacted. Support is offered via the forums and not email. ]

  2. sideman
    Member
    Posted 1 year ago #

    I run WordPress on a Windows server and since updating to 3.5 I cannot update plugins, themes etc. via the WordPress Updates admin page.

    As indicated by rhosie above I also get an error

    An error occurred while updating Twenty Ten: The package could not be installed. PCLZIP_ERR_MISSING_FILE (-4) : Missing archive file 'C:\WINDOWS\TEMP/twentyten.tmp'.

    I have applied write permissions to the root of the WordPress installation but it still fails.

    Perhaps the update process is attempting to use a folder that does not exist or is outside the WordPress installation folder/sub folders.

  3. These are both web host issues; talk to your web host. WP isn't able to use the unzip utility due to server or permission issues.

    And, you're both on Windows servers. FWIW, ask your host to switch you to a linux account; you'll be much happier and have to deal with fewer issues.

  4. sideman
    Member
    Posted 1 year ago #

    songdotech thank you for your reply.

    You are likely to be correct when you say that it is a Windows environment issue.

    However all previous versions of WordPress that supported this type of update process worked without problems on all my Windows hosted WordPress sites.

    Does this not imply that WordPress 3.5 has altered functionality in some way so that a feature that used to work for several versions on Windows, now no longer works.

    Surely that implies a bug that has been introduced in the 3.5 release?

    You may have knowledge/information that indicates I am incorrect and I am open to reconsider my position on reading it however your suggestion of switching to a linux platform sounds a bit drastic.

    Surely that suggestion would only be reasonable if the feature never worked on Windows at all.

    Please let me know what you think and thanks again for responding.

  5. Jumbojet
    Member
    Posted 1 year ago #

    Hi, I do have the same problem. I have had no problems until now. My host points to WordPress and I read that you point to the host that has a Windows environment. I feel very frustrated about this. Can this be solved?
    Is there a way that I can update the plugins?

  6. esmi
    Forum Moderator
    Posted 1 year ago #

    @Jumbojet: As per the Forum Welcome, please post your own topic. Posting in an existing topic prevents us from being able to track issues by topic. Added to which, your problem - despite any similarity in symptoms - is likely to be completely different.

  7. Jumbojet
    Member
    Posted 1 year ago #

    @esmi how can I make a new topic? This topic is exact what my problem is. I do not understand this.
    My plugins cannot be upgraded since I upgraded to wordpress 3.5
    This is the message I get
    Download mislukt. Destination directory for file streaming does not exist or is not writable.
    My host has a Windows enviroment and I never had problems before.
    Now I cannot upgrade anymore.\

  8. esmi
    Forum Moderator
    Posted 1 year ago #

    how can I make a new topic?

    See the link I posted above.

    This topic is exact what my problem is

    Are you using the same version of WordPress on the same physical server hosted by the same hosts with the same plugins, theme & configurations as the original poster?

    No? Then your problem - despite any similarity in symptoms - is likely to be completely different. So please help us to help you and post a new topic when we ask you to.

  9. @sideman said:

    You are likely to be correct when you say that it is a Windows environment issue....

    I am correct; look at the error message you posted. It says C:\WINDOWS\TEMP/

    Very doubtful this is a new bug. And out of 2.5 million support posts in these forums, there are 46 posts regarding a PCLZIP_ERR_MISSING_FILE error. So it's rare, too. And most of those issues are on Windows and were host problems, not WP.

    however your suggestion of switching to a linux platform sounds a bit drastic....

    No, it's not. Any half-decent host can switch your account in minutes, with no downtime and nothing broken. And overall, your site will be more foolproof.

    Surely that suggestion would only be reasonable if the feature never worked on Windows at all.

    Actually, I'm an entirely reasonable person.

  10. sideman
    Member
    Posted 1 year ago #

    Thanks for the replies. I've read them and I still believe WordPress 3.5 is the source of the problem or to put it another way, WordPress 3.5 is has altered something such that updates fail to function as they have in previous versions.

    Why do I believe this?

    I have a number of WordPress installations hosted on the same Windows environment (on the same physical server hosted by the same hosts with the same plugins, theme & configurations).

    None of the 3.5 versions allow updates.

    All of the 3.4.1 versions allow updates.

    I'm happy to talk to my hosting service to ask them to investigate, but what do I ask them to look at when functionality that works on WordPress versions earlier than the 3.5 release no longer works on the 3.5 release?

    By the way, am I right that even the upgrade to 3.5 via the Admin Updates page uses the WordPress functionality in question?

    If this is true (you experts know what goes on under the hood far better than I) then how is it that I successfully updated to 3.5 and then on trying to update plugins and themes, directly after the 3.5 update, this functionality stopped working?

    As I said I'm happy to talk to my hosting service but isn't there cause to investigate WordPress 3.5 also?

  11. esmi
    Forum Moderator
    Posted 1 year ago #

    I wonder if it's related to this known issue: http://core.trac.wordpress.org/ticket/22900

  12. @esmi, probably related to that. I'm guessing, reading Otto's notes below, that the temp directory on the windows box isn't writable.

    This is from otto http://wordpress.org/support/topic/plugin-update-not-writeable?replies=14

    When WordPress downloads a plugin ZIP file, then it has to be able to write that file somewhere. To do this, it uses the "temp" directory.

    If WP detects that it cannot write files to this temp directory, then you get the error message you are now getting. WP tries to find a valid temp directory, but sometimes servers are configured poorly.

    You can work around this by specifying a temp directory on your server with a place that you know WordPress is allowed to write files to. You can do this by adding this line of code into the wp-config.php file.

    define('WP_TEMP_DIR','/path/to/a/temp/dir');

    That will tell WP where to write the temporary files.

  13. sideman
    Member
    Posted 1 year ago #

    @songdogtech @esmi Thank you both for your suggestions.

    I can now update!

    I created a tmp folder under wp-content

    and made sure it had write permissions.

    I added

    define('WP_TEMP_DIR', ABSPATH . 'wp-content/tmp');

    as the last line of my wp-config.php

    after

    /** WordPress absolute path to the WordPress directory. */
    if ( !defined('ABSPATH') )
    define('ABSPATH', dirname(__FILE__) . '/');

    /** Sets up WordPress vars and included files. */
    require_once(ABSPATH . 'wp-settings.php');

    (not sure if the order is important but I thought ABSPATH probably should be defined if I'm going to use it.

    Then I tried to update plugins and themes and all I tried updated perfectly.

    Once again thank you both.

    I suspect neither of you needed to read my steps to success but I've included them for two reasons

    - help others
    - help me - please let me know if there is a better practice I should follow

    Finally - Do you think this behaviour is likely to stay in future versions of WordPress? If "yes" what is the best thing I can do to help other WordPress on Windows users - for example is there a gotcha list this could be added to?

  14. The config change you made works around a bad config on the windows server, so it will stay, as long as you leave the the line in wp-config.php.

    Anyone who has the issue will probably search and find it here. Windows hosting users are quite used to problems :)

  15. rhosie
    Member
    Posted 1 year ago #

    I'm the one who started this topic and I still need some help!

    I'm totally new to WP and I'm not a programmer. (That is why I chose WP in the first place.) I'm not comfortable making changes to code. I frankly don't even know where to go to access wp-config.php so I am at a loss on how to get this fixed.

    I have two WP sites both with 3.5 installed. They are hosted by two different providers. Only one of the two sites is having the problems.

    Could really use some help, please!

  16. phauric
    Member
    Posted 1 year ago #

    I am in the same boat rhosie...

    Cant understand how wordpress can't rectify this problem...

    Little experience so Please HELP!! SOS

  17. Just a moment please rhosie.

    I am in the same boat rhosie...

    And you're on the same server using rhosie's account at the same time with the same browser? That's a neat trick. ;)

    As that's probably not the case, please start your own thread. It's the best way for you to get support and you're only distracting from rhosie getting support as that's what already happened. Let's not be more impolite and focus on the original problem here.

    Please create your own topic with your own details.
    http://wordpress.org/support/forum/how-to-and-troubleshooting#postform

    OK then! Back to rhosie.

    I have two WP sites both with 3.5 installed. They are hosted by two different providers. Only one of the two sites is having the problems.

    The one that is not working, which host provider are you using and the one that is working is that on a Windows hosted platform too?

    From your original posting it seems like your problem server is having issues with the TEMP directory. Is it just for upgrading plugins or does that happen when you install brand new ones too?

    The following message also appeared at the bottom of the screen:
    PHP Warning: touch() [function.touch]: Utime failed: Result too large in E:\USERS\sacredtorch\www\wp-admin\includes\file.php on line 179

    Or it could be an issue with that server's PHP. Have you asked the hosting company to take a look?

    If you can identify what's different between the one that works and the one that doesn't then that may help sort out your problem.

  18. umponcel
    Member
    Posted 1 year ago #

    @sideman, @songdogtech
    many thanks... Your work around with the wp-config.php file have fix also my issue and I agree that the issue has start after I update many sites to WP 3.5 on a Win2K3 server (my own server).

    @rhosie, @phauric
    you can find wp-config in the root of the WordPress directory. If you don't have access to it using a FTP client, just ask your host to edit it.

    1) First I recommend you make a copy of the wp-config.php and rename it to wp-config.old
    2) Than basically after creating the TMP folder in wp-content, all you need to do is to open the wp-config.php file using a text editor (block note is perfect)
    3) Than to add the following string define ('WP_TEMP_DIR', ABSPATH . 'wp-content/tmp'); at the very bottom line of the file.
    4) And than close it and save it.

  19. karll10
    Member
    Posted 1 year ago #

    Im having the same problem, everytime i try to update i get this error message :

    PHP Warning: touch() [function.touch]: Utime failed: No error in D:\CustomerData\webspaces\webspace_00164839\webapps\SiteApp36409\htdocs\wp-admin\includes\file.php on line 179

    Any ideas please?

  20. Tyrefryer
    Member
    Posted 1 year ago #

    Well done sideman and thanks for posting the solution to this problem.

    [Moderated]

Topic Closed

This topic has been closed to new replies.

About this Topic