• Hi,

    I am using this plugin to populate the entry in the Gravity form in the front end for users. It is pretty good. But i found out the file upload is not working properly. the file is not uploaded to the folder. the file link is correct. but if you click the file name, it will be directly to “Page NOT Found”.

    I saw a same post but it is be closed.

    I appreciate all your help.
    Thanks,
    Amy

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Blueflyingfish

    (@blueflyingfish)

    I kept testing it today. I noticed that if it is a new record, the file can be uploaded to the right folder with the right file name. If the setting of Enable multiple entries from same user while form is sticky is enabled, a new record will be created, the file can be uploaded to the server. If the record is existing, when you remove the file and upload a new file which can not be uploaded to the server.

    Is there anybody faced the same issue?

    Many Thanks if you can help me.

    Thanks,
    Amy

    Thread Starter Blueflyingfish

    (@blueflyingfish)

    I have worked it for a while. I checked the front end of file upload and the _Files() which are all correct. I don’t know how to keep checking it. Any suggestions.

    Thanks,
    Qing

    Thread Starter Blueflyingfish

    (@blueflyingfish)

    I finally figured out the reason that the file link points to 404 page.

    The new record was deleted after the old record was updated. The file was actually uploaded to the server in the new record when it was created. When the new record was deleted, the uploaded file was deleted too in the file folder.

    I created a new method in Gravity Forms Module. If the $delete_file is set to false, the new uploaded file will not be deleted.

    Hope it helps for others.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘fileupload issue’ is closed to new replies.