General Programming Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingGeneral Programming Help

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:
  #1  
Old November 25th, 2002, 04:17 PM
kb31 kb31 is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Nov 2002
Posts: 12 kb31 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Red face Sessions

I feel almost silly to ask my question, but I am so frustrated, almost ready to throw my project away. So please don't treat me as an idiot.

The error messages are listed below as are my .ini settings. Maybe its also aomewhere else in php.ini.


Warning: open(/tmp\sess_4db7001b68df6b3834c0e7b8618013e4, O_RDWR)

failed: No such file or directory (2) in c:\public_html\index.php on

line 3

Warning: open(/tmp\sess_4db7001b68df6b3834c0e7b8618013e4, O_RDWR)

failed: No such file or directory (2) in Unknown on line 0

Warning: Failed to write session data (files). Please verify that the

current setting of session.save_path is correct (/tmp) in Unknown on

line 0

Windows XP Pro

Php version = 4.2.3

MySQL version = 3.23.52

Apache version = 1.3.27

[Session]
session.save_handler = files

session.save_path = C:\php\tmp\sess

session.use_cookies = 1

session.name = PHPSESSID

session.auto_start = 0

session.cookie_lifetime = 0

session.cookie_path = /

session.cookie_domain =

session.serialize_handler = php

session.gc_probability = 1

session.gc_maxlifetime = 1440

session.referer_check =

session.entropy_length = 0

session.entropy_file =

;session.entropy_length = 16

;session.entropy_file = /dev/urandom

session.cache_limiter = nocache

session.cache_expire = 180

session.use_trans_sid = 0

Thankyou in anticipation

Kelley.

Reply With Quote
  #2  
Old November 25th, 2002, 05:23 PM
Lindset Lindset is offline
weirdomoderator
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jun 2002
Location: Alta, Norway
Posts: 370 Lindset 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 Lindset Send a message via AIM to Lindset
Does the directory "C:\php\tmp\sess" exist? If not, be sure to create it. PHP will NOT create it for you
__________________
Best Regards,
Håvard Lindset

Reply With Quote
  #3  
Old November 25th, 2002, 05:46 PM
kb31 kb31 is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Nov 2002
Posts: 12 kb31 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Smile sessions

yes "C:\php\tmp\sess" does exist.

thankyou

Reply With Quote
  #4  
Old November 25th, 2002, 09:21 PM
Ben Rowe
Guest
Dev Articles Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
I dont know if this is going to work or not, but can you create a dir called tmp on your c:

c:\tmp

and try that.

Reply With Quote
  #5  
Old November 26th, 2002, 02:40 PM
kb31 kb31 is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Nov 2002
Posts: 12 kb31 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Smile



Yes Ben that did work, though I am still puzzled as to why. Thankyou very much.

Kelley.

Reply With Quote
  #6  
Old November 26th, 2002, 06:19 PM
Ben Rowe
Guest
Dev Articles Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
use the force, Kelley.

theres some other option in the php.ini file.

Reply With Quote
  #7  
Old November 27th, 2002, 12:31 AM
kb31 kb31 is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Nov 2002
Posts: 12 kb31 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Post

Yes Ben see lots of options in PHP and MySQL and apache and wow do they confuse me, but I will keep plugging away, maybe one day I get it right.

Thankyou for your help and kindness.

Kelley

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingGeneral Programming Help > Sessions


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 5 hosted by Hostway
Stay green...Green IT