I've moved this site to my server, and as expected a lot of the errors I've been dealing with are now a non-issue.
Except this one. But it seems as if it's due to me entering the parameters for only certain files into the snippet call. I removed the parameter, and am able to upload just fine.
So, here's what I was using. What's wrong? I tried both with and without (.) before the extension.
[[!FileUpload? &filefields=`3` &uploadgroups=`Administrator, fileUploader` &extensions=`.jpg,.pdf,.doc,.docx,.xls,.png` &path=`assets/uploads/cswa/`]]
I'd leave it as is with all the defaults, but it lists the whole gamut of file extensions on the page. The users will only have a few different file types they'll upload anyway.
The error came from fileUpload and showed in red just above the file upload fields, it said that the .jpg file was a disallowed extension.
It happened both with and without the (.) preceding the extension in the snippet call.
I haven't checked to see if the default TV works yet on this server. FWIW, I installed a brand new 2.2.4-pl at the root of the server, and then imported the tables from my local. Site works great. Still waiting for full propagation of the nameservers but the front end is up.
Right now I still have to use the temporary url (
http://site.com/~username/manager) to access the manager. I'm gonna give that 48 hours I suppose. What's interesting is that I can access the login screen for site.com/manager, but I can't log in from there. It just loops back to login. The only way to get to manger is to use the ~username/manager url.
edit: Also note, the parameter &filefields=`3` in the snippet call. I tried &uploadfields but that just sent the default 10. &filefields works great. The tutorial at
http://bobsguides.com/fileupload-tutorial.html shows &uploadfields in the example.
[ed. note: frogabog last edited this post 14 years, 1 month ago.]