Advertisement

First time mambo'er (/tmp unwriteable)

Joomla version 1.0 is end-of-life and are no longer supported. Please use Joomla 3.x instead.

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.
Locked
User avatar
xeta
Joomla! Apprentice
Joomla! Apprentice
Posts: 19
Joined: Tue Aug 23, 2005 11:50 am

First time mambo'er (/tmp unwriteable)

Post by xeta » Tue Aug 23, 2005 12:55 pm

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.
Last edited by xeta on Tue Aug 23, 2005 12:58 pm, edited 1 time in total.

Advertisement
user deleted

Re: First time mambo'er (/tmp unwriteable)

Post by user deleted » Tue Aug 23, 2005 1:07 pm

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:

Code: Select all

session.save_path= "your/full/path/to root/tmp"
This could be one of the solutions...

User avatar
xeta
Joomla! Apprentice
Joomla! Apprentice
Posts: 19
Joined: Tue Aug 23, 2005 11:50 am

Re: First time mambo'er (/tmp unwriteable)

Post by xeta » Tue Aug 23, 2005 1:20 pm

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:

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"

user deleted

Re: First time mambo'er (/tmp unwriteable)

Post by user deleted » Tue Aug 23, 2005 1:25 pm

Hi,

Now see in another post the following line:

Code: Select all

php_value session.save_path "/din/absolutte/sti/til/din/mambo/tmp"
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..."

User avatar
xeta
Joomla! Apprentice
Joomla! Apprentice
Posts: 19
Joined: Tue Aug 23, 2005 11:50 am

Re: First time mambo'er (/tmp unwriteable)

Post by xeta » Tue Aug 23, 2005 1:38 pm

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)

user deleted

Re: First time mambo'er (/tmp unwriteable)

Post by user deleted » Tue Aug 23, 2005 1:42 pm

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".

User avatar
xeta
Joomla! Apprentice
Joomla! Apprentice
Posts: 19
Joined: Tue Aug 23, 2005 11:50 am

Re: First time mambo'er (/tmp unwriteable)

Post by xeta » Tue Aug 23, 2005 1:54 pm

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.

User avatar
xeta
Joomla! Apprentice
Joomla! Apprentice
Posts: 19
Joined: Tue Aug 23, 2005 11:50 am

Re: First time mambo'er (/tmp unwriteable)

Post by xeta » Tue Aug 23, 2005 2:59 pm

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!

user deleted

Re: First time mambo'er (/tmp unwriteable)

Post by user deleted » Tue Aug 23, 2005 6:26 pm

Hi,

So you got it to work? With or without the htaccess file?

User avatar
xeta
Joomla! Apprentice
Joomla! Apprentice
Posts: 19
Joined: Tue Aug 23, 2005 11:50 am

Re: First time mambo'er (/tmp unwriteable)

Post by xeta » Thu Aug 25, 2005 6:17 pm

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.

user deleted

Re: First time mambo'er (/tmp unwriteable)

Post by user deleted » Fri Aug 26, 2005 6:15 am

Hi,

So you still have a problem left as I understand?

User avatar
xeta
Joomla! Apprentice
Joomla! Apprentice
Posts: 19
Joined: Tue Aug 23, 2005 11:50 am

Re: First time mambo'er (/tmp unwriteable)

Post by xeta » Fri Aug 26, 2005 1:47 pm

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

Locked

Return to “Installation - 1.0.x”