Welcome to the LimeSurvey Community Forum

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

Resource ZIP File Upload Issue

  • thomasc
  • thomasc's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 2 months ago #115843 by thomasc
Resource ZIP File Upload Issue was created by thomasc
Dear experts,

I am new to lime survey and I want to move one survey from one server to another. Here is the summary:

Both 2 servers are running latest 2.05+

Old server:
- export Template Zip file -> OK
- export LSS -> OK
- export Resource as a Zip Archive -> OK

New server:
- import Template Zip file -> OK
- import LSS -> OK
- import single image -> OK


However, when the Resource Zip file is imported, error occurs:

LimeSurvey
Error

An error occurred uploading your file. This may be caused by incorrect permissions in your /var/www/html/upload/surveys folder.

I checked the permission in upload directory should be ok. Even though single image can be imported without problem, and Zip does supported due to Template Zip file has no problem. The problem only occurs when Resource Zip file is uploaded.

Any Idea?
The topic has been locked.
  • thomasc
  • thomasc's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 2 months ago #115851 by thomasc
Replied by thomasc on topic Resource ZIP File Upload Issue
Finally I solve the problem by editing /etc/php.ini with the following change:

upload_max_filesize = 50M
post_max_size = 50M

All are working fine now, but the error message from LimeSurvey: "This may be caused by incorrect permissions" is really misleading.
The topic has been locked.
  • Mazi
  • Mazi's Avatar
  • Offline
  • Official LimeSurvey Partner
  • Official LimeSurvey Partner
More
9 years 2 months ago #115853 by Mazi
Replied by Mazi on topic Resource ZIP File Upload Issue

thomasc wrote: Finally I solve the problem by editing /etc/php.ini with the following change:

upload_max_filesize = 50M
post_max_size = 50M

All are working fine now, but the error message from LimeSurvey: "This may be caused by incorrect permissions" is really misleading.

Please file a bug report at our bugtracker for this, thanks!

Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose