Wrox Programmer Forums
|
BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6
This is the forum to discuss the Wrox book Beginning PHP, Apache, MySQLWeb Development by Michael K. Glass, Yann Le Scouarnec, Elizabeth Naramore, Gary Mailer, Jeremy Stolz, Jason Gerner; ISBN: 9780764557446
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 27th, 2004, 12:36 PM
Registered User
 
Join Date: Sep 2004
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default session_start() problem

I'm on chapter 11 and trying out the code on P322-323, I get the below error messages:

Warning: session_start(): open(/tmp\sess_c413aed2a8cd48be2f4c8534d4060486, O_RDWR) failed: No such file or directory in "auth.inc.php" on line 2

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at auth.inc.php:2) in auth.inc.php on line 2

I have session_start problem for all php files I've tried and if I remove session_start from the code then everything works fine. What could possibly be the problm? Thanx in advance!


 
Old September 28th, 2004, 08:44 AM
Authorized User
 
Join Date: Jun 2004
Posts: 37
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Looks like you need to change the session paths in your php.ini

http://p2p.wrox.com/topic.asp?TOPIC_...earchTerms=tmp






Similar Threads
Thread Thread Starter Forum Replies Last Post
Warning: session_start(): tanybrw989 Beginning PHP 9 May 10th, 2009 06:16 PM
session_start() changusee2k PHP How-To 2 February 11th, 2006 05:32 AM
Problem with session_start() jmrdeuce32 Pro PHP 5 June 10th, 2005 01:53 PM
Problem with session_start() jmrdeuce32 Beginning PHP 4 May 8th, 2005 05:09 PM
Problem with Session_Start() jmrdeuce32 PHP How-To 2 April 29th, 2005 12:32 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.