Solved

Problem setting up MRBS room booking system

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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

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 …
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

636 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