• Had a strange issue pop up today, Feb 1. All of the form submission that had files attached switched their displayed url from files/2012/01/filename.doc to files/2012/02/filename.doc

    All the files had been uploaded in January, but now all the links to the files are automatically putting in Feb. I was able to do a quick fix for the client by moving the files, but was wondering if there is a glitch or a setting I am missing.
    https://www.ads-software.com/extend/plugins/wordpress-form-manager/

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author hoffcamp

    (@hoffcamp)

    That is a weird glitch. Is it still happening?

    Thread Starter manakuke

    (@manakuke)

    Apparently. I’m running multi-site. On another site I use for testing, a sample form I set up experienced teh same issue. The file was uploaded in January and was accessible correctly in January, but now the generated URL is /files/2012/02/recommendationservicescholar%20(01-12-12-08-10-47).pdf

    It puts the right date/time stamp into the file name. As seen above, it was uploaded on 1/12/12, but now the file folder is trying to retrieve it from the 02 folder. I might not be able to replaicate the error until March rolls around to see if any files upload in Feb (and/or Jan) start generating URLS with /03/ instead.

    Plugin Author hoffcamp

    (@hoffcamp)

    I’ll try to recreate it on my end, I have a guess on what is causing this. Thanks for the info.

    Plugin Author hoffcamp

    (@hoffcamp)

    I just posted 1.6.27 which should prevent this for new files. There isn’t much I can do about files that are already uploaded, though.

    Thread Starter manakuke

    (@manakuke)

    Thanks so much!

    Thread Starter manakuke

    (@manakuke)

    I’m getting the same error from files that were already uploaded. The same files that had been uploaded in January (who’s URL changed to Feb) now are getting a March URL. I had manually moved the files to the Feb folder (They are still there), but the generated URL links are now /files/2012/03/recommendationservicescholar%20(01-12-12-08-10-47).pdf

    I haven’t touched the site since. I have updated the Form Manager plugin.

    I’m running Version 1.6.29

    Is there a setting on my end, perhaps, that I need to adjust?

    Plugin Author hoffcamp

    (@hoffcamp)

    The fix will only work on newly uploaded files. The older files are stored as a filename, and in your case a string, ‘%uploads_dir%’, which points to the *current* uploads directory. I missed the fact that this directory changes with time. The update changed things so that files are stored along with the full path of where they were uploaded.

    The entries in the DB are serialized PHP arrays, so you could write a script to alter them according to the updated format. Or you could re-upload the files. That’s all I can think of.

    Thread Starter manakuke

    (@manakuke)

    OK. Thanks for your feedback. I should be able to address the older files. This helps. Thanks!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[Plugin: WordPress Form Manager] File Attachment Link’ is closed to new replies.