473,320 Members | 2,080 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

session_start() fails

I get the following error message.

Warning: session_start(): open(/tmp\sess_9c7a721569fd097dc4dad85162984ebc,
O_RDWR) failed: No such file or directory (2) in
c:\inetpub\wwwroot\julseth\serenadehoa\default.php on line 3

What do I have wrong? This php page runs okay on my desktop. I am trying to
get my laptop able to run the same web page but, as you can see, it fails.

Thanks for the help....

Bruce
Jul 17 '05 #1
4 10702

<br*****@attglobal.net> wrote in message news:3f********@news1.prserv.net...
I get the following error message.

Warning: session_start(): open(/tmp\sess_9c7a721569fd097dc4dad85162984ebc,
O_RDWR) failed: No such file or directory (2) in
c:\inetpub\wwwroot\julseth\serenadehoa\default.php on line 3

What do I have wrong? This php page runs okay on my desktop. I am trying to get my laptop able to run the same web page but, as you can see, it fails.

Thanks for the help....

Bruce


This message looks familiar - didn't someone jusk ask this somewhere ?
Your /tmp looks suspicious. Unix type file path on a Windows box ?

Jul 17 '05 #2
Haven't heard anything on this problem!! Anyone out there in PHP land have a
suggestion on what's wrong here.

Thanks...

Bruce

<xyzzy> wrote in message news:28********************@comcast.com...

<br*****@attglobal.net> wrote in message news:3f********@news1.prserv.net...
I get the following error message.

Warning: session_start(): open(/tmp\sess_9c7a721569fd097dc4dad85162984ebc, O_RDWR) failed: No such file or directory (2) in
c:\inetpub\wwwroot\julseth\serenadehoa\default.php on line 3

What do I have wrong? This php page runs okay on my desktop. I am trying to
get my laptop able to run the same web page but, as you can see, it

fails.
Thanks for the help....

Bruce


This message looks familiar - didn't someone jusk ask this somewhere ?
Your /tmp looks suspicious. Unix type file path on a Windows box ?

Jul 17 '05 #3
"Bruce A. Julseth" wrote:

Haven't heard anything on this problem!! Anyone out there in PHP land have a
suggestion on what's wrong here.

Thanks...

Bruce

<xyzzy> wrote in message news:28********************@comcast.com...

<br*****@attglobal.net> wrote in message

news:3f********@news1.prserv.net...
I get the following error message.

Warning: session_start(): open(/tmp\sess_9c7a721569fd097dc4dad85162984ebc, O_RDWR) failed: No such file or directory (2) in
c:\inetpub\wwwroot\julseth\serenadehoa\default.php on line 3

What do I have wrong? This php page runs okay on my desktop. I am trying
to
get my laptop able to run the same web page but, as you can see, it

fails.
Thanks for the help....

Bruce


This message looks familiar - didn't someone jusk ask this somewhere ?
Your /tmp looks suspicious. Unix type file path on a Windows box ?


According to Google Groups you didn't address these 2 lines ^^

It appears PHP is trying to open a file to store the sessions using a *nix
filepath. If that's the case you'd have to change the session.save_path
variable in php.ini to a windows directory, I believe. See:

http://ca2.php.net/manual/en/ref.session.php

On that page you will see:
Note: Windows users have to change this variable in order to use PHP's session
functions. Make sure to specify a valid path, e.g.: c:/temp.

Regards,
Shawn
--
Shawn Wilson
sh***@glassgiant.com
http://www.glassgiant.com
Jul 17 '05 #4
Fixing the php.ini has corrected the problem. Thanks...

Bruce

"Shawn Wilson" <sh***@glassgiant.com> wrote in message
news:3F***************@glassgiant.com...
"Bruce A. Julseth" wrote:

Haven't heard anything on this problem!! Anyone out there in PHP land have a suggestion on what's wrong here.

Thanks...

Bruce

<xyzzy> wrote in message news:28********************@comcast.com...

<br*****@attglobal.net> wrote in message news:3f********@news1.prserv.net...
> I get the following error message.
>
> Warning: session_start():

open(/tmp\sess_9c7a721569fd097dc4dad85162984ebc,
> O_RDWR) failed: No such file or directory (2) in
> c:\inetpub\wwwroot\julseth\serenadehoa\default.php on line 3
>
> What do I have wrong? This php page runs okay on my desktop. I am

trying
to
> get my laptop able to run the same web page but, as you can see, it

fails.
>
> Thanks for the help....
>
> Bruce
>
>

This message looks familiar - didn't someone jusk ask this somewhere ?
Your /tmp looks suspicious. Unix type file path on a Windows box ?


According to Google Groups you didn't address these 2 lines ^^

It appears PHP is trying to open a file to store the sessions using a *nix
filepath. If that's the case you'd have to change the session.save_path
variable in php.ini to a windows directory, I believe. See:

http://ca2.php.net/manual/en/ref.session.php

On that page you will see:
Note: Windows users have to change this variable in order to use PHP's

session functions. Make sure to specify a valid path, e.g.: c:/temp.

Regards,
Shawn
--
Shawn Wilson
sh***@glassgiant.com
http://www.glassgiant.com

Jul 17 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Andy Todd | last post by:
Hi We have just moved an ASP.NET application into the live environment which is as follows: Sun Proxy Server / Firewall Windows 2000 Server / IIS5 The URL for the site maps to the Sun...
4
by: John MacIntyre | last post by:
Hi, I have a page with a series of child pages loaded into an iframe. When I move from page to page, I store an object containing the child's control data in a variable on the main page, then...
0
by: Jay Allard | last post by:
Hello I posted this in the vb.net group on the 2/25/2004, but didn't get any response. Here's attempt 2. Does anyone know of a more appropriate place to post this? One new piece of...
6
by: kenneth fleckenstein nielsen | last post by:
Hi guru's It runs ok on my developmaschine, and on the test server that i've set up. but fails after installing on the customers server. I made a XML webservice that does these steps: a) access a...
7
by: SevDer | last post by:
Hi I have a class library that needs to download the HTML in a specific page of ours with provided querystring. When I open this URL with any browser, it loads fine. When I do WebRequest from Web...
1
by: comp.lang.php | last post by:
Consider my code: if ($this->isSuccessful && is_file($_FILES)) { // STEP 6: MOVE RESUME TO DIRECTORY $uuid = $this->sfug->getUUID(); if (!$uuid) $this->sfug->setUUID(); $uuid =...
2
by: Richard Hsu | last post by:
// code #include "stdio.h" int status(FILE * f) { printf("ftell:%d, feof:%s\n", ftell(f), feof(f) != 0 ? "true" : "false"); } int case1() { FILE * f = fopen("c:\\blah", "wb+"); int i = 5;
2
by: Anbu | last post by:
Sorry for cross posting the query. But I need a resolution as early as possible. I have developed an application to authenticate the user based on LDAP Search and authentication. The Windows...
12
by: Jim Rodgers | last post by:
I have a big asp file that has an error under certain conditions -- totally repeatable. However, it only fails when I set response.buffer = True at the top. WHen I set it False in order to debug...
2
by: =?Utf-8?B?YWxiZXJ0b3Nvcmlh?= | last post by:
Hi, I'm using Threads, and when I try to do Server.Transfer, I recieved an error. (child object does not exist...) My Code: Dim t As New Thread(AddressOf Hilo) Private Sub Hilo()...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.