ErrorException

HTTP 500 Whoops, looks like something went wrong.

getimagesize(/home/sintek/web/test.9000.com.ua/public_html/images/default.png): failed to open stream: No such file or directory

Exception

ErrorException

  1.         } else {
  2.             $image_size getimagesize($image);
  3.         }
  4.     } else {
  5.         $image __DIR__ '/images/default.png';
  6.         $image_size getimagesize($image);
  7.         $watermark false;
  8.     }
  9.     if (is_array($image_size)) {
  10.         switch ($image_size[2]) {
  1.         //ini_set('error_log' , '/home/solomono/web/solomono.net/sites/dev/php.log');
  2.         error_reporting(E_ALL);
  3.         set_error_handler(function ($level$message$file ''$line 0) {
  4.             $this->handleError($level$message$file$line);
  5.         });
  6.         set_exception_handler(function ($e) {
  7.             $this->handleException($e);
  8.         });
HandleExceptions->Bootstrap\{closure}()
  1.         } else {
  2.             $image_size getimagesize($image);
  3.         }
  4.     } else {
  5.         $image __DIR__ '/images/default.png';
  6.         $image_size getimagesize($image);
  7.         $watermark false;
  8.     }
  9.     if (is_array($image_size)) {
  10.         switch ($image_size[2]) {
include('/home/sintek/web/test.9000.com.ua/public_html/r_imgs.php') in /home/sintek/web/test.9000.com.ua/public_html/ext/watermark/watermark.php (line 14)
  1.       $watermark_size getimagesize($watermark_path);
  2.     if ($watermark_size['mime'] == 'image/png') {
  3.         $watermark imagecreatefrompng($watermark_path);
  4.     }
  5. }
  6.   include('../r_imgs.php');

Stack Trace

ErrorException
ErrorException:
getimagesize(/home/sintek/web/test.9000.com.ua/public_html/images/default.png): failed to open stream: No such file or directory

  at /home/sintek/web/test.9000.com.ua/public_html/r_imgs.php:105
  at Bootstrap\HandleExceptions->handleError()
     (/home/sintek/web/test.9000.com.ua/public_html/bootstrap/HandleExceptions.php:32)
  at Bootstrap\HandleExceptions->Bootstrap\{closure}()
  at getimagesize()
     (/home/sintek/web/test.9000.com.ua/public_html/r_imgs.php:105)
  at include('/home/sintek/web/test.9000.com.ua/public_html/r_imgs.php')
     (/home/sintek/web/test.9000.com.ua/public_html/ext/watermark/watermark.php:14)                
mime_content_type(/home/sintek/web/test.9000.com.ua/public_html/images/default.png): failed to open stream: No such file or directory (500 Whoops, looks like something went wrong.)

ErrorException

HTTP 500 Whoops, looks like something went wrong.

mime_content_type(/home/sintek/web/test.9000.com.ua/public_html/images/default.png): failed to open stream: No such file or directory

Exception

ErrorException

  1.   //      file_put_contents('rimg.log','creating: '.$new_file_path.' '.(microtime(true)-$time).PHP_EOL,FILE_APPEND);
  2.         imagedestroy($thumb);
  3.         die;
  4.     } elseif (mime_content_type($image) == 'image/svg+xml') { //svg
  5.         header("Content-Type: image/svg+xml");
  6.         echo file_get_contents($image);
  7.     }
  8. } else {
  9.     header("HTTP/1.0 301 Moved Permanently");
  1.         //ini_set('error_log' , '/home/solomono/web/solomono.net/sites/dev/php.log');
  2.         error_reporting(E_ALL);
  3.         set_error_handler(function ($level$message$file ''$line 0) {
  4.             $this->handleError($level$message$file$line);
  5.         });
  6.         set_exception_handler(function ($e) {
  7.             $this->handleException($e);
  8.         });
HandleExceptions->Bootstrap\{closure}()
  1.   //      file_put_contents('rimg.log','creating: '.$new_file_path.' '.(microtime(true)-$time).PHP_EOL,FILE_APPEND);
  2.         imagedestroy($thumb);
  3.         die;
  4.     } elseif (mime_content_type($image) == 'image/svg+xml') { //svg
  5.         header("Content-Type: image/svg+xml");
  6.         echo file_get_contents($image);
  7.     }
  8. } else {
  9.     header("HTTP/1.0 301 Moved Permanently");
include('/home/sintek/web/test.9000.com.ua/public_html/r_imgs.php') in /home/sintek/web/test.9000.com.ua/public_html/ext/watermark/watermark.php (line 14)
  1.       $watermark_size getimagesize($watermark_path);
  2.     if ($watermark_size['mime'] == 'image/png') {
  3.         $watermark imagecreatefrompng($watermark_path);
  4.     }
  5. }
  6.   include('../r_imgs.php');

Stack Trace

ErrorException
ErrorException:
mime_content_type(/home/sintek/web/test.9000.com.ua/public_html/images/default.png): failed to open stream: No such file or directory

  at /home/sintek/web/test.9000.com.ua/public_html/r_imgs.php:338
  at Bootstrap\HandleExceptions->handleError()
     (/home/sintek/web/test.9000.com.ua/public_html/bootstrap/HandleExceptions.php:32)
  at Bootstrap\HandleExceptions->Bootstrap\{closure}()
  at mime_content_type()
     (/home/sintek/web/test.9000.com.ua/public_html/r_imgs.php:338)
  at include('/home/sintek/web/test.9000.com.ua/public_html/r_imgs.php')
     (/home/sintek/web/test.9000.com.ua/public_html/ext/watermark/watermark.php:14)