SMF Support > Install and Upgrade Help

Session issues with SMF 1.0 Public beta

(1/7) > >>

Forse:
Hello

I am new here, but I have followed SMF devel for some short time now and I am really waiting for it to go stable. Anyway I got mail today about public beta and I jumped right on it. I installed it and all went well but now I have issues with forum sessions related.

I installed it and logged in and ofcoz I went to admin panel to see all the GOOD stuff, but I got this:
--- Quote --- Your session timed out while posting. Please go back and try again.
--- End quote ---
and this php error
--- Quote ---Notice: A session had already been started - ignoring session_start() in /www/forum/index.php on line 89
--- End quote ---

Line 89 is
--- Quote ---session_start();
--- End quote ---

Seems like a great software, but I can't even logout now as it says:
--- Quote --- Session verification failed. Please try logging out and back in again, and then try again.
--- End quote ---
and same session error on like 89.

T:Forse

Chris Cromer:
Sounds like your host has php.ini set to make it so sessions automatically start... either that or you are including SMF from a script that uses session_start.

Replace that session_start(); line with this and see if fixes it:


--- Code: ---if (!ini_get('session.auto_start')) {
session_start();
}
--- End code ---

Forse:

--- Quote from: Chris Cromer on March 14, 2004, 09:35:50 AM ---Sounds like your host has php.ini set to make it so sessions automatically start... either that or you are including SMF from a script that uses session_start.

Replace that session_start(); line with this and see if fixes it:


--- Code: ---if (!ini_get('session.auto_start')) {
session_start();
}
--- End code ---

--- End quote ---

Nope :( Anyway I am ower of my server so if there are some changes needed to be made tell me. Also I have turckcache if it helps...

Chris Cromer:
I think turckcache uses sessions if I am not mistaken... try turning it off and see if that fixes it.

Forse:

--- Quote from: Chris Cromer on March 14, 2004, 09:46:12 AM ---I think turckcache uses sessions if I am not mistaken... try turning it off and see if that fixes it.

--- End quote ---

Hmm I can't do that :( I have very "heavy" PHP scripts and if I turn off turckcache it will increase loading times a LOT. Also I have vBulletin and InvisionBoard and phpBB installed and all work fine  :-\

Navigation

[0] Message Index

[#] Next page

Go to full version