formtools / core

The Form Tools Core.
https://formtools.org
205 stars 78 forks source link

File upload issues since update #601

Open jgold723 opened 4 years ago

jgold723 commented 4 years ago

I recently updated from 3.0.8 to 3.0.15. Now I cannot upload images. If I attach an image to a record and update the record I get the blue success box, but the image file is not uploaded and the file name is removed from the file field. There are no errors generated as far as I can see.

benkeen commented 4 years ago

Hmm, that's a concern. Try editing your form field (Forms -> Edit Form -> Fields tab -> Edit field modal) and checking the settings on the field. Do the paths and settings all look ok? What about file types and size, is the file you're uploaded an acceptable type and size? It may be worth checking your PHP error logs too to see if there were any problems that occurred behind the scenes.

jgold723 commented 4 years ago

Hi Ben:

It seems to have been related to the upgrade and the core file types issue. Even though I had removed that folder from the modules directory, the software still thinks it’s installed?

Here’s what I did to resolve it:

1) I reinstalled my older version of Formtools (3.0.8); 2) With that in place, I was able to check the modules page where I found a warning about deleting the core file types directory 3) There was no directory, but I was able to click the “Uninstall” link; 4) I reinstalled the Formtools 3.0.15 update; 5) Everything’s working!

I’m guessing that the core file types is referenced in the database somehow?

John

On Aug 27, 2019, at 11:08 PM, Ben Keen notifications@github.com wrote:

Hmm, that's a concern. Try editing your form field (Forms -> Edit Form -> Fields tab -> Edit field modal) and checking the settings on the field. Do the paths and settings all look ok? What about file types and size, is the file you're uploaded an acceptable type and size? It may be worth checking your PHP error logs too to see if there were any problems that occurred behind the scenes.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/formtools/core/issues/601?email_source=notifications&email_token=AC6XD5WMAEJ5V33MJP3RVZLQGXTZPA5CNFSM4IQL5NW2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5JX2DI#issuecomment-525565197, or mute the thread https://github.com/notifications/unsubscribe-auth/AC6XD5VO6SHCQNF25NZ2MQTQGXTZPANCNFSM4IQL5NWQ.

Custom Communications, Inc. 7 Pilgrim Lane Saco, ME 04072 207-771-5510