Ребята подскажите --- белый экран не пишет ошибку
public function productImport()
{
$this->receiveTab();
$handle = $this->openCsvFile();
$default_language_id = (int)Configuration::get('PS_LANG_DEFAULT');
$id_lang = Language::getIdByIso(Tools::getValue('iso_lang'));
if (!Validate::isUnsignedId($id_lang))
$id_lang = $default_language_id;
AdminImportController::setLocale();
$shop_ids = Shop::getCompleteListOfShopsID();
$line_count = 0;
$limit = 50;
$current_steper =0;
while (count($line) == $steper) {
$limit = $post_limited + $current_line ;
for ($current_line = $current_steper ; $line = fgetcsv($handle, MAX_LINE_SIZE, $this->separator); $current_line++) {
$i++;
if ($i > $limit) {
break;
}
else
{
$steper++;
// здесь Цикл импорта
}
} //for
++$current_steper = $current_steper + $post_limited;
$i = 0;
}
// for ($current_line = 0; $line = fgetcsv($handle, MAX_LINE_SIZE, $this->separator); $current_line++) {}
$this->closeCsvFile($handle);
}