Support » Themes and Templates » Cannot automatically upgrade theme – permissions?

  • Overview:
    -Attempting to automatically upgrade the Techozoic fluid theme from version 1.8.3 to 1.9.1
    -Site is hosted by 1and1.com
    -Logged in as admin
    -Appearance, Themes, Manage Themes, click on “Upgrade Automatically”

    Issue:
    -First line containing “Downloading update from http://wordpress.org/extend/themes/download/techozoic-fluid.1.9.1.zip” comes back
    -Then, nothing…

    Observation:
    -When I click on “Upgrade Automatically” I x-ref using FileZilla and see this file within wp-content — techozoic-fluid.tmp of file-size zero.

    Can someone point me in the correct direction? I’ve done various searches and it appears it’s a file permission issue, but unsure on how to fix.

    Note: I just upgraded to WP 3.01, but did this manually by copying up the files, vs auto upgrade.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Try increasing the memory for PHP and WordPress by putting this line near the top of your wp-config.php file right, after the opening <?php

    define('WP_MEMORY_LIMIT', '64M');

    and see Changing File Permissions « WordPress Codex

    Thread Starter pgarth

    (@pgarth)

    Thanks for the reply. Before updating memory, I’d like to focus a bit more on File Permissions. Of course, I’m new to this.

    Within the wp-content folder all files and directories are of numeric value 755.

    Within wp-content, after clicking on “Upgrade Automatically” within Dashboard I see a new file being created called techozoic-fluid1.tmp. This file has permissions of 644.

    What’s throwing me off is that the documentation is alluding to the user re: The permission mode is computed by adding up the following values for the user, the file group, and for everyone else.

    I have an FTP username and I’m logged in as Admin.

    Can you tell me what I’m missing in terms of applying permissions? Also, do I have to log-in via FileZilla in a particular way – for example: LogonType=Account, User=FTP username, Account=Admin. I’m unclear about how I’m specifically assigning rights to a user.

    Thanks for your patience as I work through this.

    Paul

    It’s probably just 1and1.com. They’re a problematic host when it comes to WordPress. Increasing memory is the better thing to try than fight with permissions you can’t change or fully see due to 1and1’s restrictions.

    Try adding these lines to .htaccess to enable php5 with a plain text editor via FTP. If you get a server error, you’re not using a plain text editor.

    AddType x-mapp-php5 .php
    AddHandler x-mapp-php5 .php
    Thread Starter pgarth

    (@pgarth)

    Thanks for the info.

    I tried add the memory line with no difference found.

    I tried the AddType and now get: “Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.”, so I’m going to comment out that line.

    Any other ideas? I’m also thinking of just manually uploading the files to a new theme subdirectory, but would be nice to see if I could resolve this issue — intellectually curious.

    I’m also learning quite a bit by digging around this stuff.

    Thanks.

    Paul

    Thread Starter pgarth

    (@pgarth)

    I just noticed that you had given me two lines starting with Add… so I’m going to try that. Using FileZilla to edit the file, which ends up opening NotePad on a Windows machine.

    I also noticed something interesting — I had originally found those lines, but the first said: AddType x-mapp-php5.php Maybe I had removed the space to bring the .php in to the filename. Anyway, when I used your format, I didn’t get an error when refreshing the web-site.

    But… let me check…

    TaDa!!!

    Downloading update from http://wordpress.org/extend/themes/download/techozoic-fluid.1.9.1.zip…

    Unpacking the update…

    Installing the latest version…

    Enabling Maintenance mode…

    Removing the old version of the theme…

    Disabling Maintenance mode…

    Theme upgraded successfully.

    ========

    I really appreciate your help — got me up and running and love this new version of Techozoic.

    Thanks.

    Paul

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Cannot automatically upgrade theme – permissions?’ is closed to new replies.