The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
|
![]() |
"Upload folder either invalid or not writable" - Printable Version +- Form Tools (https://forums.formtools.org) +-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1) +--- Forum: General Discussion (https://forums.formtools.org/forumdisplay.php?fid=5) +--- Thread: "Upload folder either invalid or not writable" (/showthread.php?tid=646) |
"Upload folder either invalid or not writable" - Stephan - Apr 9th, 2010 Getting the error message in the post title. In Settings, under the Files tab, I've kept the default formtools\upload folder, and the Test Folder Permissions comes back okay, but when I try to upload a file via the form, it doesn't work, and when I try via the form edit page, it results in the error "Upload folder either invalid or not writable." I've also checked the file size limits in php.ini, and uploads are enabled. The file upload from this form was tested and working using my old (self-written) process.php page, so I think the html is written correctly. I'm stuck! Does anyone have any suggestions? I'm using WAMP localhost for testing. Thanks! Okay, I fixed this, but I'm not sure why it worked. I went into the Forms > Edit > Options for the File field that wasn't uploading. Under the Fields tab, File field type, Add Row, Setting to File upload folder. I kept the settings the same as the defaults and the next test worked. Which is awesome (Form Tools is great, btw), but why aren't the default settings working? (Apr 9th, 2010, 10:05 AM)Stephan Wrote: Getting the error message in the post title. RE: "Upload folder either invalid or not writable" - jglnb - Apr 9th, 2010 I had a similar issue and Ben pointed out the existance of a small bug ! Here you will find the link to the bug report ! Cheers JG Quote:Ack, I feel kind of bad about this one. I just sat down to do it and found that there's actually a bug in the Export Manager that prevents the default file upload URL & folder get passed to the template for each field. So it needs a little trickery to figure it out... sorry! RE: "Upload folder either invalid or not writable" - Nowton - May 26th, 2010 (Apr 9th, 2010, 1:54 PM)jglnb Wrote: I had a similar issue and Ben pointed out the existance of a small bug ! Confused! Should I do this on every file-upload field in every form? If so, I've got my work cut out for me...please advise. Thanks. RE: "Upload folder either invalid or not writable" - Ben - May 27th, 2010 Quote:Confused! Should I do this on every file-upload field in every form? You shouldn't have to! It's a royal pain in the butt, I know! ![]() I'll include a fix for this in the next 2.0.1 build. If I haven't gotten to it by this weekend, send me a nagging email at ben.keen@gmail.com with a link to this thread. ![]() - Ben RE: "Upload folder either invalid or not writable" - Ben - May 30th, 2010 Hi Nowton, Actually, now I've looked into this, I'm not totally positive it's the cause of the problem. Would it be possible to log into your installation so I could see it for myself? - Ben RE: "Upload folder either invalid or not writable" - Nowton - Jun 1st, 2010 (May 30th, 2010, 5:55 PM)Ben Wrote: Hi Nowton, Ben, you have our credentials. RE: "Upload folder either invalid or not writable" - Ben - Jun 1st, 2010 Just to close this thread, it's all sorted out now. It was a configuration issue. - Ben |