Add files to e-mail template

More
3 years 3 months ago #105882 by mrramgopal
mrramgopal created the topic: Add files to e-mail template
I use Limesurvey Version 2.05+ Build 140217 . Hosted on GoDaddy. Linux. When I try to attach any file to the e-mail template , nothing happens. No error message. I tested on IE , Firefox and Chrome , all current. On Vista64.
Where could I be going wrong, and what is the fix please?
Thanks in advance.
Attachments:

Please Log in to join the conversation.

More
3 years 3 months ago #105929 by tpartner
tpartner replied the topic: Add files to e-mail template
This may be a bug - I cannot attach files either.

Please file a bug report and...
  1. Give as much information as possible.
  2. Provide step-by-step instructions how to reproduce the problem.
  3. Provide screenshots and/or a sample survey.
  4. Post the link to the bug here so we can follow the progress.

Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Please Log in to join the conversation.

More
3 years 3 months ago #105935 by mrramgopal
mrramgopal replied the topic: Add files to e-mail template
Filed bug report
bugs.limesurvey.org/view.php?id=8812

Edit email template of invitation
Add files. Upload any small file for attachment.

Save.

No files seen in attachment.
Send email invitation using token management.
No file seen in attachment.

LimeSurvey
Version 2.05+ Build 140302 Hosted on GoDaddy . Php5.3 Linux MySql
Attachments:
The following user(s) said Thank You: DenisChenu

Please Log in to join the conversation.

More
3 years 3 months ago #105970 by mrramgopal
mrramgopal replied the topic: Add files to e-mail template
There is a resolution closure in the bug-tracker.
bugs.limesurvey.org/view.php?id=8812
I understand that two file have been changed to do this.
application/controllers/admin/emailtemplates.php
application/views/admin/emailtemplates/emailtemplates_view.php
I tested this fix by copying the new files over the old ones. Now with the new php files in place , I am able to add files in the e-mail template. Thank you.

a) I find that there is some size limitation or a timeout somewhere as I have been able to add files of sizes upto 320 KB approx , but I cannot add 450 KB files. Any suggestions where to configure this would be much appreciated.
b) When is this likely to be published in a stable release?

Regards

Please Log in to join the conversation.

More
3 years 3 months ago #105995 by tpartner
tpartner replied the topic: Add files to e-mail template
There will be a new stable 2.05 release early next week.

Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: mrramgopal

Please Log in to join the conversation.

More
3 years 3 months ago #106008 by mrramgopal
mrramgopal replied the topic: Add files to e-mail template
Filenames with a space in it wont attach.
eg "my file.pdf" will not attach. Myfile.pdf" will get added. Tested by renaming the same file.

Please Log in to join the conversation.

More
2 years 3 months ago - 2 years 3 months ago #117930 by udine1981
udine1981 replied the topic: Add files to e-mail template
Hi,

I have the same problem now. My limesurvey version is 2.05, I have checked my files according to this issue : bugs.limesurvey.org/view.php?id=8812 and the code of my file is correct.
But it still don't work. I have no error on my apache log, no error in browser console.
I tried without accent, without space, without any special chars in my files names.

Is anyone have this problem to ? Is anyone have a good idea ?

Thanks all !

EDIT : In my database and if I try to add a file (1, 2, 3 or more), the table lime_surveys_languagesettings take this value : a:1:{s:10:"invitation";a:0:{}} every time.

When I delete all the files I have : a:0:{}.

Maybe a problem with de serialize functions ?! :S
Last Edit: 2 years 3 months ago by udine1981.

Please Log in to join the conversation.

More
2 years 3 months ago #117982 by udine1981
udine1981 replied the topic: Add files to e-mail template
Well,

We found the problem in my case. Our LimeSurvey instance is behind a reverse proxy and to make our URL working we changed the value of publicurl in config.php with the real URL of our DMZ. Comment this line resolve the problem.

This is because the value of the URL when adding a file must not be " domain.tld/ ...." but "/var/www/...."

Sorry for my bad english.

:laugh:

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now