Check out the LimeSurvey source code on GitHub!

Cannot Upload Photo to Question

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/" (mkdir() {<a
href='function.nkdir'>function.mkdir</a}: Unable to access /var/www/vhosts/

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.

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/" 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, copy the hotlink and embed your image using some code like:

<img src=" " alt="your alternative description" />, where " " 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