Answer the question
In order to leave comments, you need to log in
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
You filter by section ID
$arFilter = Array("IBLOCK_ID"=>$arResult["IBLOCK_ID"], "ID"=>$arResult["ID"] )
Therefore, 1 element
<?
$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 questionAsk a Question
731 491 924 answers to any question