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.

Post Submission just keeps loading with no result

  1. marcusk
    Member

    I have a form for users to upload post content with up to 10 images. For some users, it seems to be okay but some users are not being able to complete the submission process as after hitting the submit button, it just keeps loading.

    Reducing the number of images (which are small sizes to begin with) to 1-2 works but my requirements are actually minimum 5 image uploads.

    Form URL: http://selangorlicious.my/submit-2/

    Please help!

    Posted 12 years ago on Wednesday June 27, 2012 | Permalink
  2. David Peralty

    This is almost always a PHP/WordPress memory issue. Can you please have a look at the following post:
    http://www.nerdgrind.com/increase-wordpress-and-php-memory-limit/

    You should attempt to increase both your PHP and WordPress available memory to 256MB minimum. You may need more based on the number of images and how large they are.

    Also, potentially have your host check for server logs to make sure PHP isn't timing out as the images are being uploaded. Gravity Forms uploads them all, and doesn't use a flash uploader or anything fancy.

    Posted 12 years ago on Wednesday June 27, 2012 | Permalink
  3. marcusk
    Member

    Thanks for the prompt reply. Will check with the hosting company. Cheers

    Posted 12 years ago on Wednesday June 27, 2012 | Permalink
  4. marcusk
    Member

    Just checked with the hosting company. Memory limit is already at 256MB and max file size upload is 20MB. Also, different browsers are having different results, some being able to upload more images versus others. Firefox seems to be the least among them.

    Max execution time is at 30 and max input time is at 60.

    Also, is there a way to register this as an error to output out to users?

    Posted 12 years ago on Wednesday June 27, 2012 | Permalink
  5. David Peralty

    We can't register it as an error until we understand the exact cause. The problem is very strange to me. I'm going to see if the developers have any thoughts on it. Can you send an export of your form to peralty@rocketgenius.com ?

    Posted 12 years ago on Wednesday June 27, 2012 | Permalink
  6. marcusk
    Member

    Another thing regarding email notification. The form settings does not allow for email notification without email input field. But since users are already logged in, I need the email notification to be sent out to the registered profile email address. Is this possible?

    Posted 12 years ago on Wednesday June 27, 2012 | Permalink
  7. David Peralty

    You would need to still have an e-mail field in your form, and pre-populate the value with their profile e-mail address. I would have to research how to grab that but here is the hook to prepopulate a field:
    http://www.gravityhelp.com/documentation/page/Gform_pre_render

    Make sure you have the field checked off to be able to be prepopulated. And you can hide it with CSS using display:none;

    Posted 12 years ago on Wednesday June 27, 2012 | Permalink
  8. marcusk
    Member

    Any feedback from the developers?

    Posted 12 years ago on Thursday June 28, 2012 | Permalink
  9. David Peralty

    You sent me an export CSV of entries and not the Form XML. Can you please send the form export?

    Posted 12 years ago on Thursday June 28, 2012 | Permalink
  10. marcusk
    Member

    Fixed the issue. Did 2 things:
    1. Set permalink to custom /%postname%
    2. Turned off anti virus before posting (apparently it was blocking the file uploads)

    Seems to be okay now. Just trying to figure out how to make it tablet/mobile friendly. Currently, image upload does not allow file uploads on these platforms (even though I have html5 output on)

    Posted 12 years ago on Thursday June 28, 2012 | Permalink
  11. David Peralty

    Glad to hear you sorted it out. If you are thinking about trying to get image uploads to work on the iOS platform, you are going to be disappointed, as far as I know, no one has got around the limitations of the browser and lack of file system.

    Posted 12 years ago on Thursday June 28, 2012 | Permalink
  12. marcusk
    Member

    This might work:
    http://www.html5rocks.com/en/tutorials/file/dndfiles/

    Need to test it out first though.

    Posted 12 years ago on Thursday June 28, 2012 | Permalink