ErrorException [ Warning ]: getimagesize(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0

APPPATH/views/site/news/showArticle.php [ 154 ]

149                         if ($file_headers[0] == 'HTTP/1.0 404 Not Found') {
150                             echo "The file does not exist";
151                         } else if ($file_headers[0] == 'HTTP/1.0 302 Found' && $file_headers[7] == 'HTTP/1.0 404 Not Found') {
152                             echo "The file does not exist, and I got redirected to a custom 404 page..";
153                         } else {
154                             list($widthimg, $heightimg) = getimagesize($Master_Base . $value->img_thumb);
155 
156                             $ratio = $widthimg / $heightimg;
157 
158                             if ($ratio > 1) {
159                                 $need_width = $max_width;
  1. {PHP internal call} » Kohana_Core::error_handler(arguments)

  2. APPPATH/views/site/news/showArticle.php [ 154 ] » getimagesize(arguments)

  3. SYSPATH/classes/Kohana/View.php [ 62 ] » include(arguments)

  4. SYSPATH/classes/Kohana/View.php [ 359 ] » Kohana_View::capture(arguments)

  5. SYSPATH/classes/Kohana/View.php [ 236 ] » Kohana_View->render()

  6. APPPATH/views/templates/site.php [ 386 ] » Kohana_View->__toString()

  7. SYSPATH/classes/Kohana/View.php [ 62 ] » include(arguments)

  8. SYSPATH/classes/Kohana/View.php [ 359 ] » Kohana_View::capture(arguments)