WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Can't upgrade to 3.5.1 on Mac (17 posts)

  1. sarahbrachman
    Member
    Posted 1 year ago #

    When I try to upgrade to WP 3.5.1 (or install/upgrade any plugins), I get this error message:

    Downloading update from http://wordpress.org/wordpress-3.5.1-partial-0.zip…

    Unpacking the update…

    The package could not be installed.: PCLZIP_ERR_MISSING_FILE (-4) : Missing archive file 'C:\WINDOWS\TEMP/wordpress-3.tmp'

    Installation Failed

    Please advise me on how to resolve this. Thank you.

  2. David Choi
    Member
    Posted 1 year ago #

    It's strange that you are installing it from Mac, but it says

    'C:\WINDOWS\TEMP/wordpress-3.tmp'

    Did you install some kind of development packages like MAMP?

    http://www.mamp.info/en/index.html

    Maybe you've installed WAMP?

    http://www.wampserver.com/en/

  3. sarahbrachman
    Member
    Posted 1 year ago #

    I think I might have installed MAMP years ago, but don't use it. I've been updating the WP software & plugins for years and it has never been a problem.

  4. David Choi
    Member
    Posted 1 year ago #

    I see, looks like you are using a Windows Server, thought you were using a local development.

    That looks more like a Windows Server problem, not WordPress problem. See if your server is full, not being able to create temporary zip files.

  5. sarahbrachman
    Member
    Posted 1 year ago #

    I am checking on the server possibly being full, but I see several other people are having the same problem:
    http://wordpress.org/support/topic/error-in-automatic-upgrade-to-351-windows?replies=11

  6. David Choi
    Member
    Posted 1 year ago #

    Looks like it has nothing to do with WordPress, don't know if it's related, but here is the hint:

    http://www.plogger.org/forum/discussion/2623/help-upload-error/

    It says: There could also be a permissions problem with the 'C:\Windows\Temp\' directory, so you may want to check with your webhost to see if PHP scripts have permission / access to read a write from the Temp folder.

  7. sarahbrachman
    Member
    Posted 1 year ago #

    Wow--I just heard the same response from my server contact. They did change some things this week that may have affected the permissions.

    Thank you for your help! I'll post again once I hear back from them.

  8. David Choi
    Member
    Posted 1 year ago #

    You are welcome, hope your issue will be solved soon, have a nice day!

  9. sarahbrachman
    Member
    Posted 1 year ago #

    Okay, the server people said it's definitely a WP problem. And there are many others with the same problem: http://wordpress.org/support/topic/error-in-automatic-upgrade-to-351-windows?replies=11

    It seems to be a bug in the previous WP update.

    I understand what an absolute path is, but I am not sure how to figure out what the absolute path is for my wp-config.php file. Do I use 'www' or not? Can you help?

  10. David Choi
    Member
    Posted 1 year ago #

    You don't have to change wp-config.php if it was an upgrade because they are not modified. If the upgrade problem was the problem, then you can download WP zip file and upload it manually using FTP client software.

  11. sarahbrachman
    Member
    Posted 1 year ago #

    Well, everyone with this same problem is saying that WP can't find the 'tmp' file, so we have to add the following to define its location:

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

    http://codex.wordpress.org/Version_3.5.1#Windows_Servers_Running_IIS

    I just can't figure out how to do this. I am not a techie.

    And I use Dreamweaver, so how do I upload the WP update manually? Copy the files into DW and then upload?

  12. @sarahbrachman: Sounds like this: http://wordpress.org/support/topic/plugins-not-updating-since-wp-35-installed?replies=19

    It's more a problem with windows servers than WP. You add that line define( 'WP_TEMP_DIR', ABSPATH . 'wp-content/' ); at the bottom of your wp-config.php file on the webserver.

    Don't use DW. Don't upload all of the WP files. Use a plain text editor like TextEdit on the Mac on the one file wp-config.php

    Use FTP to get to your web host. See Filezilla and FTP Clients « WordPress Codex.

    If that's too much to do, it's proabably eiseist to jst do a manual upgrade to 3.5.1. See http://codex.wordpress.org/Updating_WordPress#Manual_Update

  13. sarahbrachman
    Member
    Posted 1 year ago #

    I did the manual upgrade and it worked.

    Thanks.

  14. David Choi
    Member
    Posted 1 year ago #

    Glad the manual upgrade worked (that usually solves the problem). Also thanks for songdogtech (what a nickname!) for the participation.

    Have a nice day!

  15. sarahbrachman
    Member
    Posted 1 year ago #

    Well, the upgrade worked, but our blog has now disappeared so I guess I did something wrong...

    And I still can't download other plugins. I'm getting the same error.

  16. David Choi
    Member
    Posted 1 year ago #

    Blog shouldn't disappear like that... that's odd.

    Regarding to downloads, it's either:

    1. Your server can't create temporary files to unzip the zip files

    2. The connection from your to the outside world is blocked by some kind of firewall, maybe the port or PHP script settings from PHP.ini.

    What you can do is just for the testing, create a folder or subdomain, install a fresh WP 3.5.1 (create a database too), see what happens. If the new version also has the same problem, it's definitely the server problem and only your host support can fix the issue.

  17. chrisdavies23
    Member
    Posted 1 year ago #

    I had the same problem but just solved it. you need to give write permissions to the temp folder in the c:\windows directory and also to the wordpress directory

Topic Closed

This topic has been closed to new replies.

About this Topic