PHP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingPHP Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old August 3rd, 2004, 12:45 AM
sridevi sridevi is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 7 sridevi User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question error on session_start()

Hi,

this was my file ex1.php in which i'm storing the session value
2 days back when i executed this file i didn't get any error's working fine!!!! and today when i executed it, gave the below error

<?php
session_start();
$_SESSION['username']="test";
?>


Warning: session_start(): open(/tmp\sess_100ff37a3fadf29b2517e1e2e35c605f, O_RDWR) failed: No such file or directory (2) in c:\inetpub\wwwroot\ex1.php on line 2

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at c:\inetpub\wwwroot\ex1.php:2) in c:\inetpub\wwwroot\ex1.php on line 2

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at c:\inetpub\wwwroot\ex1.php:2) in c:\inetpub\wwwroot\ex1.php on line 2

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

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




/******************/

in my php.ini the settings are
session.save_path="C:\PROGRA~1\Zend\tmp"

can any one help me regarding this ???

thanks!!!
madhu

Reply With Quote
  #2  
Old August 3rd, 2004, 06:42 AM
dhouston's Avatar
dhouston dhouston is offline
Contributing User
Dev Articles Beginner (1000 - 1499 posts)
 
Join Date: May 2003
Location: Tennessee
Posts: 1,355 dhouston User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Send a message via ICQ to dhouston
You could try calling session_save_path("C:\PROGRA~1\Zend\tmp") before calling session_start().
__________________
Please don't PM me asking for solutions outside the scope of a thread.
Keeping all responses in a thread stands to help others who come along later,
which is after all what this forum's all about.

Reply With Quote
  #3  
Old August 4th, 2004, 04:37 AM
sridevi sridevi is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 7 sridevi User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Smile

Quote:
Originally Posted by dhouston
You could try calling session_save_path("C:\PROGRA~1\Zend\tmp") before calling session_start().



i 've rectified the error. i've just created a tmp folder under c: and the problem rectified and changed the session_save_path="\tmp" in php.ini

thnks for ur reply
madhu

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingPHP Development > error on session_start()


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway