file upload to email templates

More
1 month 1 week ago #159492 by GanjalfTheGreen
GanjalfTheGreen created the topic: file upload to email templates
Hey folks,

I'm not quite shure if this topic is legit, because I'm having the exactly same issue being described in this three years old bug: bugs.limesurvey.org/view.php?id=8812 .
What I'm trying to do is to attach a file to an email template. I can upload the file (.ics calendar file, 2kb), attach it to the mail (as in the screenshot). But upon hitting save there's no file attached after the page reload.

But running version 2.67.3+170728 I think this might be fixed already so I'm not shure If I'm doing something wrong.

Things i tried already:
  • File with space in name
  • File without space in name
  • Adding attachment to new/other surveys
  • different filetypes
Attachments:

Please Log in to join the conversation.

More
1 month 1 week ago - 1 month 1 week ago #159503 by GanjalfTheGreen
GanjalfTheGreen replied the topic: file upload to email templates
Update: we punched the adress directly into the surveys_languagesettings db, and after that the file correctly showed up when reloading the email template editor. After saving it's gone again.
My guess is that the Upload doesn't reach the database correctly. This is how, in my case, the database entry looked before changing it:
a:1:{s:18:"admin_notification";a:0:{}}
and this is how it should have looked:
a:1:{s:18:"admin_notification";a:1:{i:0;a:2:{s:3:"url";s:60:"<URL HERE>";s:9:"relevance";i:1;}}}
Any guesses?
Last Edit: 1 month 1 week ago by GanjalfTheGreen. Reason: added database name

Please Log in to join the conversation.

More
1 month 1 week ago #159554 by DenisChenu
DenisChenu replied the topic: file upload to email templates
Maybe try with the last version (for example on Demo of limesurvey) and if it happen too : report the bug ?

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!