BadRequestException #404

Stránka nenalezena

Source file

File: /home/web/drevospol.eu/www/_nette/app/presenters/Web.php   Line: 41

Line 34:            } else {
Line 35:                $pageAll $page Web::getPageByHome($this->lang);
Line 36:            }
Line 37:    
Line 38:            $i 0;
Line 39:    
Line 40:            if (!$page) {
Line 41:                throw new BadRequestException('Stránka nenalezena', 404);
Line 42:            }
Line 43:    
Line 44:    
Line 45:            while (count($page) > $i) {
Line 46:                $page[$i]['anotace'] = $this->replaceAll($page[$i]['anotace']);
Line 47:                $page[$i]['text'] = $this->replaceAll($page[$i]['text']);
Line 48:                $page[$i]['title'] = $page[$i]['title'] . (($i 0) ? " | Strana $i'');

Call stack

  1. <PHP inner-code> WebPresenter-> actionPage (arguments )

  2. Reflection/MethodReflection.php (77) source   ReflectionMethod-> invokeArgs (arguments )

  3. Application/PresenterComponent.php (95) source   MethodReflection-> invokeNamedArgs (arguments )

  4. Application/Presenter.php (160) source   PresenterComponent-> tryCall (arguments )

  5. Application/Application.php (147) source   Presenter-> run (arguments )

  6. app/bootstrap.php (145) source   Application-> run ()

  7. www/index.php (13) source   require (arguments )

Nette Application

Environment

HTTP request

HTTP response