NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming
Reload this Page php Session help needed

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search


Closed Thread
 
LinkBack Thread Tools
Old 01-31-2006, 05:11 AM THREAD STARTER               #1 (permalink)
Senior Member
Join Date: Oct 2005
Location: In front of my Dell
Posts: 1,126
khuldun has a spectacular aura aboutkhuldun has a spectacular aura about
 



php Session help needed


Hi

I need help with my home php enabled webserver. There are a few scripts i would like to test but they have the session system, i dont have a clue what is that and it usually gives me an error, so i quite handicapped, please help.
__________________
New mobile content website coming soon
khuldun is offline  
Old 02-01-2006, 10:14 PM   #2 (permalink)
Senior Member
 
{insert name here}'s Avatar
Join Date: Dec 2004
Posts: 1,304
{insert name here} is a glorious beacon of light{insert name here} is a glorious beacon of light{insert name here} is a glorious beacon of light{insert name here} is a glorious beacon of light{insert name here} is a glorious beacon of light
 


Breast Cancer
Please post one of the error strings you get.
__________________
You got no time for the messenger,
got no regard for the thing that you don't understand,
you got no fear of the underdog,
that's why you will not survive!
{insert name here} is offline  
Old 02-02-2006, 01:40 AM THREAD STARTER               #3 (permalink)
Senior Member
Join Date: Oct 2005
Location: In front of my Dell
Posts: 1,126
khuldun has a spectacular aura aboutkhuldun has a spectacular aura about
 



Warning: Unknown(): open(/tmp\sess_db465e8345e7341347731f90117aaef5, O_RDWR) failed: No such file or directory (2) in Unknown on line 0
????: NamePros.com http://www.namepros.com/programming/163149-php-session-help-needed.html

another one....

Warning: session_start(): open(/tmp\sess_db465e8345e7341347731f90117aaef5, O_RDWR) failed: No such file or directory (2) in E:\webdocs\wallpaper\rheader.php on line 2

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at E:\webdocs\wallpaper\rheader.php:2) in E:\webdocs\wallpaper\rheader.php on line 2

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at E:\webdocs\wallpaper\rheader.php:2) in E:\webdocs\wallpaper\rheader.php on line 2
__________________
New mobile content website coming soon
khuldun is offline  
Old 02-02-2006, 02:03 AM   #4 (permalink)
Senior Member
 
{insert name here}'s Avatar
Join Date: Dec 2004
Posts: 1,304
{insert name here} is a glorious beacon of light{insert name here} is a glorious beacon of light{insert name here} is a glorious beacon of light{insert name here} is a glorious beacon of light{insert name here} is a glorious beacon of light
 


Breast Cancer
Originally Posted by khuldun
Warning: Unknown(): open(/tmp\sess_db465e8345e7341347731f90117aaef5, O_RDWR) failed: No such file or directory (2) in Unknown on line 0
You're getting this error because PHP is looking for the /tmp dir on your machine, which at this point it doesnt look like its there.
You need to create a tmp directory and set your php.ini to point to this dir.

edit your php.ini
changing this:
Quote:
[ Session ]
session.save_path =/tmp
to this something like this:
Quote:
[ Session ]
????: NamePros.com http://www.namepros.com/showthread.php?t=163149
session.save_path = e:\webdocs\tmp
or where ever you want the tmp to be saved at for the session files.
__________________
You got no time for the messenger,
got no regard for the thing that you don't understand,
you got no fear of the underdog,
that's why you will not survive!
{insert name here} is offline  
Old 02-03-2006, 12:01 AM THREAD STARTER               #5 (permalink)
Senior Member
Join Date: Oct 2005
Location: In front of my Dell
Posts: 1,126
khuldun has a spectacular aura aboutkhuldun has a spectacular aura about
 



I managed it myself in the end, was having trouble changing the php.ini file, i kept changing the one lying in the windws folder, in the end i had to change the one in the root directory, thanks anyways!!
__________________
New mobile content website coming soon
khuldun is offline  
Old 02-03-2006, 12:03 AM   #6 (permalink)
Senior Member
 
{insert name here}'s Avatar
Join Date: Dec 2004
Posts: 1,304
{insert name here} is a glorious beacon of light{insert name here} is a glorious beacon of light{insert name here} is a glorious beacon of light{insert name here} is a glorious beacon of light{insert name here} is a glorious beacon of light
 


Breast Cancer
Originally Posted by khuldun
I managed it myself in the end, was having trouble changing the php.ini file, i kept changing the one lying in the windws folder, in the end i had to change the one in the root directory, thanks anyways!!
Sorry, thats what I meant, I should have specified, sorry, glad you got it all worked out
__________________
You got no time for the messenger,
got no regard for the thing that you don't understand,
you got no fear of the underdog,
that's why you will not survive!
{insert name here} is offline  
Old 02-03-2006, 12:45 AM THREAD STARTER               #7 (permalink)
Senior Member
Join Date: Oct 2005
Location: In front of my Dell
Posts: 1,126
khuldun has a spectacular aura aboutkhuldun has a spectacular aura about
 



Originally Posted by OulZac
Originally Posted by khuldun
I managed it myself in the end, was having trouble changing the php.ini file, i kept changing the one lying in the windws folder, in the end i had to change the one in the root directory, thanks anyways!!
Sorry, thats what I meant, I should have specified, sorry, glad you got it all worked out

????: NamePros.com http://www.namepros.com/showthread.php?t=163149
No problem! Thanks once again!
__________________
New mobile content website coming soon
khuldun is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Tutorial: Getting started with PHP (The Basics) deadserious Webmaster Tutorials 60 11-17-2007 12:35 PM
Great Scripts for Sale With Resale Rights! Zeeble Scripts For Sale 20 01-04-2006 02:39 AM
Googlism - What does google think of you? deadserious The Break Room 55 12-15-2005 10:09 AM

Liquid Web Smart Servers  
All times are GMT -7. The time now is 03:01 AM.

Managed Web Hosting by Liquid Web
Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger