Index: branches/unlabeled/unlabeled-1.155.2/core/kernel/application.php =================================================================== diff -u -r5956 -r5970 --- branches/unlabeled/unlabeled-1.155.2/core/kernel/application.php (.../application.php) (revision 5956) +++ branches/unlabeled/unlabeled-1.155.2/core/kernel/application.php (.../application.php) (revision 5970) @@ -382,6 +382,10 @@ WHERE (PrimaryLang = 1) AND (Enabled = 1)'; $language_id = $this->Conn->GetOne($sql); + if (!$language_id && defined('IS_INSTALL') && IS_INSTALL) { + $language_id = 1; + } + return $language_id; }