Simple Machines Community Forum

SMF Support => SMF 1.1.x Support => Aiheen aloitti: alidigitaly - helmikuu 20, 2005, 07:32:48 AP

Otsikko: session issues
Kirjoitti: alidigitaly - helmikuu 20, 2005, 07:32:48 AP
Hello all,

I have installed SMF on my webserver and on my localhost.
Both installs went fine and error free.

But on my localhost, i get these errors:
When i try log out:  Session verification failed. Please try logging out and back in again, and then try again.
When i try to visit the admin page:  Session verification failed. Please try logging out and back in again, and then try again.
When i post a message: Your session timed out while posting. Please try to re-submit your message.

Obviously there is something wrong with the sessions.
I have tried almost any solution i could find in this forum but no success.
Like changing my php.ini to have session files saved in /tmp/php/sessions.
Deleting cookies, re-logging in.. database sessions on/ off...
All without any luck..
What else can i do?
Otsikko: Re: session issues
Kirjoitti: Ben_S - helmikuu 20, 2005, 09:35:11 AP
Is the sessions dir writable?
Otsikko: Re: session issues
Kirjoitti: alidigitaly - helmikuu 20, 2005, 10:29:12 AP
Yes
Otsikko: Re: session issues
Kirjoitti: Ben_S - helmikuu 20, 2005, 10:37:30 AP
Did you restart apache after making changes in php.ini?
Otsikko: Re: session issues
Kirjoitti: alidigitaly - helmikuu 20, 2005, 10:53:03 AP
Yep

edit: sessions are created as well.
example: sess_ec9436975eaedd18eeb95ae3615bc083 and more like them.
Otsikko: Re: session issues
Kirjoitti: alidigitaly - helmikuu 20, 2005, 05:21:38 IP
So ehhr.. *g*, what can it be?
I keep seeing this annoying 'An Error Has Occurred!'
I was planning to create a template for this forum,..
But now I'm stuck at the very beginning..
Otsikko: Re: session issues
Kirjoitti: [Unknown] - helmikuu 20, 2005, 08:11:58 IP
Are you using SSI.php or any bridges?

Are you using subdomains or subdomain-independent cookies?

Are you using database driven sessions or regular ones?

Are you running Windows or *nix?

-[Unknown]
Otsikko: Re: session issues
Kirjoitti: alidigitaly - helmikuu 20, 2005, 08:45:45 IP
Lainaus käyttäjältä: [Unknown] - helmikuu 20, 2005, 08:11:58 IP
Are you using SSI.php or any bridges?
No

Lainaus käyttäjältä: [Unknown] - helmikuu 20, 2005, 08:11:58 IPAre you using subdomains or subdomain-independent cookies?
No

Lainaus käyttäjältä: [Unknown] - helmikuu 20, 2005, 08:11:58 IPAre you using database driven sessions or regular ones?
Tried them both... no luck

Lainaus käyttäjältä: [Unknown] - helmikuu 20, 2005, 08:11:58 IPAre you running Windows or *nix?
Suse Linux.
All my other webapps work just fine..
Otsikko: Re: session issues
Kirjoitti: [Unknown] - helmikuu 20, 2005, 09:00:00 IP
Have you tried clearing your cookies?  A different browser?

Do you see the session files appearing in the directory, when database driven is off?

Exactly what version of PHP are you using?

-[Unknown]
Otsikko: Re: session issues
Kirjoitti: alidigitaly - helmikuu 20, 2005, 09:17:20 IP
YO!  :D

It's my mozilla (Firefox 1.0) browser doing it..
I tried konqueror and it seems to work.
All other Moz-based browsers for that matter fail to show smf on my localhost properly.
Which is weird and not very nice, ... any way, thanks a heap!
Otsikko: Re: session issues
Kirjoitti: [Unknown] - helmikuu 20, 2005, 09:28:50 IP
Lainaus käyttäjältä: alidigitaly - helmikuu 20, 2005, 09:17:20 IP
YO!  :D

It's my mozilla (Firefox 1.0) browser doing it..
I tried konqueror and it seems to work.
All other Moz-based browsers for that matter fail to show smf on my localhost properly.
Which is weird and not very nice, ... any way, thanks a heap!

Strange - I use Firefox 1.0 and on localhost too, without flaw.

-[Unknown]
Otsikko: Re: session issues
Kirjoitti: alidigitaly - helmikuu 20, 2005, 09:35:15 IP
My Opera browser also works without any problem...
Firefox has no problem with my webserver located smf though.
Yep it's weird.. but problem solved for me  ;)