Advertisement
First time mambo'er (/tmp unwriteable)
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.
- xeta
- Joomla! Apprentice
- Posts: 19
- Joined: Tue Aug 23, 2005 11:50 am
First time mambo'er (/tmp unwriteable)
Hey guys,
Saw that the real brains behind mambo (and the whole darn community) moved here. So it seemed like the perfect time to try it out. I've searched countless forums and couldn't find my answer so, I thought I'de post. I'm pretty sure most of you have had this quesion a billion times but, here it is again.
During install, my Session save path /tmp, is unwriteable. I know this is due to my host locking out the /tmp directory for general use.
I've tried to use the .htaccess file included but have no idea how to redirect /tmp to a directory that I can write to. Any help would be appreciated.
Thanks again guys.
edit:
Using Mambo 4.5.2 on Unix host.
Saw that the real brains behind mambo (and the whole darn community) moved here. So it seemed like the perfect time to try it out. I've searched countless forums and couldn't find my answer so, I thought I'de post. I'm pretty sure most of you have had this quesion a billion times but, here it is again.
During install, my Session save path /tmp, is unwriteable. I know this is due to my host locking out the /tmp directory for general use.
I've tried to use the .htaccess file included but have no idea how to redirect /tmp to a directory that I can write to. Any help would be appreciated.
Thanks again guys.
edit:
Using Mambo 4.5.2 on Unix host.
Last edited by xeta on Tue Aug 23, 2005 12:58 pm, edited 1 time in total.
Advertisement
Re: First time mambo'er (/tmp unwriteable)
Hi,
You could try setting it to a different folder which you create yourself. For example in httpdocs/public_html (or other root folder name) you create your own folder called /tmp. chmod to 777.
Then create a .htaccess file for the root, and enter the following code:
This could be one of the solutions...
You could try setting it to a different folder which you create yourself. For example in httpdocs/public_html (or other root folder name) you create your own folder called /tmp. chmod to 777.
Then create a .htaccess file for the root, and enter the following code:
Code: Select all
session.save_path= "your/full/path/to root/tmp"
- xeta
- Joomla! Apprentice
- Posts: 19
- Joined: Tue Aug 23, 2005 11:50 am
Re: First time mambo'er (/tmp unwriteable)
Thanks for the quick reply. Didn't seem to work, still showed /tmp as unwriteable.
(I created a folder in the mambo directory called tmp with 777 permissions)
My .htaccess file:
(I created a folder in the mambo directory called tmp with 777 permissions)
My .htaccess file:
Code: Select all
##
# @version $Id: htaccess.txt,v 1.5 2005/01/22 23:00:27 spacemonkey Exp $
# @package Mambo
# @copyright (C) 2000 - 2005 Miro International Pty Ltd
# @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
# Mambo is Free Software
##
#
# mod_rewrite in use
#
RewriteEngine On
# Uncomment following line if your webserver's URL
# is not directly related to physical file paths.
# Update YourMamboDirectory (just / for root)
# RewriteBase domains/domainname.com/public_html/mambo
#
# Rules
#
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*) index.php
session.save_path= "/domains/domainname.com/public_html/mambo/tmp"
Re: First time mambo'er (/tmp unwriteable)
Hi,
Now see in another post the following line:
This has an extra part on the front of the line, "php_value ". You could try adding this. Might help.
Make sure that the path is YOUR absolute path, not just ""/domains/domainname.com/public_html..."
Now see in another post the following line:
Code: Select all
php_value session.save_path "/din/absolutte/sti/til/din/mambo/tmp"
Make sure that the path is YOUR absolute path, not just ""/domains/domainname.com/public_html..."
- xeta
- Joomla! Apprentice
- Posts: 19
- Joined: Tue Aug 23, 2005 11:50 am
Re: First time mambo'er (/tmp unwriteable)
Thanks again, I feel like I'm actually making progress. The path to the save session changed, although it still reads unwritable.
Session save path /domains/domain.com/public_htm/mambo/tmp, Unwriteable
I feel sooo close. Thanks again RobInk.
(edit: I Triple checked the permissions, they are 777 on that directory, I even deleted the directory and re-made/chmod it to ensure it was 777)
Session save path /domains/domain.com/public_htm/mambo/tmp, Unwriteable
I feel sooo close. Thanks again RobInk.
(edit: I Triple checked the permissions, they are 777 on that directory, I even deleted the directory and re-made/chmod it to ensure it was 777)
Re: First time mambo'er (/tmp unwriteable)
Hi,
What is your domain name? Because "/domains/domain.com/public_htm" should probably be something else !
You could check the absolute path in mambo, system info. Use that in that path, and just add "/tmp".
What is your domain name? Because "/domains/domain.com/public_htm" should probably be something else !
You could check the absolute path in mambo, system info. Use that in that path, and just add "/tmp".
- xeta
- Joomla! Apprentice
- Posts: 19
- Joined: Tue Aug 23, 2005 11:50 am
Re: First time mambo'er (/tmp unwriteable)
I'm not using the domain domain.com hehe
And where can I find the mambo, system info? (sorry, I'm a n00b)
You have a PM.
And where can I find the mambo, system info? (sorry, I'm a n00b)
You have a PM.
- xeta
- Joomla! Apprentice
- Posts: 19
- Joined: Tue Aug 23, 2005 11:50 am
Re: First time mambo'er (/tmp unwriteable)
I just figured it out....they were virtual directories setup, the actual path was:
/home/username/domains/domainname.com/public_html/mambo
Thanks for all of your help!! w00t!
/home/username/domains/domainname.com/public_html/mambo
Thanks for all of your help!! w00t!
Re: First time mambo'er (/tmp unwriteable)
Hi,
So you got it to work? With or without the htaccess file?
So you got it to work? With or without the htaccess file?
- xeta
- Joomla! Apprentice
- Posts: 19
- Joined: Tue Aug 23, 2005 11:50 am
Re: First time mambo'er (/tmp unwriteable)
With the .htaccess file
However, since the install I haven't been able to install any modules/components. Even if I upload them to the server and point to the directory/xml file. When the installer is making the directory, it makes the main directory with a 755 permission so that all other directories cannot be written. I went and updated the settings inside Mambo to make all directories "777" without luck.
I really love mambo, and thank you for your time and effort in trying to help.
However, since the install I haven't been able to install any modules/components. Even if I upload them to the server and point to the directory/xml file. When the installer is making the directory, it makes the main directory with a 755 permission so that all other directories cannot be written. I went and updated the settings inside Mambo to make all directories "777" without luck.
I really love mambo, and thank you for your time and effort in trying to help.
Re: First time mambo'er (/tmp unwriteable)
Hi,
So you still have a problem left as I understand?
So you still have a problem left as I understand?
- xeta
- Joomla! Apprentice
- Posts: 19
- Joined: Tue Aug 23, 2005 11:50 am
Re: First time mambo'er (/tmp unwriteable)
Nope, no more issues. I like mambo so much I decided to go with a new domain and host thats a little more friendly to mambo. Now everything is working and installing fine. Thanks for the hand!
Advertisement