Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > PHP/MySQL > Beginning PHP
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Beginning PHP Beginning-level PHP discussions. More advanced coders should post to the Pro PHP forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Beginning PHP section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old July 8th, 2003, 11:12 AM
Registered User
 
Join Date: Jun 2003
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to Empier4552
Default Help Sesssion Warnings!

Okay i get a bunch of warnings when i do a session. I am running apache 1.3.12 and the latest version of PHP 4

Warning; session_start(): open(/tmp\sesss_b43b33769ac723e58a2e6be59ea97366, O_RDWR)failed:No such file or direcctory (2) in c:\program files\apache group\htdocs\intelifish\login.php4 on line 2

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at c:\program files\apache group\apache\htdocs\intelifish\login.php4:2) in c:\program files\apache group\apache\htdocs\intelifish\login.php4 on line 2

and warnings continue on.

At the end of the page there is 2 more warnings

Warning: Unknown(): open(/tmp\sesss_b43b33769ac723e58a2e6be59ea97366, O_RDWR)failed:No such file or direcctory (2) in Unknown on line 0

Warning: Unknown(): Failed to write session data (files), please verify that the current string of session.save_path is correct (/tmp) on line 0.

Can anyone help me with the problem!?

Reply With Quote
  #2 (permalink)  
Old July 8th, 2003, 11:49 AM
Friend of Wrox
Points: 2,570, Level: 21
Points: 2,570, Level: 21 Points: 2,570, Level: 21 Points: 2,570, Level: 21
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: San Diego, CA, USA
Posts: 836
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yeah, PHP is trying to create a temporary file on your server to store the session data, but it can't.

Make sure the session save path directory specified in php.ini exists, and that the webserver/php user has permission to read/write in that directory.


Take care,

Nik
http://www.bigaction.org/
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
TBH - Errors and warnings all of a sudden! codewife55 BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 3 November 12th, 2006 06:58 PM
Warnings under ASP.NET 2.0 dw BOOK: Professional Crystal Reports for VS.NET 0 March 8th, 2006 03:46 PM
How to view warnings IronStar MySQL 1 May 1st, 2005 10:46 PM
how to off php notices and warnings knight Beginning PHP 2 February 3rd, 2005 03:34 PM
Set Warnings Teqlump Access VBA 4 October 27th, 2004 11:12 PM



All times are GMT -4. The time now is 05:04 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.