Fatal error: session_start() [<a href='function.session-start'>function.session-start</a>]: Failed to initialize storage module: user (path: /var/...../temp/sessions) in /var/...../functions/session.php on line 178
happents when i browse diferior.com, and i switch to my diferior install...
Blog posts: 12
Added downloads: 2 Comments: 18 Forum posts: 573
I never experienced this problem firsthand, so I can't say what is causing it. I'll do some research and report back as soon as I find out something.
EDIT: Could you try opening functions/session.php and moving # If session set automatically, destroy and set a proper one
$this -> destroy(); after # Whether to handle sessions via MySQL
if ( SESS_HANDLER_DB )
{
// ...
}
I never experienced this problem firsthand, so I can't say what is causing it. I'll do some research and report back as soon as I find out something.
EDIT: Could you try opening functions/session.php and moving # If session set automatically, destroy and set a proper one
$this -> destroy(); after # Whether to handle sessions via MySQL
if ( SESS_HANDLER_DB )
{
// ...
}
ok, i'll try that.
Blog posts: 12
Added downloads: 2 Comments: 18 Forum posts: 573
It would be great temp solution if you/we can make custom error solution for first-open site users:
Please refresh the page!
not
Fatal error: session_start() [<a href='function.session-start'>function.session-start</a>]: Failed to initialize storage module: user (path: /home/diferior/www/temp/sessions) in /home/diferior/www/functions/session.php on line 178
Because from my own expirience like user I will close the page.Even I will not guest/try to refresh the page.
Can you make custom code for us till fix this, please!
Blog posts: 12
Added downloads: 2 Comments: 18 Forum posts: 573
Fatal error: session_start() [<a href='function.session-start'>function.session-start</a>]: Failed to initialize storage module: user (path: /home/diferior/www/temp/sessions) in /home/diferior/www/functions/session.php on line 178
Fatal error: session_start() [<a href='function.session-start'>function.session-start</a>]: Failed to initialize storage module: user (path: /home/diferior/www/temp/sessions) in /home/diferior/www/functions/session.php on line 178
regards
Now I also on Diferior.com
Fatal error: session_start() [<a href='function.session-start'>function.session-start</a>]: Failed to initialize storage module: user (path: /home/diferior/www/temp/sessions) in /home/diferior/www/functions/session.php on line 178
Blog posts: 12
Added downloads: 2 Comments: 18 Forum posts: 573
This seems to be a PHP bug ( http://bugs.php.net/bug.php?id=32330 ). I have tried the workaround and uploaded the patched version to diferior.com. Let me know if you still run into the same problem and if everything is fine, I'll post the patch.
EDIT: Oh, do you get logged off after the error message?
For the present - no, I enter diferior.com, logon, logoff, enter again, logon, exit without logoff, enter and so on, close/start browser or tab- no! But my site - today with the same firefox installation - minimum 10 times.
„Oh, do you get logged off after the error message?“ - I'm not sure for that Next time I will note it and will post here.
Blog posts: 12
Added downloads: 2 Comments: 18 Forum posts: 573
ok, I uploaded and there is error, when I open my site:
session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /functions/session.php:1) (#2) in /functions/session.php on line 168
happents when i browse diferior.com, and i switch to my diferior install...
Added downloads: 2
Comments: 18
Forum posts: 573
yes, it is...
it appears mainly when entering the blog from the main site... i'll try to figure out why
Added downloads: 2
Comments: 18
Forum posts: 573
i'll try it.
Anyway, i get the same error when accesing diferior.com
it doesen't happen' all the time, if i refresh the page, it's ok.
funny thing , on my site happents all the time i restart the computer, when i first acces the page. After a refresh, it works with no problem.
Added downloads: 2
Comments: 18
Forum posts: 573
That's really strange. Are you logged in when you get that error?
Forum posts: 14
I believe it's because of a ip change, also this happens even if you are logged in and logged off.
Added downloads: 2
Comments: 18
Forum posts: 573
Indeed: http://diferior.com/forum/thread/development/bugs/error-on-login.html
I never experienced this problem firsthand, so I can't say what is causing it. I'll do some research and report back as soon as I find out something.
EDIT: Could you try opening functions/session.php and moving
# If session set automatically, destroy and set a proper one $this -> destroy();
after
# Whether to handle sessions via MySQL if ( SESS_HANDLER_DB ) { // ... }
Indeed: http://diferior.com/forum/thread/development/bugs/error-on-login.html
I never experienced this problem firsthand, so I can't say what is causing it. I'll do some research and report back as soon as I find out something.
EDIT: Could you try opening functions/session.php and moving
# If session set automatically, destroy and set a proper one $this -> destroy();
after
# Whether to handle sessions via MySQL if ( SESS_HANDLER_DB ) { // ... }
ok, i'll try that.
Added downloads: 2
Comments: 18
Forum posts: 573
Thanks for that, I can see this is a pretty big problem.
Please refresh the page!
not
Fatal error: session_start() [<a href='function.session-start'>function.session-start</a>]: Failed to initialize storage module: user (path: /home/diferior/www/temp/sessions) in /home/diferior/www/functions/session.php on line 178
Because from my own expirience like user I will close the page.Even I will not guest/try to refresh the page.
Can you make custom code for us till fix this, please!
Added downloads: 2
Comments: 18
Forum posts: 573
Now I tested diferior.com 10 times with start/exit firefox - no
I hope that you fix it!
Forum posts: 14
Fatal error: session_start() [<a href='function.session-start'>function.session-start</a>]: Failed to initialize storage module: user (path: /home/diferior/www/temp/sessions) in /home/diferior/www/functions/session.php on line 178
regards
Fatal error: session_start() [<a href='function.session-start'>function.session-start</a>]: Failed to initialize storage module: user (path: /home/diferior/www/temp/sessions) in /home/diferior/www/functions/session.php on line 178
regards
Now I also on Diferior.com
Fatal error: session_start() [<a href='function.session-start'>function.session-start</a>]: Failed to initialize storage module: user (path: /home/diferior/www/temp/sessions) in /home/diferior/www/functions/session.php on line 178
Added downloads: 2
Comments: 18
Forum posts: 573
I have tried the workaround and uploaded the patched version to diferior.com. Let me know if you still run into the same problem and if everything is fine, I'll post the patch.
EDIT: Oh, do you get logged off after the error message?
„Oh, do you get logged off after the error message?“ - I'm not sure for that
Next time I will note it and will post here.
Added downloads: 2
Comments: 18
Forum posts: 573
Upload this as functions/session.php
I will monitor my site and Diferior.com and will post here if there is still the error/bug.
Thanks again!
session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /functions/session.php:1) (#2) in /functions/session.php on line 168
With the old session.php there is no this error.