Index: trunk/core/units/languages/languages_item.php =================================================================== diff -u -N -r6583 -r6685 --- trunk/core/units/languages/languages_item.php (.../languages_item.php) (revision 6583) +++ trunk/core/units/languages/languages_item.php (.../languages_item.php) (revision 6685) @@ -54,7 +54,14 @@ $res = parent::Load(1); } else { - $this->Application->ApplicationDie('No Primary Language Selected'); + if (defined('IS_INSTALL')) { + // during first language import prevents sql errors + $this->setID(1); + $res = true; + } + else { + $this->Application->ApplicationDie('No Primary Language Selected'); + } } } $this->Application->SetVar('lang.current_id', $this->GetID() );