0

My Project is a mixed project (Non-Zend & Zend) If i set in a Non-Zend environment something like

$myObject = new MyObject();
$_SESSION['foo'] = $myObject;

and calling later a zend controller (http://mydomain.foo/zendControllerName) i get

"An error occurred Application error"

It works only with serialized Objects in PHP 5.4 In PHP 5.2 it worked perfectly without serializing.

sg61
  • 1
  • 1

1 Answers1

0

The Solution. Why does my PHP with Zend Framework go crazy about "session started" since update to 5.4 (after a session exists on filesystem)?

You can set it in application.ini:

resources.session.throw_startup_exceptions = false
Community
  • 1
  • 1
sg61
  • 1
  • 1