file_get_contents(): SSL operation failed with code 1. OpenSSL Error messages: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed
/var/rusite/web/public/index.php(139)
127 // get last postu 128 129 $sqlstring = "SELECT `barcode`,`name`,`marka`,`model`,`price_r` FROM `repairs` WHERE (`sale`='no') AND (`inprogress`= 'no') AND (`sklad` <> 'Дефект') 130 AND (`sklad` <> 'Резерв') AND (`reserv` <> 'yes') ORDER BY `internal_id` DESC LIMIT 3"; 131 $rec_sqlCommand = $connection->CreateCommand ( $sqlstring ); 132 $detaillist = $rec_sqlCommand->query (); 133 134 ?> 135 <?php foreach ($detaillist as $detail) { 136 $barcode = $detail['barcode']; 137 /// 138 $JSONimagePath = 'https://aminsk.autocats.xyz/GET_IMAGE_LIST.php?barcode=' . $barcode; 139 $getImagesListJSON = file_get_contents($JSONimagePath); 140 $imageListArray = json_decode($getImagesListJSON, true); 141 if(isset($imageListArray['error'])){ 142 $imageListArray[0] = ''; 143 } 144 /// 145 ?> 146 <div class="uk-width-medium-1-3"> 147 <div class="md-card-head head_background" 148 style="background-image: url('https://autobrit350.ru/imageload.php?path=<?php echo $barcode; ?>&site=27e73')"></div> 149 <ul class="md-list"> 150 <li> 151 <div class="md-list-content">
134 ?> 135 <?php foreach ($detaillist as $detail) { 136 $barcode = $detail['barcode']; 137 /// 138 $JSONimagePath = 'https://aminsk.autocats.xyz/GET_IMAGE_LIST.php?barcode=' . $barcode; 139 $getImagesListJSON = file_get_contents($JSONimagePath); 140 $imageListArray = json_decode($getImagesListJSON, true); 141 if(isset($imageListArray['error'])){ 142 $imageListArray[0] = ''; 143 } 144 ///