Welcome to the LimeSurvey Community Forum

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

Template import problem

  • mascarpone
  • mascarpone's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
8 years 5 months ago - 8 years 5 months ago #128552 by mascarpone
Template import problem was created by mascarpone
Hi Folks,

Trying to reuse a survey template used by other colleagues in-house - but got a problem when importing (both on 2.05+ and 2.06).
Any "charitable soul" out there to help sort this out?

Merci!

(Zip file is over size limit for the forum - any other way to attach it?)

Note: problem is template specific (not an LS bug)
Last edit: 8 years 5 months ago by mascarpone.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
8 years 5 months ago #128561 by DenisChenu
Replied by DenisChenu on topic Template import problem
Hi,

You can use framadrop.org/ for example, a good service based on free software.

For the template zip : validate you have directly ./startpage.pstpl in the zip and not :

templatename/startpage.pstpl

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The following user(s) said Thank You: mascarpone
The topic has been locked.
  • mascarpone
  • mascarpone's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
8 years 5 months ago #128569 by mascarpone
Replied by mascarpone on topic Template import problem
Hi Denis,

I think you're spot on as the error message (on one of the instances only) did mention something about startpage.pstpl
Yet when unzipping the file I didn't find anything abnormal - but I may have not looked in the right place

I have uploded it here framadrop.org/r/q8nI6TqTOz#pCSQpmeswNs9W...E/zqLYL1dBIH6ao+6Z4= (thanks for the tip!) - would be greatful if you could have a quick look at it, merci!
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
8 years 5 months ago #128571 by DenisChenu
Replied by DenisChenu on topic Template import problem
Hi,

It's what i'm think :

Your zip file:


Fixed zip file


Fixed template : framadrop.org/r/ZynTDzVN6-#dscHb3C9V6osA...seWtv0o3WdCiqOSi5fw=

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
  • mascarpone
  • mascarpone's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
8 years 5 months ago #128573 by mascarpone
Replied by mascarpone on topic Template import problem
I imported this new template but still got the following errr:

Error

An error occurred uploading your file. This may be caused by incorrect permissions in your folder.

(plus I don't see the startpage.pstpl as you described it?)
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
8 years 5 months ago - 8 years 5 months ago #128574 by DenisChenu
Replied by DenisChenu on topic Template import problem
startpage.pstpl is an example .
same with asesment.pstpl

I import the fixed zip in the last 2.06 version without any issue. But maybe some other thing
- Try to rename the zip file to prime2 for example
- Do you have another template with same name ?

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Last edit: 8 years 5 months ago by DenisChenu.
The topic has been locked.
  • mascarpone
  • mascarpone's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
8 years 5 months ago #128575 by mascarpone
Replied by mascarpone on topic Template import problem
Hmmmm no template with the same name - and I've tried renaming it without success... :(
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
8 years 5 months ago #128576 by DenisChenu
Replied by DenisChenu on topic Template import problem
I think, but unsure it can be the default right when create a file.

For file : the apache user must have "read/write" rights
For directory : "read/write/execute" rights

Maybe, here : image dir is created without the execute rights.

Can not go further without looking at server log and maybe do some hard test.

Denis

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
  • mascarpone
  • mascarpone's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
8 years 5 months ago #128590 by mascarpone
Replied by mascarpone on topic Template import problem
Solved! It was an oversize issue.
I misread the size (and LS did not throw back a "smart error") hence the back and forth...

Thanks a lot for taking the time Denis!
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
8 years 5 months ago #128593 by DenisChenu
Replied by DenisChenu on topic Template import problem
Not for template, but for LSA : bugs.limesurvey.org/view.php?id=9498

Need a global system i think.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The following user(s) said Thank You: mascarpone
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose