[RESOLVED]problems installing joomla (session save_path etc)

This forum is for issues with installing Joomla! on IIS webservers.

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
Vade
Joomla! Apprentice
Joomla! Apprentice
Posts: 12
Joined: Thu Jan 31, 2008 7:22 pm

[RESOLVED]problems installing joomla (session save_path etc)

Post by Vade » Fri Sep 12, 2008 12:32 pm

hey guys,

i am really wanting to get joomla installed on my dedicated server so i can start to try and learn it but i am having problems installing it, i have tried a fair few things but nothing has worked yet.

my setup is a dedicated server with windows 2003 and IIS6 installed.

when i upload the joomla directory to the server or put it direct by remoting into the server when i go to the install first thing i see on the screen is this:

Code: Select all

Warning: session_start(): open(C:\PHP\sessiondata\sess_78ac9881b78726f2fb5c194667f74021, O_RDWR) failed: No such file or directory (2) in C:\Home\t\i\tigertest\www\libraries\joomla\session\session.php on line 412

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at C:\Home\t\i\tigertest\www\libraries\joomla\session\session.php:412) in C:\Home\t\i\tigertest\www\libraries\joomla\session\session.php on line 412

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at C:\Home\t\i\tigertest\www\libraries\joomla\session\session.php:412) in C:\Home\t\i\tigertest\www\libraries\joomla\session\session.php on line 412

Warning: Cannot modify header information - headers already sent by (output started at C:\Home\t\i\tigertest\www\libraries\joomla\session\session.php:412) in C:\Home\t\i\tigertest\www\libraries\joomla\session\session.php on line 415
then under that we have the lanague selection ( which btw on mine is defaulted to the US which i thought it would be default UK :S) then when i click next i get:

Code: Select all

Cookies do not appear to be enabled on your browser client. You will not be able to install the application with this feature disabled. Alternatively, there could also be a problem with the server's session.save_path. If this is the case, please consult your hosting provider if you don't know how to check or fix this yourself.
so i do some reading regarding session.save_path and see a few other people having problems and that it needs to be changed in the php.ini

so i log into my server and i have 2 different php.ini one is in c:\PHP and the other is C:\windows i am guess the one i need to edit is the one in c:\windows..

anyway so i find the session.save_path and un comment it. which does nothing ( after restarting iis ofc)

then i watched that video on how to install it (the one in another topic up there somewhere ^^)
so i then made a folder in my home directory called sessions and pointed the session.save_path to that folder in the php.ini.

still no joy, so i make a new folder in the same directory that joomla is installed into and change php.ini again still no joy:*(

i cant work it out here is a snippet of my php.ini

Code: Select all

; Argument passed to save_handler.  In the case of files, this is the path
; where data files are stored. Note: Windows users have to change this 
; variable in order to use PHP's session functions.
; As of PHP 4.0.1, you can define the path as:
; where N is an integer.  Instead of storing all the session files in 
; /path, what this will do is use subdirectories N-levels deep, and 
; store the session data in those directories.  This is useful if you 
; or your OS have problems with lots of files in one directory, and is 
; a more efficient layout for servers that handle lots of sessions.
; NOTE 1: PHP will not create this directory structure automatically.
;         You can use the script in the ext/session dir for that purpose.
; NOTE 2: See the section on garbage collection below if you choose to
;         use subdirectories for session storage
session.save_path = C:\Home\t\i\tigertest\www\sessions
any help would be gratfully recieved

many thanks

Vade
Last edited by Vade on Mon Sep 15, 2008 8:33 am, edited 1 time in total.

User avatar
k4lch
Joomla! Hero
Joomla! Hero
Posts: 2796
Joined: Sat Dec 31, 2005 1:58 am
Contact:

Re: problems installing joomla (session save_path etc)

Post by k4lch » Sun Sep 14, 2008 1:42 am

vade
check the folder attributes on your www directory they are possibly set to read only remove this I had to do that on my local machine
Loyd Headrick

Vade
Joomla! Apprentice
Joomla! Apprentice
Posts: 12
Joined: Thu Jan 31, 2008 7:22 pm

Re: problems installing joomla (session save_path etc)

Post by Vade » Sun Sep 14, 2008 2:11 am

it wont actually let me remove read only..

when i right click properties unclick read only, it does it then after okaying it if i go back to properties its still read only...

any other ideals please :)

User avatar
k4lch
Joomla! Hero
Joomla! Hero
Posts: 2796
Joined: Sat Dec 31, 2005 1:58 am
Contact:

Re: problems installing joomla (session save_path etc)

Post by k4lch » Sun Sep 14, 2008 3:34 am

check for iis_usrs has full control
Loyd Headrick

Vade
Joomla! Apprentice
Joomla! Apprentice
Posts: 12
Joined: Thu Jan 31, 2008 7:22 pm

Re: problems installing joomla (session save_path etc)

Post by Vade » Sun Sep 14, 2008 8:50 am

hey,

if by iis_usr you mean the user bit to be the name of that part. um cant think of the words for it, but on mine i have
IIS, IIS_tiger, IIS_tigertest etc ( tiger and tigertest are accounts so indivudual sites on my dedicated box)

