Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Add files to e-mail template

  • mrramgopal
  • mrramgopal's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
10 years 2 weeks ago #105882 by mrramgopal
Add files to e-mail template was created by mrramgopal
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:
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
10 years 1 week ago #105929 by tpartner
Replied by tpartner on 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.
The topic has been locked.
  • mrramgopal
  • mrramgopal's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
10 years 1 week ago #105935 by mrramgopal
Replied by mrramgopal on 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
The following user(s) said Thank You: DenisChenu
The topic has been locked.
  • mrramgopal
  • mrramgopal's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
10 years 1 week ago #105970 by mrramgopal
Replied by mrramgopal on 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
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
10 years 1 week ago #105995 by tpartner
Replied by tpartner on 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
The topic has been locked.
  • mrramgopal
  • mrramgopal's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
10 years 1 week ago #106008 by mrramgopal
Replied by mrramgopal on 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.
The topic has been locked.
More
9 years 1 week ago - 9 years 1 week ago #117930 by Doagarlin_44670
Replied by Doagarlin_44670 on 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: 9 years 1 week ago by Doagarlin_44670.
The topic has been locked.
More
9 years 1 week ago #117982 by Doagarlin_44670
Replied by Doagarlin_44670 on 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:
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose