Forum Moderators: coopster
Warning: session_start(): Cannot send session cookie - headers already sent by (output started at C:\Program Files\Apache Group\Apache2\htdocs\TempMgt\index.php:15) in C:\Program Files\Apache Group\Apache2\htdocs\TempMgt\index.php on line 15
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at C:\Program Files\Apache Group\Apache2\htdocs\TempMgt\index.php:15) in C:\Program Files\Apache Group\Apache2\htdocs\TempMgt\index.php on line 15
Warning: Unknown(): open(/tmp\sess_526e492c7e6fbe4887e4c52821b34be7, 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
The other I'm guessing is just a white space issue.
session_start() has to be the very first thing after the <?. No extra spaces, etc.
I usually just do
<?
session_start();
Good Luck
***************************************************
i have edited the 'c:\winxp\php.ini' file & set the
session.save_path = c:\winxp\temp
but when i check the php information by using method
phpinfo();
it shows default setting of 'c:\winxp\php.ini'
session.save_path = /tmp
***************************************************
php.inifile and it is indeed the one you are editing. Then, make sure that you are editing the correct line in that file and not a comment above the actual directive or otherwise. Lastly, and I don't believe this should really make a difference, but stop and restart apache (or possibly reboot your Windows pc).