ez projects / ezcore / forum / general / sessions are not well closed
You need to be logged in to post messages in the forums. New users may register here.
|
Member since: Posts: 19 |
Friday 12 December 2008 4:08:35 pm Hi Andre,
The following fatal error can happened (randomly) : Fatal error: Cannot redeclare class eZMySQLDB in /...m/lib/ezdb/classes/ezmysqldb.php on line 979 Call Stack # Time Memory Function Location 1 0.0009 128276 {main}( ) ../index_ajax.php:0 2 0.1048 5721988 eZModule->run( ) ../index_ajax.php:251 3 0.1053 5747852 eZProcess::run( ) ../ezmodule.php:1205 4 0.1053 5747852 eZProcess->runFile( ) ../ezprocess.php:42 5 0.1055 5760540 include( '.../extension/keywordautocomplete/modules/prismakeywordautocomplete/search.php' ) ../ezprocess.php:67 6 0.1095 5764780 fatalError( ) ../search.php:15 7 0.1095 5764780 eZExecution::cleanExit( ) ../search.php:5 8 0.1097 5678204 eZSessionWrite( ) ../ezsession.php:0 9 0.1097 5678204 eZDB::instance( ) ../ezsession.php:138 To fix this bug, just add the following line : register_shutdown_function( 'session_write_close' ); after : require_once( 'kernel/common/ezincludefunctions.php' ); The fix has been also apply in main eZP index.php |
|
Member since: Posts: 170 |
Sunday 14 December 2008 5:36:54 pm Thanks, added it now.
Lead Engineer eZ Publish |
|
Member since: Posts: 170 |
Tuesday 13 January 2009 6:42:40 pm Now also fixed in index_treemenu.php in eZ Publish svn.
http://pubsvn.ez.no/nextgen/stable/4.0/index_treemenu.php Lead Engineer eZ Publish |
You need to be logged in to post messages in the forums. New users may register here.