Welcome, Guest
Username: Password: Remember me

TOPIC: Add files to e-mail template

Add files to e-mail template 1 year 2 months ago #105882

  • mrramgopal
  • mrramgopal's Avatar
  • OFFLINE
  • Silver Donor
  • Posts: 4
  • Thank you received: 1
  • Karma: 0
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 administrator has disabled public write access.

Add files to e-mail template 1 year 2 months ago #105929

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4758
  • Thank you received: 964
  • Karma: 410
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.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
The administrator has disabled public write access.

Add files to e-mail template 1 year 2 months ago #105935

  • mrramgopal
  • mrramgopal's Avatar
  • OFFLINE
  • Silver Donor
  • Posts: 4
  • Thank you received: 1
  • Karma: 0
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 administrator has disabled public write access.
The following user(s) said Thank You: DenisChenu

Add files to e-mail template 1 year 2 months ago #105970

  • mrramgopal
  • mrramgopal's Avatar
  • OFFLINE
  • Silver Donor
  • Posts: 4
  • Thank you received: 1
  • Karma: 0
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 administrator has disabled public write access.

Add files to e-mail template 1 year 2 months ago #105995

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4758
  • Thank you received: 964
  • Karma: 410
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.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
The administrator has disabled public write access.
The following user(s) said Thank You: mrramgopal

Add files to e-mail template 1 year 1 month ago #106008

  • mrramgopal
  • mrramgopal's Avatar
  • OFFLINE
  • Silver Donor
  • Posts: 4
  • Thank you received: 1
  • Karma: 0
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 administrator has disabled public write access.

Add files to e-mail template 2 months 1 day ago #117930

  • udine1981
  • udine1981's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 2
  • Karma: 0
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 months 1 day ago by udine1981.
The administrator has disabled public write access.

Add files to e-mail template 2 months 5 hours ago #117982

  • udine1981
  • udine1981's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 2
  • Karma: 0
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 administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.126 seconds
Donation Image