Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #60118

    Cheryl M
    Participant

    Hi guys,
    I sold a client on the X theme, and I’m trying to upload it to their [horrible] host, 1and1. I receive this error over and over: “The uploaded file exceeds the upload_max_filesize directive in php.ini”

    I tried to raise the upload limit in the php.ini file myself, both manually and through plugins, as apparently 1and1 does not allow you to raise the upload limit!

    I’ve noticed that at least one other person has used this theme on their 1and1 site, though. What is your suggestion?

    Thanks.

    #60481

    Kosher K
    Member

    Hi Cheryl,

    Thanks for writing in,

    Regarding about your issue, You can try this options below,

    1. Add this line in .htaccess file

    <IfModule mod_php5.c>
    php_value upload_max_filesize 30M
    </IfModule>

    if it won’t work and you’re getting internal server error, remove that line from .htaccess

    2. create a file on root directory called php.ini and add this code below

    upload_max_filesize = "250M"
    post_max_size = "250M"

    If it still doesn’t work then you have to upload the theme using FTP or you can try to contact your hosting provider and ask them to increase the upload limit of your server,

    Hope it helps,

    Cheers

    #756121

    jesscatalina
    Participant

    Hello! I am having the same issue, and it might be because I am not as technically savy but I created a root file but there is nowhere to add the code. Please help! 🙂

    #756282

    Christian
    Moderator

    Hey Jess,

    Your hosting provider will be able to help you with this as this is a server related setup. Please contact them to increase your upload size.

    Thanks.