PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Unable to upload larger pictures

  1. i just added the ability for my customers to upload their images to me from a gravity form. I tried testing it with normal sized pictures (1.5 MB each) and tried uploading just 6 of them and it never sent. I left it go for about an hour and it was still spinning. I then tried to stop and go back but it wouldn't. I then closed down the tab, reopened another and tried to go to my homepage and nothing would come up. Eventually, I got "Unable to access database" to come up on a blank white page. I called Bluehost and they said it was most likely a plugin problem. Any ideas? I really need this functionality. Actually, I'd prefer to be able to do multi-upload where it resizes all the pictures and renames them, but I know that's asking for a lot.

    Posted 11 years ago on Tuesday September 11, 2012 | Permalink
  2. David Peralty

    Gravity Forms just uses a normal HTML file upload field, nothing fancy. So all of the controls of the file upload are really server based. You could be experiencing a theme or plugin conflict, or a limitation of file upload size (check with your host on that, as most hosts set this to 8MB). It could be a PHP execution timeout on shared hosting, a PHP log entry should be created for that.

    Here are instructions for testing theme/plugin conflicts:

    Posted 11 years ago on Tuesday September 11, 2012 | Permalink
  3. Where would I find the php log?

    Posted 11 years ago on Wednesday September 12, 2012 | Permalink
  4. David Peralty

    You will want to ask Bluehost since it can be in different places, or even a spot you can't access it.

    Posted 11 years ago on Wednesday September 12, 2012 | Permalink
  5. If yo are using bluehost I had a similar issue with a client php upload limitations (using PLIGG), Back them I think bluehost set it at 2 meg. Go to your .htaccess file and place this code in it, on the top lines.

    php_value upload_max_filesize 15M
    php_value post_max_size 15M
    php_value max_execution_time 200
    php_value max_input_time 200

    Save the updated .htaccess file. then view your site and try things out you should be all set. If for some reason you get a Internal Server 500 Error, that means the hosting provider has place a php_value restriction on there .htaccess files, remove code an your site will return, then contact your hosting provider and request a change, Some will accommodate, but many will only increase to 8 or 10 meg, depending on your type of account, so just be aware of this.

    Good Luck

    Posted 11 years ago on Monday September 17, 2012 | Permalink
  6. Thanks for that information Glenn.

    Posted 11 years ago on Tuesday September 18, 2012 | Permalink