3.4 sessions error

webmaster2736

New Member
YetiShare User
Jul 11, 2013
2
0
0
Hello there,

We've just installed the 3.4 version in order to see if we get rid of File is too big or file received has zero size but we've stepped on another problem.

The first time we've installed it it worked perfectly ( NOTE that we've configured on php.ini the php sessions path to /var/log/php/sessions ) we have 4G upload limit, 40 GB tmp partition, 8 gb of ram, 4 cpus and 64bit CENTOS. After trying to upload a file of 2,6GB we received the error stating file is too big. When we've logged out we weren't able to log back in neither after reinstalling the script.

After looking at /var/log/httpd/error.log we've seen that we receive this error:

Code:
[Thu Dec 12 17:01:55 2013] [error] [client 192.168.1.130] PHP Warning:  Unknown: Failed to write session data (user). Please verify that the current setting of session.save_path is correct (/var/log/php/session) in Unknown on line 0, referer: http://172.26.0.91/
[Thu Dec 12 17:01:55 2013] [error] [client 192.168.1.130] PHP Warning:  Invalid callback log::globalErrorHandler, class 'log' not found in Unknown on line 0, referer: http://172.26.0.91/
[Thu Dec 12 17:01:55 2013] [error] [client 192.168.1.130] PHP Warning:  Invalid callback DBSession::close, class 'DBSession' not found in Unknown on line 0, referer: http://172.26.0.91/
[Thu Dec 12 17:01:56 2013] [error] [client 192.168.1.130] PHP Warning:  Invalid callback log::globalErrorHandler, class 'log' not found in Unknown on line 0, referer: http://172.26.0.91/
[Thu Dec 12 17:01:56 2013] [error] [client 192.168.1.130] PHP Warning:  Invalid callback DBSession::write, class 'DBSession' not found in Unknown on line 0, referer: http://172.26.0.91/
[Thu Dec 12 17:01:56 2013] [error] [client 192.168.1.130] PHP Warning:  Invalid callback log::globalErrorHandler, class 'log' not found in Unknown on line 0, referer: http://172.26.0.91/
[Thu Dec 12 17:01:56 2013] [error] [client 192.168.1.130] PHP Warning:  Unknown: Failed to write session data (user). Please verify that the current setting of session.save_path is correct (/var/log/php/session) in Unknown on line 0, referer: http://172.26.0.91/
[Thu Dec 12 17:01:56 2013] [error] [client 192.168.1.130] PHP Warning:  Invalid callback log::globalErrorHandler, class 'log' not found in Unknown on line 0, referer: http://172.26.0.91/
[Thu Dec 12 17:01:56 2013] [error] [client 192.168.1.130] PHP Warning:  Invalid callback DBSession::close, class 'DBSession' not found in Unknown on line 0, referer: http://172.26.0.91/
note that there are files in that folder from the old login

Code:
[root@localhost ~]# ls /var/log/php/session
sess_fbb5r39m33cstr5mtje11qj3h5  sess_h4c99vf57aa2to00h30dku8lq1
[root@localhost ~]#
My question is:
How could we solve these two issues?

Regards,
Gabriel
 

adam

Administrator
Staff member
Dec 5, 2009
2,046
108
63
I don't know if you've fixed this yet but there was a session related bug which I fixed and patched yesterday. It only appears on certain PHP configurations/versions but it might be worth you trying to patch your install to see if it fixes the problem.

Re-download the latest release and re-upload the file in includes/class.dbsession.php to apply the fix.