Welcome to the LimeSurvey Community Forum

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

Image Upload not working; new install; permissions correct

  • pixelit
  • pixelit's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 8 months ago - 8 years 8 months ago #123152 by pixelit
I noticed on our server, that the image upload is not working. The permissions for the upload folder are set correctly. I can create new folders in the upload dialog for example.

To test this, I download the newest version (Version 2.06+ Build 150730) and installed it in a blank databse using MAMP. Folder permissions were set to 777 on the upload folder. Debug is set to 2 in application/config/config.php.

When I enter the HTML Editor (does not matter if its the welcome message or a question), press on the image icon, click on Browse Server, I can create folders. If I select Upload and choose a jpg or png I see a short flickr of an upload animation in the right top corner, but no files are present.

Nothing is in the Apache log, nothing in the php log. I see 2 request in the browser console:
Can anyone please check this or help in any way? I've been using limesurvey since 1.7x and never had this problem.

Update: I currently use php 5.6.10 but also tried 5.4.30 with no success. There is also no difference if I turn of https.
Last edit: 8 years 8 months ago by pixelit.
The topic has been locked.
  • pixelit
  • pixelit's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 8 months ago #123179 by pixelit
I solved the issue by updating kcfinder to the newest version 3.12 by download it from here github.com/sunhater/kcfinder/releases/tag/3.12 and replacing the current version in the third_party folder.
After this the upload works without problems.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
8 years 8 months ago #123208 by DenisChenu
There are some fix to kcfinder , and first time i leave cache files ....

Then : use kcfinder included of LS (it's 3.12 withn security fix).
Clean cache dir.
github.com/LimeSurvey/LimeSurvey/tree/ma...party/kcfinder/cache
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.
More
8 years 8 months ago - 8 years 8 months ago #123291 by jelo
There seems to be something buggy in the last updates.
The browser won't show a directory structure and when clicking on upload the URL is kcact:upload.
kcact:upload








What is meant by "First time I leave cache files..."?
Clean cache dir means deleting all files except the .htaccess.

Via Comfortupdate Version 2.06+ Build 150731 is available but the issue still exists.
Shouldn't be 2.06+ 150731 be available under github.com/LimeSurvey/LimeSurvey/releases ???
Seems to be missing there.

I can only think of missing files during the last comfortupdate as the root of the issue.
Would like to get the 150731 release file to update manually again.

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Last edit: 8 years 8 months ago by jelo.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
8 years 8 months ago #123294 by DenisChenu
You need to clean the browser cache too.

Best solution : Survey settings/ browse ressources / reload page

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.
More
8 years 8 months ago #123295 by jelo

DenisChenu wrote: You need to clean the browser cache too.
Best solution : Survey settings/ browse ressources / reload page

I have the cache of the browser deactivated via web-developer addon. In my case it isn't the cache.
I use different virtual machines with different browsers. No proxy. So I don't see any connection.

A link to the Version 2.06+ Build 150731 would be helpful. The GIT page isn't showing that last release.

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose