Уважаемые помогите разобраться также в чем здесь ошибки?
APPPATH\classes\controller\widgets.
php [ 15 ]
10 $widget_name = Request::current()->controller(); // название виджета
11 $controller = Request::initial()->controller(); // контроллер
12 $action = Request::initial()->action(); // экшен
13
14 // Загружаем файл конфигураций
15 $widget_config = Kohana::config("widgets.$widget_name.$controller");
16
17 // Запрещаем вывод виджета в экшенах, указанных в конфигах
18 if ($widget_config != NULL)
19 {
20 if (in_array($action, $widget_config))
{PHP internal call} » Kohana_Core::shutdown_handler()
и почему вообще эта появляеться (в другом случае)
SYSPATH\classes\kohana\view.
php [ 252 ]
*/
248 public function set_filename($file)
249 {
250 if (($path = Kohana::find_file('views', $file)) === FALSE)
251 {
252 throw new View_Exception('The requested view :file could not be found', array(
253 ':file' => $file,
254 ));
255 }
256
257 // Store the file path locally
SYSPATH\classes\kohana\view.
php [ 137 ] » Kohana_View->set_filename(arguments)
SYSPATH\classes\kohana\view.
php [ 30 ] » Kohana_View->__construct(arguments)
SYSPATH\classes\kohana\controller\template.
php [ 33 ] » Kohana_View::factory(arguments)
APPPATH\classes\controller\widgets.
php [ 8 ] » Kohana_Controller_Template->before()
{PHP internal call} » Controller_Widgets->before()
SYSPATH\classes\kohana\request\client\internal.
php [ 103 ] » ReflectionMethod->invoke(arguments)
SYSPATH\classes\kohana\request\client.
php [ 64 ] » Kohana_Request_Client_Internal->execute_request(arguments)
SYSPATH\classes\kohana\request.
php [ 1138 ] » Kohana_Request_Client->execute(arguments)
APPPATH\classes\controller\base.
php [ 34 ] » Kohana_Request->execute()
APPPATH\classes\controller\base.
php [ 17 ] » Controller_Base->widget_load(arguments)
APPPATH\classes\controller\index.
php [ 8 ] » Controller_Base->before()
{PHP internal call} » Controller_Index->before()
SYSPATH\classes\kohana\request\client\internal.
php [ 103 ] » ReflectionMethod->invoke(arguments)
SYSPATH\classes\kohana\request\client.
php [ 64 ] » Kohana_Request_Client_Internal->execute_request(arguments)
SYSPATH\classes\kohana\request.
php [ 1138 ] » Kohana_Request_Client->execute(arguments)
DOCROOT\index.
php [ 109 ] » Kohana_Request->execute()