• Hiya,

    I’m having problems with a custom theme I’ve had created. It won’t load by the installer in WP using a ZIP file, it will only upload by FTP. (Other themes all upload fine.)

    When I try installing it via the Theme uploaded in the appearance tab I get the following:

    The uploaded file could not be moved to /nfs/c00/h00/mnt/00000/domains/domain.com/html/wp-content/uploads/2011/01.

    I want the theme to install via the installer but not sure what is causing this issue.

    Any ideas would be appreciated.

    Thanks
    Alex

Viewing 9 replies - 1 through 9 (of 9 total)
  • Sounds like your uploads folder is not writable by the webserver. See: here

    Thread Starter alexasigno

    (@alexasigno)

    Permissions are set correctly. Other themes upload fine via the WP interface, it only seems to be the one I’m developing which is the problem.

    send the zip to me, i’ll verify it for you: [email protected]

    Thread Starter alexasigno

    (@alexasigno)

    Thanks Simon, email sent ??

    to /nfs/c00/h00/mnt/00000/domains/domain.com/html/wp-content/uploads/2011/01

    It does not look like the theme but the target directory!

    The target directory is wrong, where are you uploading the theme from?

    You are uploading from the right place?

    Admin > Appearance > Install Themes > Upload?

    Sorry have to ask the basics! ??

    There could also be a plugin that has an uploader and resets the path!

    Have you any plugins that have an upload function, it could be that on load one of these changes the path.

    Regards

    David

    Thread Starter alexasigno

    (@alexasigno)

    Hiya, it’s only this theme which is the problem, other themes work fine.

    I’m uploading it via Admin > Appearance > Install Themes > Upload

    And there are no plugins with an upload facility.

    Hi Alexasigno,

    There are several issues which may cause the uploading problem.

    1. May be your new theme is missing some important files like index.php which is must have for all WP themes.
    2. If you’ve WordPress installed locally, turn on the WordPress debugging constant and upload the theme. You’ll see the reason WP is refusing to upload the theme.
    3. What software do you use to compress (zip) your themes? Certain versions of Winzip have known issues which cause problems to the WP theme/plugin uploader, so if you’re on Windows, zip your theme by right-clicking the folder and choosing ‘Send to -> Compressed (zipped) folder’. It will properly zip your theme. If you’re on Mac, control-click on the file and choose ‘Create Archive’. I don’t know what command they use to do the same on Linux though ??

    Cheers.

    I found the problem for you, you PHP upload limit is only 2M and your theme file is 3.6M so WordPress gives this error.
    Your client will need the server admin to change PHP upload limit to 4M. You may be able to do it locally with a php.ini or .htaccess file depending on the server configuration.

    Thread Starter alexasigno

    (@alexasigno)

    Ah never thought about that, thanks Simon… there go some of the cufon fonts

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Theme won't upload via ZIP only FTP’ is closed to new replies.