|
Posted by Jerry Stuckle on 10/28/06 21:05
9GB wrote:
> Jerry Stuckle wrote:
>
>>planet.en@gmail.com wrote:
>>
>>>Well, I had worked on php4 and it all worked fine but now I uninstalled
>>>it to work with php5 and apache2. Php5 is working fine unless i use
>>>session_start() function. Just as I use that function the browser
>>>displays the following message:
>>>
>>>---------------------------------------------------------------------
>>>
>>>Warning: session_start() [function.session-start]:
>>>open(E:\PHP4\sessiondata\sess_262b8ff228b44c58eb4293416c4344f9, O_RDWR)
>>>failed: No such file or directory (2) in C:\Program Files\Apache
>>>Group\Apache2\htdocs\moviesite\submit.php on line 2
>>>
>>>Warning: session_start() [function.session-start]: Cannot send session
>>>cookie - headers already sent by (output started at C:\Program
>>>Files\Apache Group\Apache2\htdocs\moviesite\submit.php:2) in C:\Program
>>>Files\Apache Group\Apache2\htdocs\moviesite\submit.php on line 2
>>>
>>>Warning: session_start() [function.session-start]: Cannot send session
>>>cache limiter - headers already sent (output started at C:\Program
>>>Files\Apache Group\Apache2\htdocs\moviesite\submit.php:2) in C:\Program
>>>Files\Apache Group\Apache2\htdocs\moviesite\submit.php on line 2
>>>
>>>Warning: Unknown:
>>>open(E:\PHP4\sessiondata\sess_262b8ff228b44c58eb4293416c4344f9, 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
>>>(E:\PHP4\sessiondata) in Unknown on line 0
>>>-----------------------------------------------
>>>
>>>
>>>
>>>
>>>
>>>
>>>Can anyone please help me on this?>?????????
>>>
>>
>>Look at your first error message.
>>
>>When removing PHP4 you probably also deleted the E:\PHP4\session_data
>>folder.
>>
> Well.... Do you want me to keep that file? I mean if I'm using PHP5, it
> should have its own folder to keep session files....
>
>
> Well.... Do you want me to keep that file? I mean if I'm using PHP5, it
> should have its own folder to keep session files....
>
>
(top posting fixed)
How many different names do you use, anyway?
No, you don't need PHP 4. But the directories you are using must exist.
Check your php.ini file and set the appropriate directories in it.
P.S. Please don't top post. Thanks.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Navigation:
[Reply to this message]
|