• Resolved jigen

    (@jigen)


    Hello,

    thanks for your wonderful plugin, it worked like a charm up to some weeks ago, but after latest updates I cannot get the upload files to work anymore.
    My latest working upload is recorded on July 28th

    Entries are added correctly, file names are recorded, but no files in the folder and no error messages at all.

    I’ve tried to change upload dir with no luck. If I try to upload an extension not in the list, I get the error message in the submit page, so file type check works fine.

    Any help is much appreciated, unfortunately I am stuck without file upload functionality!

    thanks a lot, best regards

    Enrico

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author xnau webdesign

    (@xnau)

    I’m sorry this is giving you trouble. I don’t see a problem with this here so I can’t be specific about your problem. Information about what happened could be available in your PHP error log if you have that set up.

    You did check the upload path, but make sure it is relative to the WP root: typically, it would start with /wp-content

    Thread Starter jigen

    (@jigen)

    Thanks for your reply, unfortunately there is nothing in the PHP error log, do I need to activate a debug mode in the plugin to get anything tracked?

    Also, the upload path is /wp-content/uploads/participants-database as per the sample…. what is driving me crazy is that it was working perfectly 1 month ago!

    In your version beginning of August changelog mentions some improvements to file upload functions, is it possible to get an earlier version of the plugin to double check that?

    thanks for your help,

    regards

    Enrico

    Plugin Author xnau webdesign

    (@xnau)

    You can install an earlier version if you want, but the code changes were to do with checking the file type, and that part of things seems to be working for you. To download an earlier version go here and scroll down to “Previous Versions”

    It wouldn’t be necessary to have debugging enabled to catch the error, but PHP error logs are sometimes tricky to set up…the error_log setting sometimes reverts to the default setting once you get out of the directory where it was set to the local value.

    Anyway, what you’re seeing is unusual because if the upload fails, typically, it wouldn’t save the filename and it would show an error on the frontend. If it goes like you describe it, it usually means the file was uploaded somewhere unexpected.

    Thread Starter jigen

    (@jigen)

    Hello again,

    thanks for your support: for some reason I have tried to change the upload path again and now it works fine!
    I don’t understand, I’m sure I’ve done this before and it wasn’t working… maybe there was something else that I fixed later on.

    Just for the sake of it, I tried to revert back to default upload path and it doesn’t work again, switched back to another path and it works!!

    So my issue is solved, however for your reference I don’t get any error message when not uploading (and I searched the whole server for the uploaded files so it’s not uploading somewhere unexpected)

    Once more thanks for your work and support!

    Plugin Author xnau webdesign

    (@xnau)

    I’m glad you got it working, and thanks for the report on the lack of an error message…there should be one if the path is invalid.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Issue with files upload’ is closed to new replies.