You can build great websites. We can help! You will get expert support and over 3,000 videos! Start a free trial!
Welcome, Guest
Username: Password:

TOPIC: JFolder::create: Could not create directory //

JFolder::create: Could not create directory // 4 years 6 months ago #41951

I cannot install any extension. I moved my project from LocalHost to a server. Now when I tried to install something, in this case YouTube plugin, I got this message:

* JFolder::create: Could not create directory
* Warning: Failed to move file!

Any suggestion? Thanks a lot.
Please become a member of
OSTraining to reply to this post.

JFolder::create: Could not create directory // 4 years 6 months ago #41954

  • tessa
  • tessa's Avatar
  • OFFLINE
  • Posts: 4074
  • Thank you received: 144
Hi andres,

In the future, could you please move this question into the joomla section of forum? =]

What is your folder permissions set to?
Warm Regards,

Tessa Mero



Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining
Please become a member of
OSTraining to reply to this post.

JFolder::create: Could not create directory // 4 years 6 months ago #42052

  • Nick
  • Nick's Avatar
  • OFFLINE
  • Posts: 23624
  • Thank you received: 694
Hi Andres,

It's either a folder/file permissions issue, a folder/file ownership issue, or a temp folder issue. Give this tutorial a try:
www.ostraining.com/blog/joomla/how-to-ch...nd-file-permissions/

Also, go Site >> Global configuration >> server tab >> change the tmp folder to just "tmp".

Let us know if those things work for you or not.

Kind regards,
Nick
Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining
Please become a member of
OSTraining to reply to this post.

JFolder::create: Could not create directory // 4 years 6 months ago #42168

  • edandrea
  • edandrea's Avatar
  • OFFLINE
  • Posts: 3086
  • Thank you received: 7
Hi Andres,

Quick fix. Install Akeeba Admin tools.
www.akeebabackup.com/download/official/admintools.html
after installing it, run Fix Permissions.

When you upload an extension, Joomla creates a temporary copy in tmp directory. Then it moves it to where it should be. So if it can't find it or isn't allowed to copy from it, you get the error message.

Conditions that have to be met.
1. There must actually be a tmp folder
2. The path to the tmp folder must be correct in Global Configuration. (see screenshot for where to find this in Global Configuration)
3. The tmp folder must be readable and write-able. Permissions set to 755 at least.

Here are some other references that will be helpful if the quick fix doesn't work for you

www.ostraining.com/blog/joomla/guided-to...nfigurationphp-file/
www.ostraining.com/blog/joomla/installation-problems/
Please become a member of
OSTraining to reply to this post.

JFolder::create: Could not create directory // 4 years 6 months ago #42176

Thanks.
Tessa, Ok, I will put my questions in Joomla Forum.
Nick your solution worked.
Ed, I downloaded the akeeba, I will read the instructions before to install it.
Please become a member of
OSTraining to reply to this post.

JFolder::create: Could not create directory // 4 years 6 months ago #42243

  • Nick
  • Nick's Avatar
  • OFFLINE
  • Posts: 23624
  • Thank you received: 694
You're welcome, Andres! We're glad we could be of help!

Kind regards,
Nick
Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining
Please become a member of
OSTraining to reply to this post.
You can build great websites. We can help! You will get expert support and over 3,000 videos! Start a free trial!