Log Directory ($log_path) ./logs/ Unwritable
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.
-
- Joomla! Fledgling
- Posts: 1
- Joined: Mon Jul 20, 2009 12:45 am
Log Directory ($log_path) ./logs/ Unwritable
Hi all,
I am new to joomla social. when i am installing joomla, i cheked whether the required folders are wirtable or not. The two below folders are unwritable.
when i saw in the godaddy hosting account, it showing as writable.
Log Directory ($log_path) ./logs/ Unwritable
Temp Directory ($tmp_path) ./tmp/ Unwritable
Please telll me how can i make them writable.
I am making the installation is a new subfolder of my hosting account.
I am beginner. Please expalin in a lucid manner
than you.
Ajay.
I am new to joomla social. when i am installing joomla, i cheked whether the required folders are wirtable or not. The two below folders are unwritable.
when i saw in the godaddy hosting account, it showing as writable.
Log Directory ($log_path) ./logs/ Unwritable
Temp Directory ($tmp_path) ./tmp/ Unwritable
Please telll me how can i make them writable.
I am making the installation is a new subfolder of my hosting account.
I am beginner. Please expalin in a lucid manner
than you.
Ajay.
Last edited by humvee on Sun Jan 24, 2010 3:40 pm, edited 1 time in total.
Reason: marked as resolved
Reason: marked as resolved
-
- Joomla! Explorer
- Posts: 443
- Joined: Fri Jul 03, 2009 5:38 pm
Re: Log Directory ($log_path) ./logs/ Unwritable
In configuration.php, the directories aren't defined correctly. You need to update the paths for Log and Temp to point to the correct location.
SSH to the server, and browse to the logs directory. Type pwd. Copy and paste this path to configuration.php. Do the same for tmp.
SSH to the server, and browse to the logs directory. Type pwd. Copy and paste this path to configuration.php. Do the same for tmp.
-
- Joomla! Apprentice
- Posts: 12
- Joined: Fri Jul 10, 2009 2:51 pm
- Location: Hannover
Re: Log Directory ($log_path) ./logs/ Unwritable
Thank you, but what is SSH and where is the right logs directory?SSH to the server, and browse to the logs directory. Type pwd. Copy and paste this path to configuration.php. Do the same for tmp.
-
- Joomla! Fledgling
- Posts: 3
- Joined: Sun Nov 30, 2008 7:20 pm
Re: Log Directory ($log_path) ./logs/ Unwritable
Hello i recently had the same problem, but found the trick!
Log Directory ($log_path) ./logs/ Unwritable
Temp Directory ($tmp_path) ./tmp/ Unwritable
The right directory path has to be:
Log Directory ($log_path) ../logs/
Log Directory ($log_path) ../tmp/
This works on Surftown webhost in Denmark, but don't know
if this has any relation to the host anyway?
This might work for others - hopefully!
Regards
Jakob Daugaard
Log Directory ($log_path) ./logs/ Unwritable
Temp Directory ($tmp_path) ./tmp/ Unwritable
The right directory path has to be:
Log Directory ($log_path) ../logs/
Log Directory ($log_path) ../tmp/
This works on Surftown webhost in Denmark, but don't know
if this has any relation to the host anyway?
This might work for others - hopefully!
Regards
Jakob Daugaard
-
- Joomla! Fledgling
- Posts: 3
- Joined: Fri Jul 24, 2009 2:46 am
Re: Log Directory ($log_path) ./logs/ Unwritable
Thank YOU... I had to change tmp to ../tmp and finally got AdsManager installed! Great clue! My 'log_path' does still not seem to be writable though. Something must be right since the 'JFTP::mkdir: Bad response' went away and package was installed.
Thing I couldn't understand is that before the change I noticed that the .zip files were being copied to '/tmp' directory on my server by checking in FileZilla-my root is '/' but I simply couldn't understand why the upload went part went okay but not getting any further than that. I presumed that if the process would start correctly it should end so too-wrong assumption. I had been looking here: http://forum.joomla.org/viewtopic.php?f ... n&start=30 but found nothing to help-just indications that file permissions are not correctly set
Installation, 1.5.14 - just upgraded yesterday from 1.5.8
Running from http://www.mydomain.org - (joomla not installed in subfolder)
Again, thank you agurk!
Thing I couldn't understand is that before the change I noticed that the .zip files were being copied to '/tmp' directory on my server by checking in FileZilla-my root is '/' but I simply couldn't understand why the upload went part went okay but not getting any further than that. I presumed that if the process would start correctly it should end so too-wrong assumption. I had been looking here: http://forum.joomla.org/viewtopic.php?f ... n&start=30 but found nothing to help-just indications that file permissions are not correctly set
Installation, 1.5.14 - just upgraded yesterday from 1.5.8
Running from http://www.mydomain.org - (joomla not installed in subfolder)
Again, thank you agurk!
-
- Joomla! Apprentice
- Posts: 5
- Joined: Mon Dec 28, 2009 4:22 am
Re: Log Directory ($log_path) ./logs/ Unwritable
agurk wrote:Hello i recently had the same problem, but found the trick!
Log Directory ($log_path) ./logs/ Unwritable
Temp Directory ($tmp_path) ./tmp/ Unwritable
The right directory path has to be:
Log Directory ($log_path) ../logs/
Log Directory ($log_path) ../tmp/
This works on Surftown webhost in Denmark, but don't know
if this has any relation to the host anyway?
This might work for others - hopefully!
Regards
Jakob Daugaard
oooooww..great my friend it works.....just after I did this changed it didn't work. but with that I changed all "Directory permissions" into "writable" mode. And then checked but it didn't work (but plugins could be uploaded and couldn't install.). After that I enabled all the plugins in plugin manager. But it didn't work (gave me an error message "unable to find the directory" like that). So I gave up trying that and just after a day (it means today) I tried agai to install a plugin...believe me or not....it works....it works...I don't know how...but it works. I thing it takes little bit time. And your advice is the best my friend. I think my site works bcos of your advice. Thanks again
-
- Joomla! Apprentice
- Posts: 12
- Joined: Wed Dec 23, 2009 8:56 pm
Re: Log Directory ($log_path) ./logs/ Unwritable
That solution worked perfect for what i needed. Thanks!Hello i recently had the same problem, but found the trick!
Log Directory ($log_path) ./logs/ Unwritable
Temp Directory ($tmp_path) ./tmp/ Unwritable
The right directory path has to be:
Log Directory ($log_path) ../logs/
Log Directory ($log_path) ../tmp/
This works on Surftown webhost in Denmark, but don't know
if this has any relation to the host anyway?
This might work for others - hopefully!
Regards
Jakob Daugaard
Ethan
-
- Joomla! Fledgling
- Posts: 2
- Joined: Tue Mar 09, 2010 3:45 pm
Re: Log Directory ($log_path) ./logs/ Unwritable
Hello,
Wanted to hop in and say that I had the same problem, i.e. the tmp dir was unwritable despite having changed the permissions on it. Using the above consideration as a solution, I finally found text at the host's site that told the proper paths to put for logs and tmp (UGH!) The person who originally installed this either did not have those paths correct OR something changed after that installation.
So the correction to the configuration.php, in my case, was:
From this:
var $log_path = '/domains/thedomain.com/html/logs';
var $tmp_path = '/domains/thedomain.com/html/tmp';
To this (where ##### was the person's site number):
var $log_path = '/home/#####/domains/thedomain.com/html/logs';
var $tmp_path = '/home/#####/domains/thedomain.com/html/tmp';
After having dealt with the above in the configuration.php, I was able to install a template for the first time, KALOO KALAY!
Tink
Wanted to hop in and say that I had the same problem, i.e. the tmp dir was unwritable despite having changed the permissions on it. Using the above consideration as a solution, I finally found text at the host's site that told the proper paths to put for logs and tmp (UGH!) The person who originally installed this either did not have those paths correct OR something changed after that installation.
So the correction to the configuration.php, in my case, was:
From this:
var $log_path = '/domains/thedomain.com/html/logs';
var $tmp_path = '/domains/thedomain.com/html/tmp';
To this (where ##### was the person's site number):
var $log_path = '/home/#####/domains/thedomain.com/html/logs';
var $tmp_path = '/home/#####/domains/thedomain.com/html/tmp';
After having dealt with the above in the configuration.php, I was able to install a template for the first time, KALOO KALAY!
Tink
-
- Joomla! Fledgling
- Posts: 4
- Joined: Tue Oct 12, 2010 12:10 am
Re: Log Directory ($log_path) ./logs/ Unwritable
Hello, I have the same problem. Everything seems writable except tmp_path, I´ll tell you what I did and hopefully someone can help me to fix it. I´m working in this website using parallels plesk, I have never use it, I installed joomla manually ftp, but I had to create my sql "mywebsite_", I had to change the files directly to httpsdocs for visualise the website. Everything seems to work, but I cant install anything using the extensions installation directly in joomla. Thank you.
- DullJohnny
- Joomla! Apprentice
- Posts: 8
- Joined: Mon Nov 29, 2010 6:34 am
Re: Log Directory ($log_path) ./logs/ Unwritable
Damn! That worked...
Thanks!
Thanks!
-
- Joomla! Apprentice
- Posts: 13
- Joined: Sun Jan 21, 2007 3:19 am
Re: Log Directory ($log_path) ./logs/ Unwritable
im in 1.6 and i can upload a template but it is incomplete. ive changed my temp and logs to this public $tmp_path = './tmp';
public $log_path = './logs';
but my logs directory still is unwritable.
my temp is writable just not my logs. Any help would save my sanity lol thank you
public $log_path = './logs';
but my logs directory still is unwritable.
my temp is writable just not my logs. Any help would save my sanity lol thank you
- dpacadmin
- Joomla! Champion
- Posts: 6029
- Joined: Sat Aug 16, 2008 1:46 pm
- Location: the Bat Cave
- Contact:
Re: Log Directory ($log_path) ./logs/ Unwritable
Upload this file to your Joomla tmp folder;
http://www.yourdomain.com/tmp/path.php
The path it displays is the absolute path to your tmp folder, you can change tmp in the path to logs for the absolute path to your logs folder. Up date your configuration.php file with the correct paths.
Open the path.php file in your browserhttp://www.yourdomain.com/tmp/path.php
The path it displays is the absolute path to your tmp folder, you can change tmp in the path to logs for the absolute path to your logs folder. Up date your configuration.php file with the correct paths.
You do not have the required permissions to view the files attached to this post.
- leolam
- Joomla! Master
- Posts: 20652
- Joined: Mon Aug 29, 2005 10:17 am
- Location: Netherlands/ Germany/ S'pore/Bogor/ North America
- Contact:
Re: Log Directory ($log_path) ./logs/ Unwritable
no! Your directory and file settings should always beOwenwood wrote:shall we change directory setting back to unwritable after installation!
folders: 755
files: 644
Never change that to '777' just make sure you follow this directive!
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! Apprentice
- Posts: 23
- Joined: Thu Oct 25, 2007 6:23 pm
- Location: London UK
- Contact:
Re: Log Directory ($log_path) ./logs/ Unwritable
saved me thanks!
now hopefully virtuemart will install!
fingers crossed!
now hopefully virtuemart will install!
fingers crossed!
-
- Joomla! Apprentice
- Posts: 32
- Joined: Mon May 05, 2008 3:42 am
Re: Log Directory ($log_path) ./logs/ Unwritable
I'm having the same issue with joomla 2.5, when trying to install extensions. I get the error "Warning: Failed to move file!". This only started happening after I moved the site to the live directory. The solutions mentioned above are not working for me. I would appreciate the help. I'm feeling desperate at this point as I've tried several things over several days, including upgrading my hosting.
Here's my info:
From Configuration.php
public $tmp_path = './tmp ';
public $log_path = './logs';
*when I changed it to reflect $log_path on both lines the site would not come up and I got a configuration error on the front end.
PHP Settings
PHP Version 5.3.14
Web Server Apache
WebServer to PHP Interface cgi-fcgi
Directory Permissions
All files are writeable except temp file. I just posted the log and temp only below. The config file is writeable, the permissions were 604, but I changed them to 644. Either way it doesn't make a difference for the error message.
./logs (Log directory) Writable
./tmp (Temp directory) Unwritable
Thanks,
Akanke
Here's my info:
From Configuration.php
public $tmp_path = './tmp ';
public $log_path = './logs';
*when I changed it to reflect $log_path on both lines the site would not come up and I got a configuration error on the front end.
PHP Settings
PHP Version 5.3.14
Web Server Apache
WebServer to PHP Interface cgi-fcgi
Directory Permissions
All files are writeable except temp file. I just posted the log and temp only below. The config file is writeable, the permissions were 604, but I changed them to 644. Either way it doesn't make a difference for the error message.
./logs (Log directory) Writable
./tmp (Temp directory) Unwritable
Thanks,
Akanke
- dpacadmin
- Joomla! Champion
- Posts: 6029
- Joined: Sat Aug 16, 2008 1:46 pm
- Location: the Bat Cave
- Contact:
Re: Log Directory ($log_path) ./logs/ Unwritable
Follow these instructions posted earlier to this thread to find the correct path for your tmp folder.dpacadmin wrote:Upload this file to your Joomla tmp folder;Open the path.php file in your browser
http://www.yourdomain.com/tmp/path.php
The path it displays is the absolute path to your tmp folder, you can change tmp in the path to logs for the absolute path to your logs folder. Up date your configuration.php file with the correct paths.
You do not have the required permissions to view the files attached to this post.
-
- Joomla! Apprentice
- Posts: 5
- Joined: Wed Dec 05, 2012 12:54 am
Re: Log Directory ($log_path) ./logs/ Unwritable
I had this same issue, and dpacadmin's advice worked perfect. Thank you.
-
- Joomla! Intern
- Posts: 66
- Joined: Mon Oct 08, 2012 5:54 am
Re: Log Directory ($log_path) ./logs/ Unwritable
Thank you so muchagurk wrote:Hello i recently had the same problem, but found the trick!
Log Directory ($log_path) ./logs/ Unwritable
Temp Directory ($tmp_path) ./tmp/ Unwritable
The right directory path has to be:
Log Directory ($log_path) ../logs/
Log Directory ($log_path) ../tmp/
This works on Surftown webhost in Denmark, but don't know
if this has any relation to the host anyway?
This might work for others - hopefully!
Regards
Jakob Daugaard
-
- Joomla! Fledgling
- Posts: 2
- Joined: Sun Dec 16, 2012 6:01 am
Re: Log Directory ($log_path) ./logs/ Unwritable
Hi,
Same issue - Unwriteable tmp and logs files, so can't upload an extension - commercial server.
1) I changed the permissions to Writeable in the CPanel but they didn't change in the directory permissions - remained Unwriteable.
2) I tried dpacadmins solution above but got an Internal server error 500 - so didn't get the file pathway.
3) I've checked the config file and the pathways match.
here's one pathway from directory permissions...
/var/www/vhosts/httpdocs/logs (Log directory) Unwritable
Any ideas? Do I need the domain name somewhere in the pathway??
regards
Tony
Same issue - Unwriteable tmp and logs files, so can't upload an extension - commercial server.
1) I changed the permissions to Writeable in the CPanel but they didn't change in the directory permissions - remained Unwriteable.
2) I tried dpacadmins solution above but got an Internal server error 500 - so didn't get the file pathway.
3) I've checked the config file and the pathways match.
here's one pathway from directory permissions...
/var/www/vhosts/httpdocs/logs (Log directory) Unwritable
Any ideas? Do I need the domain name somewhere in the pathway??
regards
Tony
- dpacadmin
- Joomla! Champion
- Posts: 6029
- Joined: Sat Aug 16, 2008 1:46 pm
- Location: the Bat Cave
- Contact:
Re: Log Directory ($log_path) ./logs/ Unwritable
Sometimes there is an issue with a "logs" folder that the Host installs on your site. They set the permissions on it and you can not change them. Try creating a logs folder in its own folder;
/var/www/vhosts/httpdocs/mine/logs
Then set the path to your logs folder with the correct permissions.
If you had an issue with my path file it could be that you tried it in the logs folder, try the tmp folder instead to get the full path, then use that path( minus the tmp folder) for your logs folder adding the folder you put it in.
For example, say you get;
var/www/vhost/domainname/tmp
you would change that to;
var/www/vhost/domainname/mine/logs
/var/www/vhosts/httpdocs/mine/logs
Then set the path to your logs folder with the correct permissions.
If you had an issue with my path file it could be that you tried it in the logs folder, try the tmp folder instead to get the full path, then use that path( minus the tmp folder) for your logs folder adding the folder you put it in.
For example, say you get;
var/www/vhost/domainname/tmp
you would change that to;
var/www/vhost/domainname/mine/logs
-
- Joomla! Fledgling
- Posts: 2
- Joined: Sun Dec 16, 2012 6:01 am
Re: Log Directory ($log_path) ./logs/ Unwritable
Thanks for the reply dpac.
I was able to get the pathway this way (might help someone else)See instructions below...
also once I got the correct pathway was able to change the permissions by R) click on the file on the server and edit permissions so the folders are now writeable.
1. Create a file named mynewtmp.php with the following contents:
<?php echo dirname(__FILE__).'/tmp';
2. Upload the file to your site and access it as http://www.example.com/mynewtmp.php where www.example.com is
the domain name to your site.
3. Write down what you see on the screen. That's your new temporary directory path.
Introduction and installation
4. Remove the mynewtmp.php file from your site.
5. Go to your site's administrator back-end and click on Site, Global Configuration menu item from the top menu.
6. Click on the Server link
7. Find the "Path to Temp-folder" and replace its contents with the new temp path from step #3.
8. Save your Global Configuration
I was able to get the pathway this way (might help someone else)See instructions below...
also once I got the correct pathway was able to change the permissions by R) click on the file on the server and edit permissions so the folders are now writeable.
1. Create a file named mynewtmp.php with the following contents:
<?php echo dirname(__FILE__).'/tmp';
2. Upload the file to your site and access it as http://www.example.com/mynewtmp.php where www.example.com is
the domain name to your site.
3. Write down what you see on the screen. That's your new temporary directory path.
Introduction and installation
4. Remove the mynewtmp.php file from your site.
5. Go to your site's administrator back-end and click on Site, Global Configuration menu item from the top menu.
6. Click on the Server link
7. Find the "Path to Temp-folder" and replace its contents with the new temp path from step #3.
8. Save your Global Configuration
-
- Joomla! Fledgling
- Posts: 4
- Joined: Sun Apr 08, 2012 8:09 pm
Re: Log Directory ($log_path) ./logs/ Unwritable
Great stuff - ../logs/ and ../tmp/ worked for me although I don't know how this issue happened. My paths were set as
/customers/trinityplayersbarnsley.com/trinityplayersbarnsley.com/httpd.www/logs
And the last entry to the logs folder seems to have been 6 days ago.
Anyway, fixed now - thanks
/customers/trinityplayersbarnsley.com/trinityplayersbarnsley.com/httpd.www/logs
And the last entry to the logs folder seems to have been 6 days ago.
Anyway, fixed now - thanks
-
- Joomla! Fledgling
- Posts: 2
- Joined: Fri Jan 19, 2007 6:17 pm
Re: Log Directory ($log_path) ./logs/ Unwritable
Thank you thank you thank all of yous !
I have spent several hours this weekend trying to make my install on a new server work, without any success until now, but jakob's advice just did the trick.
Incidently, I used to have a Joomla 2.5 working perfectly on the same server and this problem only appeared with a new 3.0.3 install.
I have spent several hours this weekend trying to make my install on a new server work, without any success until now, but jakob's advice just did the trick.
Incidently, I used to have a Joomla 2.5 working perfectly on the same server and this problem only appeared with a new 3.0.3 install.
-
- Joomla! Apprentice
- Posts: 17
- Joined: Thu Jan 18, 2007 12:12 pm
Re: Log Directory ($log_path) ./logs/ Unwritable
Thank you! That worked for me on a local server where my path wasdpacadmin wrote:Upload this file to your Joomla tmp folder;Open the path.php file in your browser
http://www.yourdomain.com/tmp/path.php
The path it displays is the absolute path to your tmp folder, you can change tmp in the path to logs for the absolute path to your logs folder. Up date your configuration.php file with the correct paths.
public $log_path = 'C:\OpenServer\domains\cc\logs';
-
- Joomla! Fledgling
- Posts: 1
- Joined: Fri Jul 19, 2013 6:04 pm
Re: Log Directory ($log_path) ./logs/ Unwritable
this worked for me, thanks!dpacadmin wrote:Upload this file to your Joomla tmp folder;Open the path.php file in your browser
http://www.yourdomain.com/tmp/path.php
The path it displays is the absolute path to your tmp folder, you can change tmp in the path to logs for the absolute path to your logs folder. Up date your configuration.php file with the correct paths.
-
- Joomla! Apprentice
- Posts: 5
- Joined: Sun Jul 28, 2013 7:25 am
Re: Log Directory ($log_path) ./logs/ Unwritable
Please hepl I cant find log path, when i type http://www.yourdomain.com/tmp/path.php i get 404 error The requested URL /tmp/path.php was not found on this server.Freaker155 wrote:this worked for me, thanks!dpacadmin wrote:Upload this file to your Joomla tmp folder;Open the path.php file in your browser
http://www.yourdomain.com/tmp/path.php
The path it displays is the absolute path to your tmp folder, you can change tmp in the path to logs for the absolute path to your logs folder. Up date your configuration.php file with the correct paths.
- dpacadmin
- Joomla! Champion
- Posts: 6029
- Joined: Sat Aug 16, 2008 1:46 pm
- Location: the Bat Cave
- Contact:
Re: Log Directory ($log_path) ./logs/ Unwritable
Replace "yourdomain.com" in the url with your site's domain name. Also be sure the path.php file is in your Joomla site's tmp folder.
- senukexvn
- Joomla! Apprentice
- Posts: 46
- Joined: Wed Sep 26, 2012 4:26 am
- Contact:
Re: Log Directory ($log_path) ./logs/ Unwritable
I changes to:agurk wrote: Log Directory ($log_path) ../logs/
Log Directory ($log_path) ../tmp/
public $log_path = '../logs';
public $tmp_path = '../tmp';
I use Joomla! 2.5.11
Its work perfectly.
-
- Joomla! Apprentice
- Posts: 13
- Joined: Thu Feb 26, 2009 4:05 pm
- Location: Lagos, Nigeria
- Contact:
Re: Log Directory ($log_path) ./logs/ Unwritable
Great work done... got it
Living life through the Web
-
- Joomla! Fledgling
- Posts: 4
- Joined: Thu Sep 28, 2006 6:27 pm
Re: Log Directory ($log_path) ./logs/ Unwritable
Wow, you're a ...king genius!!!! Thanks!!!