Check out the LimeSurvey source code on GitHub!

Cannot Upload Photo to Question

More
5 years 7 months ago #63946 by lpotts
When I attempt to load a photo into a question, this is the error message I receive.

Error creating folder
"/var/www/vhosts/community.petsafe.net/httpdocs/limesurvey/upload/surveys/41631/" (mkdir() {<a
href='function.nkdir'>function.mkdir</a}: Unable to access /var/www/vhosts/community.petsafe.net/httpdocs/limesurvey/upload/surveys/41631/)

And although I can select a photo and click upload and it says it's processing, it never does.

Please help!

Please Log in to join the conversation.

More
5 years 7 months ago #63948 by atiut
It looks like you do not have the permision to create folders on the servers, so the photo cannot be saved.

You may want to access your server via a ftp client, righ click "www/vhosts/community.petsafe.net/httpdocs/limesurvey/upload" choose "permissions" (or similar) and heighten the rights. You may also need to do the same for sub-directories. Note that this is always a security risk, so I encourage you to consult with someome more knowleadgeable than me before doing it.

Alternatively upload your image to imgur.com, copy the hotlink and embed your image using some code like:

<img src=" i.imgur.com/somelettersrepresentingthepicturecode.jpg " alt="your alternative description" />, where " i.imgur.com/somelettersrepresentingthepicturecode.jpg " is actually the hotlink provided by imgur.

The same code can be adapted by embeding any hotlink from any image hosting service.

Please Log in to join the conversation.

Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form