Welcome to the LimeSurvey Community Forum

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

file upload to email templates

  • GanjalfTheGreen
  • GanjalfTheGreen's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 3 weeks ago #159492 by GanjalfTheGreen
file upload to email templates was created by GanjalfTheGreen
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
The topic has been locked.
  • GanjalfTheGreen
  • GanjalfTheGreen's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 3 weeks ago - 7 years 3 weeks ago #159503 by GanjalfTheGreen
Replied by GanjalfTheGreen on 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:
Code:
a:1:{s:18:"admin_notification";a:0:{}}
and this is how it should have looked:
Code:
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: 7 years 3 weeks ago by GanjalfTheGreen. Reason: added database name
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
7 years 2 weeks ago #159554 by DenisChenu
Replied by DenisChenu on 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 support - Plugins, theme and development .
I don't answer to private message.
The topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose