Start Online Training

Get access to all our video classes and support. That's 1818 training sessions in Joomla, Drupal, WordPress, Coding and SEO.
Prices start only at only 25 USD per month

Testimonials

Testimonials OSTrainingyou guys at OSTraining are sooo cool. I'm learning - finally!"

~ Nance

 

Start a FREE 7 day trial! Get training videos and books, plus expert support:  

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

JFolder::create: Could not create directory // 2 years 4 weeks 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 // 2 years 4 weeks ago #41954

  • tessa
  • tessa's Avatar
  • OFFLINE
  • Posts: 4073
  • 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 // 2 years 3 weeks ago #42052

  • Nick
  • Nick's Avatar
  • OFFLINE
  • Posts: 19347
  • Thank you received: 528
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 // 2 years 3 weeks ago #42168

  • edandrea
  • edandrea's Avatar
  • OFFLINE
  • Posts: 3094
  • 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 // 2 years 3 weeks 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 // 2 years 3 weeks ago #42243

  • Nick
  • Nick's Avatar
  • OFFLINE
  • Posts: 19347
  • Thank you received: 528
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.

 

Start a FREE 7 day trial! Get training videos and books, plus expert support: