ErrorException [ Warning ]: getimagesize(http://newauto46.ru/resize/h200//media/images/icons/youtube.jpg): failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden

APPPATH/classes/Controller/Index/Photofact.php [ 54 ]

49 			if(!$cover->loaded()) continue;
50 			$albs[$album->id]['title']=$album->title;
51 			list($x_date,$x_time) = explode(' ',$album->pubdate);
52 			list($xyear,$xmon,$xday) = explode('-', $x_date);
53 			$albs[$album->id]['cover']=$album->first_img();
54 			$size=getimagesize('http://'.$_SERVER['HTTP_HOST'].'/resize/h200/'.$albs[$album->id]['cover']);
55 			$albs[$album->id]['pubdate']=$album->pubdate;
56 			$albs[$album->id]['username']=$album->user->name;
57 			$albs[$album->id]['views']=$album->views;
58 			$albs[$album->id]['width']=$size[0];
59 			$albs[$album->id]['height']=$size[1];
  1. {PHP internal call} » Kohana_Core::error_handler(arguments)

  2. APPPATH/classes/Controller/Index/Photofact.php [ 54 ] » getimagesize(arguments)

  3. SYSPATH/classes/Kohana/Controller.php [ 84 ] » Controller_Index_Photofact->action_index()

  4. {PHP internal call} » Kohana_Controller->execute()

  5. SYSPATH/classes/Kohana/Request/Client/Internal.php [ 97 ] » ReflectionMethod->invoke(arguments)

  6. SYSPATH/classes/Kohana/Request/Client.php [ 114 ] » Kohana_Request_Client_Internal->execute_request(arguments)

  7. SYSPATH/classes/Kohana/Request.php [ 986 ] » Kohana_Request_Client->execute(arguments)

  8. DOCROOT/index.php [ 118 ] » Kohana_Request->execute()

Environment