We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

Call to undefined method Phalcon\Session\Adapter\Files::start()

Hello,

Backto Phalcon again this time I'm moving to 2.x to 3.x however I got very weird error

I use following code.

$di->setShared( 'session', function(){ $session = new \Phalcon\Session\Adapter\Files([ 'lifetime' => 86400*120, ]); $session->start(); return $session; } );

and got this error

FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to undefined method Phalcon\Session\Adapter\Files::start()

It was fresh 3.4 build in Debian 9.5

I got nginx - fpm setup. Phalcon module loaded at 30-phalcon.ini php version was 7.2

Is any one can give any clue ? I can't find anthing on the google...

Best regards



11.9k
Accepted
answer

I install binary version different repo. Fixed