Bao_Exception_Unauthorized Detected!

Vous n'avez pas les autorisations nécessaires pour accéder à l'action error404 de Default_Controller_Admin_Error.

Stack Trace

1. In /var/www/mychaise/www/modules/Acl/Plugins/Init.php, line 71

  1.                 }
  2.  
  3.                 Bao_Controller_Front::getInstance()->getPlugins()->unregister($this);
  4.  
  5.                 if (!Bao_Helper_Acl::isAllowed($user, $resource, $request->getParam('action'))) {
  6.                         throw new Bao_Exception_Unauthorized(sprintf('Vous n\'avez pas les autorisations nécessaires pour accéder à l\'action %s de %s.', $request->getParam('action'), $resource));
  7.                 }
  8.         }
  9.  
  10.         protected function buildResourceName($request)
  11.         {
  12.  

2. In /var/www/mychaise/www/library/Bao/Controller/Plugin/Manager.php, line 84

  1.         }
  2.  
  3.         public function preAction(Bao_Controller_Request $request)
  4.         {
  5.                 foreach ($this->plugins as $plugin) {
  6.                         $plugin->preAction($request);
  7.                 }
  8.                 return $this;
  9.         }
  10.  
  11.         public function postAction(Bao_Controller_Request $request)
  12.  

3. In /var/www/mychaise/www/library/Bao/Controller/Dispatcher.php, line 67

  1.                 if (!$reflection_class->hasMethod($action_method_name)) {
  2.                         throw new Bao_Exception_ActionNotFound("Action '$action_method_name' de '$controller_class_name' introuvable.");
  3.                 }
  4.  
  5.                 // preAction
  6.                 $front->getPlugins()->preAction($request);
  7.  
  8.                 $context = null;
  9.  
  10.                 // Execution de l'action du controller
  11.                 $context = $reflection_class->getMethod($action_method_name)->invoke($controller_instance);
  12.  

4. In /var/www/mychaise/www/library/Bao/Controller/Front.php, line 211

  1.                         ->addParam('controller', $controller)
  2.                         ->addParam('action', $action);
  3.  
  4.                 $dispatcher = $this->getDispatcher();
  5.  
  6.                 $dispatcher->dispatch($this->request, $this->response);
  7.                 $this->response->setDisableAutoRenderView();
  8.         }
  9.  
  10.         public function action($module, $controller, $action, array $params = array())
  11.         {
  12.  

5. In /var/www/mychaise/www/library/Bao/Controller/Front.php, line 180

  1.                         $this
  2.                                 ->response
  3.                                 ->setStatusHeader($status_header)
  4.                                 ->setDisableAutoRenderView(false);
  5.  
  6.                         $this->forward('default', 'error', $action, $params);
  7.  
  8.                         $data                   = Bao_Layout::getInstance()->getContext();
  9.                         $body                   = $this->response->getBody();
  10.                         $layout                 = new Bao_Layout();
  11.                         $layout_name    = (($this->request->getParam('admin', false)) ? 'admin' : 'index');
  12.  

6. In /var/www/mychaise/www/public/index.php, line 147

  1.  
  2. $geshi                          = new GeSHi();
  3. $exceptionHandler       = new ExceptionHandler($libraryPath, $geshi);
  4. $errorHandler           = new ErrorHandler($libraryPath, $geshi);
  5.  
  6. $front->dispatch();
  7.  

Coded by DjLeChuck & stylized by Aenyhm.