Welcome, Guest
Username: Password: Remember me

TOPIC: Cannot Upload Photo to Question

Cannot Upload Photo to Question 3 years 3 months ago #63946

  • lpotts
  • lpotts's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 1
  • Karma: 0
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!
The administrator has disabled public write access.

Re: Cannot Upload Photo to Question 3 years 3 months ago #63948

  • atiut
  • atiut's Avatar
  • OFFLINE
  • Senior Lime
  • Posts: 76
  • Thank you received: 2
  • Karma: 1
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.
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.100 seconds
Donation Image