|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
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
|
|||
|
|||
|
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 |
|
#2
|
||||
|
||||
|
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. |
|
#3
|
|||
|
|||
|
Quote:
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 |
![]() |
| Viewing: Dev Articles Community Forums > Programming > PHP Development > error on session_start() |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|