any setting all of that to full control hasnt made a difference at all :(

Vade
Joomla! Apprentice
Joomla! Apprentice
Posts: 12
Joined: Thu Jan 31, 2008 7:22 pm

Re: problems installing joomla (session save_path etc)

Post by Vade » Sun Sep 14, 2008 9:15 am

this bit:

Warning: session_start(): open(C:\PHP\sessiondata\sess_0471cd4ae3919b6636c8ae9abca41265, O_RDWR) failed: No such file or directory (2) in C:\Home\t\i\tigertest\www\libraries\joomla\session\session.php on line 412

bothers me because the is no such folder in the PHP folder? i dont understand why its going there to create the sessions...

in my php.ini i have put the save_path to go to a folder in the same directory that joomla is installed.

and to test it out i gave full control to everyone and it still didnt work

Vade
Joomla! Apprentice
Joomla! Apprentice
Posts: 12
Joined: Thu Jan 31, 2008 7:22 pm

Re: problems installing joomla (session save_path etc)

Post by Vade » Sun Sep 14, 2008 9:46 am

note to self,

do not try to update php on my server as it broke it :(

*fixed the server with old version of php..

this server sucks..

still got same problems

Vade
Joomla! Apprentice
Joomla! Apprentice
Posts: 12
Joined: Thu Jan 31, 2008 7:22 pm

Re: [RESOLVED]problems installing joomla (session save_path etc)

Post by Vade » Mon Sep 15, 2008 8:35 am

Just a note to say i have sorted it,

i tried to install the old version of joomla and it said the session.save_path was unwriteable and was trying to write to a folder called

c:\PHP\sessiondata

which didnt exist and is different to what is listed in the php.ini so anyway i created the folder and gave write permissions and now it works fine :)

cheers for the help that i received trying to fix this.

now to try and learn how to make it look like my existing site!

User avatar
Big D
Joomla! Apprentice
Joomla! Apprentice
Posts: 6
Joined: Mon Feb 25, 2008 3:03 pm

Re: [RESOLVED]problems installing joomla (session save_path etc)

Post by Big D » Thu Jan 01, 2009 5:24 pm

@ Vade

Thanks for thinking out load. It helped me out :)

muckhead
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Wed May 06, 2009 3:42 pm

Re: problems installing joomla (session save_path etc)

Post by muckhead » Wed May 06, 2009 4:24 pm

k4lch wrote:vade
check the folder attributes on your www directory they are possibly set to read only remove this I had to do that on my local machine
For those of you who are newbies like me, this solution worked.


Thanks!!!

normanw18
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Tue May 05, 2009 2:20 pm

Re: [RESOLVED]problems installing joomla (session save_path etc)

Post by normanw18 » Thu May 21, 2009 7:29 pm

Hi

The discussion saved me lots of frustration. I installed xampp and then installed Joomla under c:\xampp\htdocs\xampp\ and I got the same problem described here. I added a sessiondata folder to c:\xampp\php and still Joomla work not complete. It was only when I created a sessiondata folder directly under c:\ did Joomla finish installing.

Thanks for info.
:)

Sarivol
Joomla! Apprentice
Joomla! Apprentice
Posts: 6
Joined: Fri Jun 05, 2009 5:31 pm

Re: [RESOLVED]problems installing joomla (session save_path etc)

Post by Sarivol » Fri Jun 05, 2009 7:27 pm

I just ran into the same problem. My host provider informed me that the session_save path default is /tmp in the main root directory. I changed the /tmp CHMOD to 777 and that did fixed the problem.

CopiousJ
Joomla! Apprentice
Joomla! Apprentice
Posts: 26
Joined: Sun Nov 01, 2009 7:36 pm

Re: problems installing joomla (session save_path etc)

Post by CopiousJ » Fri Nov 06, 2009 7:05 pm

muckhead wrote:
k4lch wrote:vade
check the folder attributes on your www directory they are possibly set to read only remove this I had to do that on my local machine
For those of you who are newbies like me, this solution worked.


Thanks!!!
worked for me also -
wamp
vista

pitti
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Fri Nov 13, 2009 2:14 am

Re: [RESOLVED]problems installing joomla (session save_path etc)

Post by pitti » Fri Nov 13, 2009 2:46 am

En el archivo php.ini busca la sección "Fopen wrappers", alli encontraras una variable llamada session.save_path, solo verifica que la ruta a donde apunta exista.

Ejemplo:
session.save_path="C:\DOCUME~1\pit\CONFIG~1\Temp\php\upload"

Eso es todo. Good luck.

pitti
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Fri Nov 13, 2009 2:14 am

Re: [RESOLVED]problems installing joomla (session save_path etc)

Post by pitti » Fri Nov 13, 2009 3:56 am

is the same :)

validate exist the path,

upload_tmp_dir="C:\DOCUME~1\pit\CONFIG~1\Temp\php\session"

andronikos1990
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Mon Nov 15, 2010 10:07 pm

Re: problems installing joomla (session save_path etc)

Post by andronikos1990 » Mon Nov 15, 2010 10:22 pm

muckhead wrote:
k4lch wrote:vade
check the folder attributes on your www directory they are possibly set to read only remove this I had to do that on my local machine
For those of you who are newbies like me, this solution worked.


Thanks!!!
Also worked for me. I just went to C:\www folder -> right click -> just unclick the "read only" checkbox -> wait for the process to be completed and then, you are done.

Note that if you right click again on the folder you will probably see that it still "read-only", although if you re-run the joomla installation proccess eveything is done.


Locked

Return to “Joomla! 1.5 on IIS webserver”