/var/www/public_zon.by/web/public_http/product_single.php(110)
098 099 <!-- Project Info --> 100 <div class="row"> 101 <!-- Project Slider --> 102 <div class="col-sm-5 site-block"> 103 <div id="project-carousel" class="carousel slide" data-ride="carousel" data-interval="3000"> 104 <!-- Wrapper for slides --> 105 <div class="carousel-inner text-center"> 106 <div class="item active"> 107 <?php 108 $p = strrpos( $product_main['product_image'], '.'); 109 110 $d1 = $product_main['product_image'][$p-6] . $product_main['product_image'][$p-5]; 111 $d2 = $product_main['product_image'][$p-4] . $product_main['product_image'][$p-3]; 112 $d3 = $product_main['product_image'][$p-2] . $product_main['product_image'][$p-1]; 113 114 $pimage['path'] = $d1.'/'.$d2.'/'.$d3.'/'; 115 ?> 116 <img src="http://sqa.zon.by/<?php echo $pimage['path'].$product_main['product_image']; ?>" alt="Фото товара"> 117 </div> 118 <?php 119 if(!empty($product_image)){ 120 foreach($product_image as $pimage){ 121 ?> 122 <div class="item">
#0 |
+
–
/var/www/public_zon.by/fw/yii/framework/base/CErrorHandler.php(128): CErrorHandler->handleError(CErrorEvent) 123 } 124 125 if ($event instanceof CExceptionEvent) 126 $this->handleException ( $event->exception ); 127 else // CErrorEvent 128 $this->handleError ( $event ); 129 } 130 131 /** 132 * Returns the details about the error that is currently being handled. 133 * The error is returned in terms of an array, with the following information: |
#1 |
+
–
/var/www/public_zon.by/fw/yii/framework/base/CApplication.php(838): CErrorHandler->handle(CErrorEvent) 833 $event = new CErrorEvent ( $this, $code, $message, $file, $line ); 834 $this->onError ( $event ); 835 if (! $event->handled) { 836 // try an error handler 837 if (($handler = $this->getErrorHandler ()) !== null) 838 $handler->handle ( $event ); 839 else 840 $this->displayError ( $code, $message, $file, $line ); 841 } 842 } catch ( Exception $e ) { 843 $this->displayException ( $e ); |
#2 |
+
–
/var/www/public_zon.by/web/public_http/product_single.php(110): CApplication->handleError(8, "Uninitialized string offset: -6", "/var/www/public_zon.by/web/public_http/product_single.php", 110, ...) 105 <div class="carousel-inner text-center"> 106 <div class="item active"> 107 <?php 108 $p = strrpos( $product_main['product_image'], '.'); 109 110 $d1 = $product_main['product_image'][$p-6] . $product_main['product_image'][$p-5]; 111 $d2 = $product_main['product_image'][$p-4] . $product_main['product_image'][$p-3]; 112 $d3 = $product_main['product_image'][$p-2] . $product_main['product_image'][$p-1]; 113 114 $pimage['path'] = $d1.'/'.$d2.'/'.$d3.'/'; 115 ?> |