Diferior CMS on steroids
+10015 / 9103078 ( online 32 )

from time to time, i get this


Forum posts: 21
brosky (Member) @ 08 03 28 - 22:11:04
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...
Avatar
Blog posts: 12
Added downloads: 2
Comments: 18
Forum posts: 573
UnrealX (Lead code monkey) @ 08 03 28 - 22:33:05
Is temp/sessions chmodded to 0777?
Forum posts: 21
brosky (Member) @ 08 03 30 - 10:42:40
Is temp/sessions chmodded to 0777?
yes, it is...

it appears mainly when entering the blog from the main site... i'll try to figure out why
Avatar
Blog posts: 12
Added downloads: 2
Comments: 18
Forum posts: 573
UnrealX (Lead code monkey) @ 08 03 30 - 13:16:57
Check conf.php. See if SESS_HANDLER_DB is set to true. If it is not, try adjusting the value and see if that helps.
Forum posts: 21
brosky (Member) @ 08 03 30 - 16:23:38
Check conf.php. See if SESS_HANDLER_DB is set to true. If it is not, try adjusting the value and see if that helps.

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.
Avatar
Blog posts: 12
Added downloads: 2
Comments: 18
Forum posts: 573
UnrealX (Lead code monkey) @ 08 03 30 - 17:37:30
Anyway, i get the same error when accesing diferior.com
That's really strange. Are you logged in when you get that error?
Comments: 1
Forum posts: 14
qwerty (Member) @ 08 03 30 - 20:09:18
I´ve already reported this error.
I believe it's because of a ip change, also this happens even if you are logged in and logged off.
Avatar
Blog posts: 12
Added downloads: 2
Comments: 18
Forum posts: 573
UnrealX (Lead code monkey) @ 08 03 30 - 22:04:10 (edited 08 03 30 - 22:08:23)
I´ve already reported this error.
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 ) { // ... }
Forum posts: 21
brosky (Member) @ 08 03 30 - 23:39:32
I´ve already reported this error.
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.

Image
Avatar
Blog posts: 12
Added downloads: 2
Comments: 18
Forum posts: 573
UnrealX (Lead code monkey) @ 08 03 31 - 11:21:25
screenshot
Thanks for that, I can see this is a pretty big problem.
Forum posts: 17
nullhole (Member) @ 08 04 01 - 19:57:45 (edited 08 04 01 - 19:58:30)
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!
Avatar
Blog posts: 12
Added downloads: 2
Comments: 18
Forum posts: 573
UnrealX (Lead code monkey) @ 08 04 01 - 21:08:26
I'd rather fix the problem than mask it. Have you been receiving this error on diferior.com lately?
Forum posts: 17
nullhole (Member) @ 08 04 01 - 23:12:20
At 08 04 01 - 18:57:45 for last.
Now I tested diferior.com 10 times with start/exit firefox - no :)
I hope that you fix it!
Comments: 1
Forum posts: 14
qwerty (Member) @ 08 04 02 - 09:16:36
today i had the same error 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

regards
Forum posts: 17
nullhole (Member) @ 08 04 02 - 10:35:11
today i had the same error 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

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
Avatar
Blog posts: 12
Added downloads: 2
Comments: 18
Forum posts: 573
UnrealX (Lead code monkey) @ 08 04 02 - 13:12:14 (edited 08 04 02 - 13:12:51)
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?
Forum posts: 17
nullhole (Member) @ 08 04 02 - 20:11:31
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.
Avatar
Blog posts: 12
Added downloads: 2
Comments: 18
Forum posts: 573
UnrealX (Lead code monkey) @ 08 04 03 - 12:58:24 (edited 08 04 03 - 12:58:34)
http://diferior.com/post_files/session_fixed.txt

Upload this as functions/session.php
Forum posts: 17
nullhole (Member) @ 08 04 03 - 13:35:57
Thank you indeed!

I will monitor my site and Diferior.com and will post here if there is still the error/bug.

Thanks again!
Forum posts: 17
nullhole (Member) @ 08 04 03 - 13:50:54
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

With the old session.php there is no this error.
« Previous 1-20 21-40 Next »