Sign Up for OSTraining

Welcome, Guest
Username: Password: Remember me

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

JFolder::create: Could not create directory // 1 year 1 month ago #41951

  • andres
  • andres's Avatar
  • OFFLINE
  • OSTarlet
  • Posts: 53
  • Karma: 0
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 // 1 year 1 month ago #41954

  • tessa
  • tessa's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3946
  • Thank you received: 134
  • Karma: 9
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 // 1 year 1 month ago #42052

  • Nick
  • Nick's Avatar
  • OFFLINE
  • Administrator
  • Posts: 16726
  • Thank you received: 371
  • Karma: 54
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 // 1 year 1 month ago #42168

  • edandrea
  • edandrea's Avatar
  • OFFLINE
  • OSTop Dog
  • Posts: 3106
  • Thank you received: 7
  • Karma: 0
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 // 1 year 1 month ago #42176

  • andres
  • andres's Avatar
  • OFFLINE
  • OSTarlet
  • Posts: 53
  • Karma: 0
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 // 1 year 1 month ago #42243

  • Nick
  • Nick's Avatar
  • OFFLINE
  • Administrator
  • Posts: 16726
  • Thank you received: 371
  • Karma: 54
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.

Sign Up for OSTraining

Powered by Kunena Forum

Open Source Training is not affiliated with or endorsed by the Joomla, WordPress or Drupal projects.
All product names and trademarks are the property of their respective owners.

Copyright 2013 Open Source Training, LLC. All rights reserved.