Solved

Problem setting up MRBS room booking system

Posted on 2006-07-05
3
817 Views
Last Modified: 2013-12-12
I'm trying to set up the MRBS room booking system on a (windows server 2003)  apache server running php and mysql. I'm getting the blue menu screen OK and appear to be able to log on using administrator or user a or b. (internal authentication).

However, I'm getting the following errors:

Warning: session_start(): open(/tmp\sess_68cb215e2946cd7689929aa97e89262d, O_RDWR) failed: No such file or directory (2) in C:\Program Files\Apache Group\Apache2\htdocs\mrbs\session_php.inc on line 26

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at C:\Program Files\Apache Group\Apache2\htdocs\mrbs\session_php.inc:26) in C:\Program Files\Apache Group\Apache2\htdocs\mrbs\session_php.inc on line 26

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at C:\Program Files\Apache Group\Apache2\htdocs\mrbs\session_php.inc:26) in C:\Program Files\Apache Group\Apache2\htdocs\mrbs\session_php.inc on line 26

Warning: Cannot modify header information - headers already sent by (output started at C:\Program Files\Apache Group\Apache2\htdocs\mrbs\session_php.inc:26) in C:\Program Files\Apache Group\Apache2\htdocs\mrbs\session_php.inc on line 62

I obviously don't have something set up right! The /tmp directory does exist. Can anyone point me to where I'm going wrong please?
0
Comment
Question by:PhilDunford
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 40

Accepted Solution

by:
Richard Quadling earned 125 total points
ID: 17048784
The path is a UNIX path.

Use ...

<?php phpinfo(); ?>

and examine this for the location of your PHP.INI file. I suspect it will be in your windows directory called php.ini, but may be php-isapi.ini or php-cgi.ini.

Edit  the file and change

session.save_path = /tmp

to, maybe ...

session.save_path = C:\PHP_Sessions


Create C:\PHP_Sessions and restart Apache.

Then re-run the <?php phpinfo(); ?> script to confirm that the change has been made.

THEN. re run your script.
0
 

Author Comment

by:PhilDunford
ID: 17049006
Thanks 'R'

You got it in one!

For some reason there is a php.ini file both in C:\windows and in c:\php-4.3.3-win32.

Changing the latter one cured the problem.

Thanks
0
 
LVL 40

Expert Comment

by:Richard Quadling
ID: 17049011
NP.
0

Featured Post

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.   (CODE) (CODE) Then you just need to pass your date to the function. If i…
Many old projects have bad code, but the budget doesn't exist to rewrite the codebase. You can update this code to be safer by introducing contemporary input validation, sanitation, and safer database queries.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

729 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question