O
O
olegxxxl2021-02-10 22:52:53
Laravel
olegxxxl, 2021-02-10 22:52:53

When loading a file, it gives The "" file does not exist or is not readable.?

There is a system for loading pictures, it seemed to load normally and stumbled upon the fact that some pictures do not load and give this error
The "" file does not exist or is not readable.
How can it be corrected?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexey Bille, 2017-09-08
Portev @Vladimir Portev

You filter by section ID
$arFilter = Array("IBLOCK_ID"=>$arResult["IBLOCK_ID"], "ID"=>$arResult["ID"] )
Therefore, 1 element

A
Alexey Emelyanov, 2017-09-08
@babarun

<? 
$db_list = CIBlockSection::GetList(Array($by=>$order), Array("IBLOCK_ID"=>$arResult["IBLOCK_ID"]), true, Array("UF_PRICE_NAME")); 
while($ar_result = $db_list->GetNext()):
?>
<?$rs_result[] = $ar_result;?>
<?endwhile?>

<?foreach($rs_result as $key => $prices_name):?> 
    <?=$rs_result[$key]["UF_PRICE_NAME"];?><br> 
<?endforeach?>

Или

<?foreach($rs_result as $key => $prices_name):?> 
    <?=$prices_name["UF_PRICE_NAME"];?><br> 
<?endforeach?>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question