• Resolved inetmgraim

    (@inetmgraim)


    I have purchased a theme from the Envato Marketplace, a 3rd party vendor for WordPress themes. I have the correct files in able to upload however I am encountering issues. I have the .zip file containing solely the main theme and child theme. It does not have PDF’s and other utilities within. When I go to appearance/themes-Add New- I browse for the .zip file, and it starts to upload. However it gives me an error message every time of “Are you sure you want to do this? Please try again.”
    I thought it was a problem with WordPress, so I went into my domain’s plesk panel and manually uploaded the files via FTP, but with no alas wont populate within WordPress. It claims the specified theme ID is not correct. I am unsure of what to do at this point.
    Any assistance would be greatly appreciated.

    I am attempting to install this on a sub-domain, if that has anything to do with it.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Have you contacted Envato support?

    When you say you uploaded via FTP, does that mean unzipped the theme file locally and then uploaded the theme directory into wp-content/themes?

    it gives me an error message every time of “Are you sure you want to do this? Please try again.

    I’ve encountered that message in the past when the size of the archive being uploaded exceeds the maximum allowed upload size set in php.

    Before addressing any possible FTP issues (you must un-zip the contents before uploading it to your /themes directory if you install it by FTP) can you tell us what the size of the .zip folder is, and then what your maximum allowed upload size is set at?

    Thread Starter inetmgraim

    (@inetmgraim)

    Steve,
    I have contacted the support team for the theme itself. They havent been much help, but they did say it was an error with my PHP memory as Mr. Clayton below stated.

    Clayton,

    I have my PHP config files set up appropriately,
    memory_limit: 256M
    max_execution_time: 120
    max_input_time: 120
    upload_max_size: 256M

    My unzipped theme file is only 18.2 megabytes.

    Thank you for your quick responses.
    I have tried uploading it once again, and it will upload to the file manager, however when I go into wordpress for the actual install it prompts me with a ‘false’ theme or nothing at all.

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Sorry, but that makes no sense.

    If you’re uploading the unzipped files directly into the right directory via FTP, PHP memory and max upload size is irrelevant.

    Do not upload the .zip file.

    Do not use the control panel file manager.

    Unzip the file locally and then using FTP, upload the files into the right directory in wp-content/themes

    I agree completely with Steve concerning the upload size being irrelevant when using FTP. You’ve either got a corrupted theme archive, or a simple procedural error with the manual installation process via FTP. There should be no issue installing the theme via FTP. There are some detailed instructions here: https://codex.www.ads-software.com/Using_Themes#Adding_New_Themes_Manually_.28FTP.29

    As far as installing from the dashboard goes: My comments regarding the cause of this error “Are you sure you want to do this? Please try again” are still something worth pursuing when you get time.

    ..and not to be persistent about php.ini settings, but check your post_max_size as well. If the post_max_size value is still at the default (usually 8M) or less than 18.2M in this case, uploads (using the WordPress installer) will fail. post_max_size needs to be equal to – or greater than – the upload_max_filesize value.

    shardul007aswal

    (@shardul007aswal)

    Hi,
    I am uploading zipped folder of theme through wordpress dashboard, I am also getting the same error…are you sure…..???
    help

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Cannot Upload theme via WordPress or FTP’ is closed to new replies.