php session_start() error

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
php_ghost
Forum Commoner
Posts: 55
Joined: Thu Jan 11, 2007 3:29 am

php session_start() error

Post by php_ghost »

Here's the error I'm talking about:
Image

Yesterday when I added the codes everything worked fine. But when I came to the office this morning to continue the project, these error messages greeted me. :(
User avatar
Burrito
Spockulator
Posts: 4715
Joined: Wed Feb 04, 2004 8:15 pm
Location: Eden, Utah

Re: php session_start() error

Post by Burrito »

not sure how things could have changed...but it looks like a session settings issue in your php.ini file.

Check to make sure that is configured the way it needs to be (save path etc).
php_ghost
Forum Commoner
Posts: 55
Joined: Thu Jan 11, 2007 3:29 am

Re: php session_start() error

Post by php_ghost »

my php.ini session.save_path is set to "C:\xampp\tmp"; :(
User avatar
Burrito
Spockulator
Posts: 4715
Joined: Wed Feb 04, 2004 8:15 pm
Location: Eden, Utah

Re: php session_start() error

Post by Burrito »

well I"ll be honest, I don't generally use the xampp, wamp etc packages so I'm not familiar enough with the config file referenced to be of much help. Something must have changed though for it to break. Things like this don't just break themselves.
php_ghost
Forum Commoner
Posts: 55
Joined: Thu Jan 11, 2007 3:29 am

Re: php session_start() error

Post by php_ghost »

I don't usually use these packages as well. I just had to since it's what's already available.

Another weird stuff I'm getting is this. When I run phpinfo() Im getting weird characters for session.save_path

Image

I tried changing it and then restarted apache. Then I run phpinfo again and it displayed the correct path. but after refreshing the page, the weird characters returned.
php_ghost
Forum Commoner
Posts: 55
Joined: Thu Jan 11, 2007 3:29 am

Re: php session_start() error

Post by php_ghost »

up
php_ghost
Forum Commoner
Posts: 55
Joined: Thu Jan 11, 2007 3:29 am

Re: php session_start() error

Post by php_ghost »

up
php_ghost
Forum Commoner
Posts: 55
Joined: Thu Jan 11, 2007 3:29 am

Re: php session_start() error

Post by php_ghost »

nevermind. I just uninstalled xampp and Installed apache,mysql,php separately
Post Reply