Index: trunk/core/kernel/application.php =================================================================== diff -u -N -r8178 -r8402 --- trunk/core/kernel/application.php (.../application.php) (revision 8178) +++ trunk/core/kernel/application.php (.../application.php) (revision 8402) @@ -325,6 +325,7 @@ return false; } $modules_helper =& $this->recallObject('ModulesHelper'); + $this->ModuleInfo = $this->Conn->Query('SELECT * FROM '.TABLE_PREFIX.'Modules WHERE Loaded = 1 ORDER BY LoadOrder', 'Name'); $sql = 'SELECT * FROM '.TABLE_PREFIX.'Modules WHERE '.$modules_helper->getWhereClause().' @@ -1867,6 +1868,7 @@ */ function &recallTagProcessor($prefix) { + $this->InitParser(); // because kDBTagProcesor is in TemplateParser dependencies $result =& $this->recallObject($prefix.'_TagProcessor'); return $result; } @@ -2245,8 +2247,8 @@ */ function LoggedIn() { - return $this->Session->LoggedIn(); - + // no session during expiration process + return is_null($this->Session) ? false : $this->Session->LoggedIn(); } /** @@ -2484,6 +2486,10 @@ */ function resetCounters($tables) { + if (constOn('IS_INSTALL')) { + return ; + } + $count_helper =& $this->Application->recallObject('CountHelper'); /* @var $count_helper kCountHelper */