Welcome to the LimeSurvey Community Forum

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

Unable to create directory error

  • JoeJoe
  • JoeJoe's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
13 years 3 months ago #53058 by JoeJoe
Unable to create directory error was created by JoeJoe
When I try to copy a template so that I can edit it; when I type in a new name and click the save message; I get an error:

Unable to create directory "xxxxxx". Please check the directory permissions
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
13 years 3 months ago #53060 by holch
Replied by holch on topic Unable to create directory error
You need to create the folder "upload" or give Limesurvey write permission.

If you copy a template to edit it, it will not be stored in the template folder anymore, but in upload/templates. This is new to limesurvey 1.9x I think.

Giving Limesurvey the permission to write in the upload folder should solve the problem.

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

The topic has been locked.
  • JoeJoe
  • JoeJoe's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
13 years 3 months ago #53106 by JoeJoe
Replied by JoeJoe on topic Unable to create directory error
Can you advise me where to create the upload directory?
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
13 years 3 months ago #53107 by holch
Replied by holch on topic Unable to create directory error
Well, the upload directory should also be available, just in the limesurvey root, where you can also find folders like admin, classes, scripts, templates.

If the folder is not available, you'll need to create it and give limesurvey the rights to write into this folder.

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

The topic has been locked.
  • JoeJoe
  • JoeJoe's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
13 years 3 months ago #53115 by JoeJoe
Replied by JoeJoe on topic Unable to create directory error
limesurvey was given full permissions to the upload directory however i am still getting the error when i try to copy a template.
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
13 years 3 months ago #53116 by holch
Replied by holch on topic Unable to create directory error
How did you give the permission? Try 777 in your FTP-Program for the respective folder, what happens?

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

The topic has been locked.
  • JoeJoe
  • JoeJoe's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
13 years 3 months ago #53119 by JoeJoe
Replied by JoeJoe on topic Unable to create directory error
it worked. i had to wait a while for it to take effect and the permissions are 777
The topic has been locked.
  • Mazi
  • Mazi's Avatar
  • Offline
  • Official LimeSurvey Partner
  • Official LimeSurvey Partner
More
13 years 3 months ago #53162 by Mazi
Replied by Mazi on topic Unable to create directory error
You're welcome!

If our hints have been helpful and you enjoy limesurvey please consider a donation to the team .
We do all this in our free time and you don't have to pay a penny for this software.

Without your help we can't keep this project alive.

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.
More
12 years 6 months ago #65162 by biowan
Replied by biowan on topic Unable to create directory error
Hi,

Ok, I know this is a old post. But I have the same problem. But I still don't create and copy a template. Repertories (templates, tmp and upload) are all in 777. I have a terminal access without FTP.

Thanks for your help.
See you
W

LS V1.91+ Build 120226
LS V1.92 Build 120303 in testing
The topic has been locked.
More
12 years 4 weeks ago #74708 by guardianecho
Replied by guardianecho on topic Unable to create directory error
I am also having the same problem. all of the directories required under Limesurvey were in chmod777 already :| and yet the template can not be copied nor can i create a new template. hope to hear from you soon! thanks! :]
The topic has been locked.
More
8 years 4 months ago #128162 by dperry2008
Replied by dperry2008 on topic Unable to create directory error
If you did the command 'chmod 777 upload/' when your command prompt was set to be the root of the limesurvey site, that isn't enough. I think +R would have done it for all the subfolders, I manually did the templates/ folder within uploads to 777 as well, that fixed the problem for me.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose