PHP warning

getimagesize(/var/www/yurey/data/www/fujiyama-trading.ru/files/autos/5d4d2ba8d9692_522881_05.jpg): failed to open stream: No such file or directory

/var/www/yurey/data/www/fujiyama-trading.ru/protected/extensions/skyimage/SkyImageAction.php(155)

143         if($parameters[4]!=0)     $this->crop_x = (int)$parameters[4];        
144         if($parameters[5]!=0)     $this->crop_y = (int)$parameters[5];    
145         if($parameters[6]!=0)     $this->quality = (int)$parameters[6];    // Качество
146         if($parameters[1]>300)     $this->mergeimage = 1;    // Качество
147         
148         if(isset($_GET['folder']))    $this->folder    = $_GET['folder'];
149         if(isset($_GET['path']))    $this->path    = $this->root_folder.DIRECTORY_SEPARATOR.$this->folder.DIRECTORY_SEPARATOR.$_GET['path'];
150         
151         
152         $url = Yii::app()->baseUrl.$this->path;
153         $this->fullpath = dirname(Yii::app()->basePath).$this->path;
154     
155         $imageSize = GetImageSize ( $this->fullpath );
156         
157         // Размер изходной картинки
158         $this->origWidth     = $imageSize[0];
159         $this->origHeight = $imageSize[1];
160         
161         // Тип изображения
162         list($type, $mime) = explode("/", $imageSize['mime']);
163         $this->mime = $mime;
164     
165         
166         
167         // Если исходный размер больше заданного

Stack Trace

#0
+
 /var/www/yurey/data/www/fujiyama-trading.ru/protected/extensions/skyimage/SkyImageAction.php(155): getimagesize("/var/www/yurey/data/www/fujiyama-trading.ru/files/autos/5d4d2ba8...")
150         
151         
152         $url = Yii::app()->baseUrl.$this->path;
153         $this->fullpath = dirname(Yii::app()->basePath).$this->path;
154     
155         $imageSize = GetImageSize ( $this->fullpath );
156         
157         // Размер изходной картинки
158         $this->origWidth     = $imageSize[0];
159         $this->origHeight = $imageSize[1];
160         
#8
+
 /var/www/yurey/data/www/fujiyama-trading.ru/protected/components/WebApplicationEndBehavior.php(26): CApplication->run()
21         // Attach the changeModulePaths event handler
22         // and raise it.
23         $this->onModuleCreate = array($this, 'changeModulePaths');
24         $this->onModuleCreate(new CEvent($this->owner));
25  
26         $this->owner->run(); // Run application.
27     }
28  
29     // This event should be raised when CWebApplication
30     // or CWebModule instances are being initialized.
31     public function onModuleCreate($event)
#11
+
 /var/www/yurey/data/www/fujiyama-trading.ru/indexy.php(85): CComponent->__call("runEnd", array("front"))
80 // Remove the following lines when in production mode
81 defined('YII_DEBUG') or define('YII_DEBUG', true);
82 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL', 3);
83  
84 require_once($yii);
85 Yii::createWebApplication($config)->runEnd('front');
86 
87 
88 
89 
90 ?>
2024-04-18 18:46:07 Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips mod_fcgid/2.3.9 PHP/5.4.16 Yii Framework/1.1.12