Failed to create directory
Moderator: General Support Moderators
Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
- dennism
- Joomla! Enthusiast
- Posts: 179
- Joined: Tue Apr 11, 2006 2:01 pm
- Location: Denmark
- Contact:
Failed to create directory
I've a Joomla installation on my website hosted by one.com.
When I try to install a compoent I get this error:
Failed to create directory "/path/to/joomla/components/com_jce/"
In "install new component" I see:
media/ Writeable
administrator/components/ Writeable
components/ Writeable
images/stories/ Writeable
Why can the Joomla-installer not create this directory?
When I try to install a compoent I get this error:
Failed to create directory "/path/to/joomla/components/com_jce/"
In "install new component" I see:
media/ Writeable
administrator/components/ Writeable
components/ Writeable
images/stories/ Writeable
Why can the Joomla-installer not create this directory?
- jpaolini
- Joomla! Enthusiast
- Posts: 216
- Joined: Wed Jul 18, 2007 5:14 pm
- Location: USA
Re: Failed to create directory
If you're actually trying to create the directory "/path/to/joomla/components/com_jce/" that's not going to work. :P
Sounds like you need to spend some time and edit your configuration.php file and point the variables there in the correct folders on your server.
Specifically:
$mosConfig_absolute_path
$mosConfig_live_site
$mosConfig_cachepath
Sounds like you need to spend some time and edit your configuration.php file and point the variables there in the correct folders on your server.
Specifically:
$mosConfig_absolute_path
$mosConfig_live_site
$mosConfig_cachepath
Joe
- dennism
- Joomla! Enthusiast
- Posts: 179
- Joined: Tue Apr 11, 2006 2:01 pm
- Location: Denmark
- Contact:
Re: Failed to create directory
Do you think there are a problem in my configuration.php?
Yet I have this values:
$mosConfig_absolute_path = '/customers/demaweb.dk/demaweb.dk/httpd.www/ideal-logistic';
$mosConfig_live_site = 'http://ideal-logistic.demaweb.dk';
$mosConfig_cachepath = '/customers/demaweb.dk/demaweb.dk/httpd.www/ideal-logistic/cache';
Are there any problem here?
Yet I have this values:
$mosConfig_absolute_path = '/customers/demaweb.dk/demaweb.dk/httpd.www/ideal-logistic';
$mosConfig_live_site = 'http://ideal-logistic.demaweb.dk';
$mosConfig_cachepath = '/customers/demaweb.dk/demaweb.dk/httpd.www/ideal-logistic/cache';
Are there any problem here?
- leolam
- Joomla! Master
- Posts: 20652
- Joined: Mon Aug 29, 2005 10:17 am
- Location: Netherlands/ Germany/ S'pore/Bogor/ North America
- Contact:
Re: Failed to create directory
safe mode on?
/temp writable?
check in admin > system > php and in permissions
/temp writable?
check in admin > system > php and in permissions
Joomla's #1 Professional Services Provider:
#Joomla Professional Support: https://gws-desk.com -
#Joomla Specialized Hosting Solutions: https://gws-host.com -
#Joomla Professional Support: https://gws-desk.com -
#Joomla Specialized Hosting Solutions: https://gws-host.com -
- dennism
- Joomla! Enthusiast
- Posts: 179
- Joined: Tue Apr 11, 2006 2:01 pm
- Location: Denmark
- Contact:
Re: Failed to create directory
Safe mode on and "Session Directory /tmp/" are unwriteable.leolam wrote: safe mode on?
/temp writable?
check in admin > system > php and in permissions
Do you think I can change this on one.coms server?
Last edited by dennism on Wed Nov 21, 2007 10:26 am, edited 1 time in total.
- leolam
- Joomla! Master
- Posts: 20652
- Joined: Mon Aug 29, 2005 10:17 am
- Location: Netherlands/ Germany/ S'pore/Bogor/ North America
- Contact:
Re: Failed to create directory
that one again? yes sir Joomla does not work with safe mode... which is an overprotective host who does not know how to create a safe server environment. see this post: http://forum.joomla.org/index.php/topic,6856.0.html
and no thats a server setting and only if you have a dedicated server you can switch this off becaseu than you can arange settings. Your host wont for sure!
cheers
Leo
and no thats a server setting and only if you have a dedicated server you can switch this off becaseu than you can arange settings. Your host wont for sure!
cheers
Leo
Joomla's #1 Professional Services Provider:
#Joomla Professional Support: https://gws-desk.com -
#Joomla Specialized Hosting Solutions: https://gws-host.com -
#Joomla Professional Support: https://gws-desk.com -
#Joomla Specialized Hosting Solutions: https://gws-host.com -
-
- Joomla! Fledgling
- Posts: 1
- Joined: Mon Nov 26, 2007 6:05 pm
Re: Failed to create directory
In the administration panel, you can change PHP to PHP4 instead of PHP5.
I had the same problem. Switched php versions, reinstalled and everything is fine again. (I hope )
I had the same problem. Switched php versions, reinstalled and everything is fine again. (I hope )
-
- Joomla! Apprentice
- Posts: 7
- Joined: Wed Sep 06, 2006 7:34 am
Re: Failed to create directory
Which administration panel?Jovaro wrote: In the administration panel, you can change PHP to PHP4 instead of PHP5.
I had the same problem. Switched php versions, reinstalled and everything is fine again. (I hope )
I have the same problem, but my host does not allow manually changing php versions...
- leolam
- Joomla! Master
- Posts: 20652
- Joined: Mon Aug 29, 2005 10:17 am
- Location: Netherlands/ Germany/ S'pore/Bogor/ North America
- Contact:
Re: Failed to create directory
If your hosting provider offers dual PHP platform support it means they support both PHP4 and PHP5 alongside each other on the same server. This is extremely useful because it means you can run a PHP4 script in one directory and a PHP5 script in another directory of the same account. You can select on the fly the PHP build you wish to use. There is no need to host sites on different servers etc.mortendall wrote: I have the same problem, but my host does not allow manually changing php versions...
Some hosts have opted to make a full migration to PHP5 but ithis is an irresponsible thing to do as it results in many popular scripts breaking that are not PHP5 compatible.
There are two very simple ways you can take advantage of PHP5 support under your account if dual platform is supported -
* 1) Simply name the script you wish to execute using PHP5 .php5 instead of .php. That's all you need to do.
* 2) Alternatively, if you would like scripts named .php to execute using PHP5 instead of PHP4 then simply drop the following contents into a .htaccess file within the directory containing the PHP5 script -
Code: Select all
AddHandler application/x-httpd-php5 .php
The .htaccess file needs to be located in your public_html/www folder
also see this link: http://forum.joomla.org/index.php/topic,100045.0.html
cheers
Leo
Last edited by leolam on Tue Nov 27, 2007 7:02 am, edited 1 time in total.
Joomla's #1 Professional Services Provider:
#Joomla Professional Support: https://gws-desk.com -
#Joomla Specialized Hosting Solutions: https://gws-host.com -
#Joomla Professional Support: https://gws-desk.com -
#Joomla Specialized Hosting Solutions: https://gws-host.com -
-
- Joomla! Apprentice
- Posts: 7
- Joined: Wed Sep 06, 2006 7:34 am
Re: Failed to create directory
Thank you for the thorough reply. Unfortunately my host (unoeuro) does not support dual platform, so I've had to resort to simply moving the site to another server...leolam wrote:If your hosting provider offers dual PHP platform support it means they support both PHP4 and PHP5 alongside each other on the same server. This is extremely useful because it means you can run a PHP4 script in one directory and a PHP5 script in another directory of the same account. You can select on the fly the PHP build you wish to use. There is no need to host sites on different servers etc.mortendall wrote: I have the same problem, but my host does not allow manually changing php versions...
Some hosts have opted to make a full migration to PHP5 but ithis is an irresponsible thing to do as it results in many popular scripts breaking that are not PHP5 compatible.
There are two very simple ways you can take advantage of PHP5 support under your account if dual platform is supported -
* 1) Simply name the script you wish to execute using PHP5 .php5 instead of .php. That's all you need to do.
* 2) Alternatively, if you would like scripts named .php to execute using PHP5 instead of PHP4 then simply drop the following contents into a .htaccess file within the directory containing the PHP5 script -By default all scripts named .php or .php4 will execute using PHP4 unless you are using the above .htaccess directive and scripts named .php5 will execute using PHP5.Code: Select all
AddHandler application/x-httpd-php5 .php
The .htaccess file needs to be located in your public_html/www folder
also see this link: http://forum.joomla.org/index.php/topic,100045.0.html
cheers
Leo
-
- Joomla! Fledgling
- Posts: 1
- Joined: Tue Nov 03, 2009 8:03 pm
Re: Failed to create directory
So after many days of reading forums and change permissions on a new installation of Joomla 1.5, I finally found a way to make Joomal install a new modules.
While trying to install this new module, I would get all shorts of errors that seemed like file permission problems. Cant create directory, cant move file, etc..... The errors all seemed to indicate file permission problems.
I tried increasing the memory, I changed all of the permission for all files and directories to 777, and added some sec off thangy to my htaccess (Ok I cant remember what it was) I changed owners ..... Change my configuration.php file etc ..... The list goes on.....
Finally a tech at my ISP (xmission give some credit were its due) moved my hosting from a PHP4 server to a PHP5 server. And then we changed the permissions on my /public_html/sitename/tmp dir to 700.
This finally fixed it all.
I dont know if this will work for some of you out there, but it was the ticket for me.
Good luck
While trying to install this new module, I would get all shorts of errors that seemed like file permission problems. Cant create directory, cant move file, etc..... The errors all seemed to indicate file permission problems.
I tried increasing the memory, I changed all of the permission for all files and directories to 777, and added some sec off thangy to my htaccess (Ok I cant remember what it was) I changed owners ..... Change my configuration.php file etc ..... The list goes on.....
Finally a tech at my ISP (xmission give some credit were its due) moved my hosting from a PHP4 server to a PHP5 server. And then we changed the permissions on my /public_html/sitename/tmp dir to 700.
This finally fixed it all.
I dont know if this will work for some of you out there, but it was the ticket for me.
Good luck
-
- Joomla! Fledgling
- Posts: 2
- Joined: Sun Feb 22, 2009 10:02 pm
Re: Failed to create directory
Tks guys, had the same problem, this thread helped
My issue turned out to be just permission related....
My issue turned out to be just permission related....
-
- Joomla! Apprentice
- Posts: 17
- Joined: Sat Jul 02, 2011 2:55 pm
Re: Failed to create directory
Hi, just opening up this thread again, because I have this problem.'
I have tried changing the rights, and I have verified that the server has PHP5
what else can I try?
error message is:
JFolder::create: Path not in open_basedir paths
Template Install: Failed to create directory: /var/www/html/websites/304/htdocs/IR/templates/a4joomla-simplex
I have tried changing the rights, and I have verified that the server has PHP5
what else can I try?
error message is:
JFolder::create: Path not in open_basedir paths
Template Install: Failed to create directory: /var/www/html/websites/304/htdocs/IR/templates/a4joomla-simplex
- beededea
- Joomla! Hero
- Posts: 2809
- Joined: Wed Oct 31, 2007 3:48 pm
- Location: Victorian England 1885
Re: Failed to create directory
Which version of Joomla?
Yereverluvinunclebert
Steampunk widgets. Platforms of choice: Joomla 1.0/1.5, Joostina 1.2, OSCommerce
Site aims: Optimisation, Security and Solidity
http://widgets.yahoo.com/widgets/steamp ... k-calendar
Steampunk widgets. Platforms of choice: Joomla 1.0/1.5, Joostina 1.2, OSCommerce
Site aims: Optimisation, Security and Solidity
http://widgets.yahoo.com/widgets/steamp ... k-calendar
-
- Joomla! Apprentice
- Posts: 17
- Joined: Sat Jul 02, 2011 2:55 pm
Re: Failed to create directory
Joomla 1.6
I have had some time to do some trial and error testing to help with the problem.
but I am currently talking to the webhost about the problem. Their Senior SysOp is on it at this very moment.
so what happens is :
option 1
normal upload package : There was an error uploading this file to the server.
option 2
ftp upload install from dir:
JFolder::create: Path not in open_basedir paths
Template Install: Failed to create directory: /var/www/html/websites/304/htdocs/IR/templates/a4joomla-simplex
Error installing template
Option 3
from url:
JFolder::create: Path not in open_basedir paths
Unable to create destination
so on the host side they are investigating is there might be a port that Joomla uses that is not open in the firewall, however I don't believe that's the issue.
You have any ideas?
I have had some time to do some trial and error testing to help with the problem.
but I am currently talking to the webhost about the problem. Their Senior SysOp is on it at this very moment.
so what happens is :
option 1
normal upload package : There was an error uploading this file to the server.
option 2
ftp upload install from dir:
JFolder::create: Path not in open_basedir paths
Template Install: Failed to create directory: /var/www/html/websites/304/htdocs/IR/templates/a4joomla-simplex
Error installing template
Option 3
from url:
JFolder::create: Path not in open_basedir paths
Unable to create destination
so on the host side they are investigating is there might be a port that Joomla uses that is not open in the firewall, however I don't believe that's the issue.
You have any ideas?
- beededea
- Joomla! Hero
- Posts: 2809
- Joined: Wed Oct 31, 2007 3:48 pm
- Location: Victorian England 1885
Re: Failed to create directory
Timius, If you have a problem in J1.6 then you need to open it in the appropriate area of this forum. This is the Joomla 1.0.15 area so you'll get someone like me trying to help who knows nothing about Joomla 1.6. Probably best to look for and post in the Joomla 1.6 area in future, good luck!
Yereverluvinunclebert
Steampunk widgets. Platforms of choice: Joomla 1.0/1.5, Joostina 1.2, OSCommerce
Site aims: Optimisation, Security and Solidity
http://widgets.yahoo.com/widgets/steamp ... k-calendar
Steampunk widgets. Platforms of choice: Joomla 1.0/1.5, Joostina 1.2, OSCommerce
Site aims: Optimisation, Security and Solidity
http://widgets.yahoo.com/widgets/steamp ... k-calendar
-
- Joomla! Apprentice
- Posts: 17
- Joined: Sat Jul 02, 2011 2:55 pm
Re: Failed to create directory
I did, and I posted here also because the error seems to be the same.
http://forum.joomla.org/viewtopic.php?f=615&t=632798
please go there and help me if you know anything that might be useful.
http://forum.joomla.org/viewtopic.php?f=615&t=632798
please go there and help me if you know anything that might be useful.
- beededea
- Joomla! Hero
- Posts: 2809
- Joined: Wed Oct 31, 2007 3:48 pm
- Location: Victorian England 1885
Re: Failed to create directory
You should not double post, it is against forum rules. I won't be able to help, as I said I only answer Joomla 1.0 or 1.5 questions. Post in the right section to get help.
Yereverluvinunclebert
Steampunk widgets. Platforms of choice: Joomla 1.0/1.5, Joostina 1.2, OSCommerce
Site aims: Optimisation, Security and Solidity
http://widgets.yahoo.com/widgets/steamp ... k-calendar
Steampunk widgets. Platforms of choice: Joomla 1.0/1.5, Joostina 1.2, OSCommerce
Site aims: Optimisation, Security and Solidity
http://widgets.yahoo.com/widgets/steamp ... k-calendar