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

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 July 16th, 2002, 06:13 AM
Ben Rowe
Guest
Dev Articles Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
sessions gone mad!

hey all,

ive just installed the latest versions of apache, php(binary) and mysql. Its all working great, except for when i call anything to do with sessions. i get the following error


Warning: open(/tmp\sess_813c3099f0e8dc0cc90199ab44e07a82, O_RDWR) failed: No such file or directory (2) in c:\public_html\cla\admin\include\php\security.php on line 84


i also sometimes get the following errors

Warning: open(/tmp\sess_813c3099f0e8dc0cc90199ab44e07a82, 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

i would post some of my code, but i cant due to security reasons?

is it something ive set up wrong? i seached php.ini for sessions, but i dont know what to change

Thanks

Ben Rowe

Reply With Quote
  #2  
Old July 16th, 2002, 06:20 AM
Ben Rowe
Guest
Dev Articles Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
ok, ive got it down to this line in the php.ini file

; Argument passed to save_handler. In the case of files, this is the path
; where data files are stored. Note: Windows users have to change this
; variable in order to use PHP's session functions.
session.save_path = /tmp

can someone whos running windows, and apache&php check in there php.ini file to see what this is to be set to for windows users

Reply With Quote
  #3  
Old July 16th, 2002, 06:24 AM
Ben Rowe
Guest
Dev Articles Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
well this was a total waste of time, i just figured it out,

session.save_path = /tmp

ok if its set to this what you need to do is create a folder in your c: called tmp, thats as simple as that

well this was a interesting post eheh

Reply With Quote
  #4  
Old July 16th, 2002, 09:13 AM
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
Stop talking to yourself, Ben!
__________________
Best Regards,
Håvard Lindset

Reply With Quote
  #5  
Old July 16th, 2002, 10:48 AM
FrankieShakes FrankieShakes is offline
Frank The Tank!
Dev Articles Beginner (1000 - 1499 posts)
 
Join Date: Jun 2002
Location: Toronto, Canada
Posts: 1,246 FrankieShakes User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
Send a message via ICQ to FrankieShakes Send a message via MSN to FrankieShakes
Heheh... i was thinking the same thing!
__________________
____________________________________________
Developer Shed Weekly Writer | DevArticles Forum Moderator
Build Your Own KlipFolio Klip With PHP
FrankManno.com - Under Construction
Design Interactive Group - Under Construction

Reply With Quote
  #6  
Old July 16th, 2002, 04:57 PM
Ben Rowe
Guest
Dev Articles Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
i think i need professional help

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingProgramming Tools > sessions gone mad!


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