Welcome to the LimeSurvey Community Forum

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

Is there a size limit when importing .lss files

  • sshaffer
  • sshaffer's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 2 months ago #193461 by sshaffer
Trying to import a 4 MB .lss file (so I can't attach it here since the limit is 2 MB). Get the error "An error occurred uploading your file. This may be caused by incorrect permissions in your /var/www/myapp/tmp folder".

I can import other, smaller .lss files so I don't think it is a permissions issue. I'm wondering if it is a size issue but can't seem to find a setting for it, and whether or not I can modify the setting if it does exist.

We are on version 2.06
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 2 months ago #193462 by Joffm
Hi,
if you have a look at the manual
manual.limesurvey.org/Surveys_-_introduction#Import_a_survey
you see a max file size of 2MB.

In my installations (2.73 and 3.22) it is 64MB

Unfortunately 2.06 doesn't show the max. size.

But in my opinion this just reflects the upload_max_filesize of the php installation.


What do you see in phpinfo?

You may try to zip your file and attach it here,

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: DenisChenu
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 2 months ago - 4 years 2 months ago #193470 by DenisChenu
Replied by DenisChenu on topic Is there a size limit when importing .lss files
@Joffm was 100% right :)

Maybe an alternate solution ?

Activate survey, export as survey archive : maybe it's lesser than 2Mo :)

lss is text, lsa is zip of lss + a csv with answers (but you don't have one)

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: 4 years 2 months ago by DenisChenu.
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 2 months ago #193475 by Joffm
And - just to be sure:
I looked at the setting of my XAMPP phpinfo.


Only 2MB.

As you seem to use a local installaton, you might try to change the setting in your php.ini

; Maximum allowed size for uploaded files.
; php.net/upload-max-filesize
upload_max_filesize=
2M

I changed the value and got in phpinfo



Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: DenisChenu
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose