Joomla! Discussion Forums



It is currently Sun Nov 08, 2009 9:12 am (All times are UTC )

 


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.



Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Selectable /tmp folder?
Posted: Mon Oct 03, 2005 6:58 pm 
Joomla! Fledgling
Joomla! Fledgling
Offline

Joined: Mon Oct 03, 2005 6:53 pm
Posts: 2
My ISP for the sake of security has altered the cgi server, moved it over to Debian.  This throws up problems with Joomla in that it has permissions problems with /tmp

To solve this I had to edit a few files from where:

session_start()

Starts, to placing before it:

session_save_path("/files/home1/dgwebb/tmp");

Naturally having created the tmp folder in my root folder first.  I'm unsure if there is currently a short cut fix to alter the location of the /tmp directory, I could not find anything about it in the config file, but for the sake of ease, would it be possible to add a config where you can choose your own /tmp?


Top
  E-mail  
 
Posted: Tue Oct 04, 2005 6:35 am 
User avatar
Joomla! Master
Joomla! Master
Offline

Joined: Thu Aug 18, 2005 10:41 am
Posts: 15089
Hi,

You could try solving it with a .htaccess file in your root. Create a directory called tmp or whatever and give it all permissions 777. Then add something like this to your .htaccess file.

php_value session.save_path "/home/yourusername/tmp"

Maybe this will work for you. Searched on the forums, thats where I came accross this solution.

_________________
Regards Robin


Top
   
 
Posted: Sun Oct 09, 2005 7:15 am 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Sat Aug 20, 2005 3:58 am
Posts: 761
Location: Australia
Coming to this thread with the same problem, I would like to know Lexxuk if he did apply this and if so, did it work.

???

_________________
Stamboom / Family tree
There is no failure until you give up.
Chris


Top
  E-mail  
 
Posted: Sun Oct 09, 2005 11:38 am 
Joomla! Fledgling
Joomla! Fledgling
Offline

Joined: Mon Oct 03, 2005 6:53 pm
Posts: 2
I used Ultraedit32 to search all the files for session_start(), added the new line pointing sessions to my own tmp folder, which I'd made and chmod 777.  I believe it was in only 6-7 files.


Top
  E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

Quick reply

 



Who is online

Users browsing this forum: No registered users and 12 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group