Hello, my web provider changed from php 5.3 to 5.6, and my OC6.0.8 no longer works..
I have tracked it to $_SESSION data not beeing set correctly.
After logging in, session data is lost.
Owncloud.log; {"app":"PHP","message":"session_start(): Unexpected end of serialized data at (!-- removed --!) \lib\private\session\internal.php#21","level":3,"time":"2016-08-08T13:59:29+00:00"} {"app":"PHP","message":"session_start(): Failed to decode session object. Session has been destroyed at (!-- removed --!)\lib\private\session\internal.php#21","level":3,"time":"2016-08-08T13:59:29+00:00"}
I konw oc6 is old but would like to get it to work again, hope someone can help..
Sure, then you're probably hitting a bug in oC 6 which won't get any fixes. So just stay on PHP 5.4 until you're able to do the only sane thing and upgrade to an supported oC version.
/** * @param string $key * @return mixed */ public function get($key) { if (!$this->exists($key)) { return null; } if($key=='loginname') { return OC::$server->getUserManager()->get($this->data[$key]); } else { return $this->data[$key]; } }`
Quick and dirty
Now just have to fix 'function initL10N(app) ' in core/js/js.js The async: false in the $.ajax call breaks the translation, quick fix is to set it to 'true', ofcuz text dont get translated by doing that... Working on it..