Page 1 of 1

php session_start() error

Posted: Mon Jan 19, 2009 8:15 pm
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. :(

Re: php session_start() error

Posted: Mon Jan 19, 2009 9:08 pm
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).

Re: php session_start() error

Posted: Mon Jan 19, 2009 9:31 pm
by php_ghost
my php.ini session.save_path is set to "C:\xampp\tmp"; :(

Re: php session_start() error

Posted: Mon Jan 19, 2009 10:19 pm
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.

Re: php session_start() error

Posted: Mon Jan 19, 2009 10:30 pm
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.

Re: php session_start() error

Posted: Tue Jan 20, 2009 2:06 am
by php_ghost
up

Re: php session_start() error

Posted: Tue Jan 20, 2009 7:19 pm
by php_ghost
up

Re: php session_start() error

Posted: Tue Jan 20, 2009 9:37 pm
by php_ghost
nevermind. I just uninstalled xampp and Installed apache,mysql,php separately