Solved

Problem setting up MRBS room booking system

Posted on 2006-07-05
3
814 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

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

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

Suggested Solutions

Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
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 dynamically set the form action using jQuery.

738 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