-
- 72 Posts
Yep noticed that. Have tried stripping back to only the required parameters, nothing is working!
-
- 152 Posts
@ paramaniac :
I had just tried your form and have no problems with the attachment.
The only thing I noticed are that the
<p>[[+contactAttachment]]</p>
placeholder are empty in the mail, but the file are attached correct.
Just an idea: Could it be a problem with the tmp folder on the server? Missing, wrong path setup, or maybe write protected ?
- A small step for mankind, so why not take two...
Working with web production, graphic design/workflow, photo and education - but are trying to get a life in between!
-
- 14 Posts
Henrik, that’s interesting that the same code works for you. I haven’t heard of a tmp folder, where can I find and configure it?
-
- 152 Posts
Well - that depends on the platform, hosting provider etc. But if you have access to the php.ini you can find the folder name - but maybe it’s faster to contact the hosting provider, and ask them to check the settings ;-)
- A small step for mankind, so why not take two...
Working with web production, graphic design/workflow, photo and education - but are trying to get a life in between!
-
- 14 Posts
Thanks Henrik, phpinfo says that upload_tmp_dir has no value. This should be set to a folder with write permissions, right? I’ll ask the provider to change that, as I don’t have access to php.ini.
-
- 72 Posts
Hi Henrik,
Thanks for the suggestion. I have just checked the system info and mine is saying the same as rabimoe, upload_tmp_dir: NO VALUE.
I will try installing MODx on another server which may have different php.ini settings and see if that works...
-
- 72 Posts
I have tried a fresh install of MODx and Formit on a different server, the upload_tmp_dir setting is also NO VALUE.
The file did not attach to the email.
Interestingly, another website on the same server that I built a while ago using MODx 1.0.2 and eForm 1.4.4.6, has a file upload, and this works fine.
-
- 24 Posts
Can someone update the instructions Wiki for formit to mention some of this stuff? Seems strictly going by what’s there won’t work for a lot of people... Many thanks!