Call to undefined method Nette\Web\User::isLogedIn().
File: W:\CD-collection\libs\Nette\Utils\ObjectMixin.php Line: 71
Line 64:
Line 65: // extension methods
Line 66: if ($cb = $class->getExtensionMethod($name)) {
Line 67: array_unshift($args, $_this);
Line 68: return $cb->invokeArgs($args);
Line 69: }
Line 70:
Line 71: throw new \MemberAccessException("Call to undefined method $class->name::$name().");
Line 72: }
Line 73:
Line 74:
Line 75:
Line 76: /**
Line 77: * Returns property value.
Line 78: * @param string property name
Utils/Object.php (82) source ► Nette\ObjectMixin:: call (arguments ►)
| $_this | Nette\Web\User(8) ► |
|---|---|
| $name | "isLogedIn" (9) |
| $args | array(0)
|
Line 75: * @param string method name
Line 76: * @param array arguments
Line 77: * @return mixed
Line 78: * @throws \MemberAccessException
Line 79: */
Line 80: public function __call($name, $args)
Line 81: {
Line 82: return ObjectMixin::call($this, $name, $args);
Line 83: }
Line 84:
Line 85:
Line 86:
Line 87: /**
Line 88: * Call to undefined static method.
Line 89: * @param string method name (in lower case!)
presenters/DashboardPresenter.php (14) source ► Nette\Object-> __call (arguments ►)
| $name | "isLogedIn" (9) |
|---|---|
| $args | array(0)
|
Line 7:
Line 8: class DashboardPresenter extends BasePresenter
Line 9: {
Line 10:
Line 11: protected function startup()
Line 12: {
Line 13: // user authentication
Line 14: if (!$this->user->isLogedIn()) {
Line 15: if ($this->user->logoutReason === Nette\Web\User::INACTIVITY) {
Line 16: $this->flashMessage('You have been signed out due to inactivity. Please sign in again.');
Line 17: }
Line 18: $backlink = $this->application->storeRequest();
Line 19: $this->redirect('Sign:in', array('backlink' => $backlink));
Line 20: }
Line 21:
presenters/DashboardPresenter.php (14) source ► Nette\Web\User-> isLogedIn ()
Line 7:
Line 8: class DashboardPresenter extends BasePresenter
Line 9: {
Line 10:
Line 11: protected function startup()
Line 12: {
Line 13: // user authentication
Line 14: if (!$this->user->isLogedIn()) {
Line 15: if ($this->user->logoutReason === Nette\Web\User::INACTIVITY) {
Line 16: $this->flashMessage('You have been signed out due to inactivity. Please sign in again.');
Line 17: }
Line 18: $backlink = $this->application->storeRequest();
Line 19: $this->redirect('Sign:in', array('backlink' => $backlink));
Line 20: }
Line 21:
Application/Presenter.php (157) source ► DashboardPresenter-> startup ()
Line 150: try {
Line 151: // STARTUP
Line 152: $this->request = $request;
Line 153: $this->payload = (object) NULL;
Line 154: $this->setParent($this->getParent(), $request->getPresenterName());
Line 155:
Line 156: $this->initGlobalParams();
Line 157: $this->startup();
Line 158: if (!$this->startupCheck) {
Line 159: $class = $this->reflection->getMethod('startup')->getDeclaringClass()->getName();
Line 160: throw new \InvalidStateException("Method $class::startup() or its descendant doesn't call parent::startup().");
Line 161: }
Line 162: // calls $this->action<Action>()
Line 163: $this->tryCall($this->formatActionMethod($this->getAction()), $this->params);
Line 164:
Application/Application.php (135) source ► Nette\Application\Presenter-> run (arguments ►)
| $request | Nette\Application\PresenterRequest(7) ► |
|---|
Line 128: } catch (InvalidPresenterException $e) {
Line 129: throw new BadRequestException($e->getMessage(), 404, $e);
Line 130: }
Line 131: $request->freeze();
Line 132:
Line 133: // Execute presenter
Line 134: $this->presenter = new $class;
Line 135: $response = $this->presenter->run($request);
Line 136: $this->onResponse($this, $response);
Line 137:
Line 138: // Send response
Line 139: if ($response instanceof ForwardingResponse) {
Line 140: $request = $response->getRequest();
Line 141: continue;
Line 142:
app/bootstrap.php (58) source ► Nette\Application\Application-> run ()
Line 51: } else {
Line 52: $router[] = new SimpleRouter('Dashboard:default');
Line 53: }
Line 54:
Line 55:
Line 56:
Line 57: // Step 5: Run the application!
Line 58: $application->run();
Line 59:
document_root/index.php (16) source ► require (arguments ►)
| #0 | "W:\CD-collection\app\bootstrap.php" (34) |
|---|
Line 9: // absolute filesystem path to the libraries
Line 10: define('LIBS_DIR', WWW_DIR . '/../libs');
Line 11:
Line 12: // absolute filesystem path to the temporary files
Line 13: define('TEMP_DIR', WWW_DIR . '/../temp');
Line 14:
Line 15: // load bootstrap file
Line 16: require APP_DIR . '/bootstrap.php';
Line 17:
array(1) ▼ [
0 => Nette\Application\PresenterRequest(7) ► {
"method" private => "GET" (3)
"flags" private => array(1) ▼ {
"secured" => FALSE
}
"name" private => "Dashboard" (9)
"params" private => array(1) ▼ {
"action" => "default" (7)
}
"post" private => array(0)
"files" private => array(0)
"frozen" private => TRUE
}
]
DashboardPresenter(26) ► {
"onShutdown" => NULL
"request" private => Nette\Application\PresenterRequest(7) ► {
"method" private => "GET" (3)
"flags" private => array(1) ▼ {
"secured" => FALSE
}
"name" private => "Dashboard" (9)
"params" private => array(1) ▼ {
"action" => "default" (7)
}
"post" private => array(0)
"files" private => array(0)
"frozen" private => TRUE
}
"response" private => NULL
"autoCanonicalize" => TRUE
"absoluteUrls" => FALSE
"globalParams" private => array(0)
"globalState" private => NULL
"globalStateSinces" private => NULL
"action" private => "default" (7)
"view" private => "default" (7)
"layout" private => NULL
"payload" private => stdClass(0)
"signalReceiver" private => ""
"signal" private => NULL
"ajaxMode" private => FALSE
"startupCheck" private => NULL
"lastCreatedRequest" private => NULL
"lastCreatedRequestFlag" private => NULL
"template" private => NULL
"invalidSnippets" private => array(0)
"params" protected => array(1) ▼ {
"action" => "default" (7)
}
"components" private => array(0)
"cloning" private => NULL
"parent" private => NULL
"name" private => "Dashboard" (9)
"monitors" private => array(1) ▼ {
"Nette\Application\Presenter" => array(4) ▼ [
0 => NULL
1 => NULL
2 => NULL
3 => TRUE
]
}
}
| WWW_DIR | "W:\CD-collection\document_root" (30) |
|---|---|
| APP_DIR | "W:\CD-collection\document_root/../app" (37) |
| LIBS_DIR | "W:\CD-collection\document_root/../libs" (38) |
| TEMP_DIR | "W:\CD-collection\document_root/../temp" (38) |
| NETTE | TRUE |
| NETTE_DIR | "W:\CD-collection\libs\Nette" (27) |
| NETTE_VERSION_ID | 20000 |
| NETTE_PACKAGE | "5.3" (3) |
| W:\CD-collection\document_root\index.php |
| W:\CD-collection\app\bootstrap.php |
| W:\CD-collection\libs\Nette\loader.php |
| W:\CD-collection\libs\Nette\Utils\shortcuts.php |
| W:\CD-collection\libs\Nette\Utils\exceptions.php |
| W:\CD-collection\libs\Nette\Utils\Framework.php |
| W:\CD-collection\libs\Nette\Utils\Object.php |
| W:\CD-collection\libs\Nette\Utils\ObjectMixin.php |
| W:\CD-collection\libs\Nette\Utils\Callback.php |
| W:\CD-collection\libs\Nette\Loaders\LimitedScope.php |
| W:\CD-collection\libs\Nette\Loaders\AutoLoader.php |
| W:\CD-collection\libs\Nette\Loaders\NetteLoader.php |
| W:\CD-collection\libs\Nette\Debug\Debug.php |
| W:\CD-collection\libs\Nette\Debug\DebugPanel.php |
| W:\CD-collection\libs\Nette\Debug\IDebugPanel.php |
| W:\CD-collection\libs\Nette\Environment\Environment.php |
| W:\CD-collection\libs\Nette\Environment\Configurator.php |
| W:\CD-collection\libs\Nette\Config\Config.php |
| W:\CD-collection\libs\Nette\Config\ConfigAdapterIni.php |
| W:\CD-collection\libs\Nette\Config\IConfigAdapter.php |
| W:\CD-collection\libs\Nette\Utils\ArrayTools.php |
| W:\CD-collection\libs\Nette\Utils\Iterators\GenericRecursiveIterator.php |
| W:\CD-collection\libs\Nette\Utils\Context.php |
| W:\CD-collection\libs\Nette\Utils\FreezableObject.php |
| W:\CD-collection\libs\Nette\Utils\IFreezable.php |
| W:\CD-collection\libs\Nette\Utils\IContext.php |
| W:\CD-collection\libs\Nette\Loaders\RobotLoader.php |
| W:\CD-collection\libs\Nette\Caching\FileStorage.php |
| W:\CD-collection\libs\Nette\Caching\ICacheStorage.php |
| W:\CD-collection\libs\Nette\Caching\Cache.php |
| W:\CD-collection\libs\Nette\Web\HttpRequest.php |
| W:\CD-collection\libs\Nette\Web\IHttpRequest.php |
| W:\CD-collection\libs\Nette\Web\UriScript.php |
| W:\CD-collection\libs\Nette\Web\Uri.php |
| W:\CD-collection\libs\Nette\Utils\String.php |
| W:\CD-collection\libs\Nette\Application\Application.php |
| W:\CD-collection\libs\Nette\Application\Routers\MultiRouter.php |
| W:\CD-collection\libs\Nette\Utils\ArrayList.php |
| W:\CD-collection\libs\Nette\Application\IRouter.php |
| W:\CD-collection\libs\Nette\Application\Routers\Route.php |
| W:\CD-collection\libs\Nette\Web\HttpResponse.php |
| W:\CD-collection\libs\Nette\Web\IHttpResponse.php |
| W:\CD-collection\libs\Nette\Web\Session.php |
| W:\CD-collection\libs\Nette\Security\Identity.php |
| W:\CD-collection\libs\Nette\Security\IIdentity.php |
| W:\CD-collection\libs\Nette\Reflection\ClassReflection.php |
| W:\CD-collection\libs\Nette\Reflection\AnnotationsParser.php |
| W:\CD-collection\libs\Nette\Reflection\PropertyReflection.php |
| W:\CD-collection\app\models\Albums.php |
| W:\CD-collection\libs\dibi\dibi\dibi.php |
| W:\CD-collection\libs\dibi\dibi\libs\interfaces.php |
| W:\CD-collection\libs\dibi\dibi\libs\DibiDateTime.php |
| W:\CD-collection\libs\dibi\dibi\libs\DibiObject.php |
| W:\CD-collection\libs\dibi\dibi\libs\DibiLazyStorage.php |
| W:\CD-collection\libs\dibi\dibi\libs\DibiException.php |
| W:\CD-collection\libs\dibi\dibi\libs\DibiConnection.php |
| W:\CD-collection\libs\dibi\dibi\libs\DibiResult.php |
| W:\CD-collection\libs\dibi\dibi\libs\DibiResultIterator.php |
| W:\CD-collection\libs\dibi\dibi\libs\DibiRow.php |
| W:\CD-collection\libs\dibi\dibi\libs\DibiTranslator.php |
| W:\CD-collection\libs\dibi\dibi\libs\DibiDataSource.php |
| W:\CD-collection\libs\dibi\dibi\libs\DibiFluent.php |
| W:\CD-collection\libs\dibi\dibi\libs\DibiDatabaseInfo.php |
| W:\CD-collection\libs\dibi\dibi\libs\DibiProfiler.php |
| W:\CD-collection\libs\dibi\dibi\drivers\sqlite.php |
| W:\CD-collection\libs\dibi\dibi\drivers\sqlite.reflector.php |
| W:\CD-collection\libs\Nette\Application\RoutingDebugger.php |
| W:\CD-collection\libs\Nette\Application\PresenterRequest.php |
| W:\CD-collection\libs\Nette\Application\PresenterLoader.php |
| W:\CD-collection\libs\Nette\Application\IPresenterLoader.php |
| W:\CD-collection\app\presenters\DashboardPresenter.php |
| W:\CD-collection\app\presenters\BasePresenter.php |
| W:\CD-collection\libs\Nette\Application\Presenter.php |
| W:\CD-collection\libs\Nette\Application\Control.php |
| W:\CD-collection\libs\Nette\Application\PresenterComponent.php |
| W:\CD-collection\libs\Nette\ComponentModel\ComponentContainer.php |
| W:\CD-collection\libs\Nette\ComponentModel\Component.php |
| W:\CD-collection\libs\Nette\ComponentModel\IComponent.php |
| W:\CD-collection\libs\Nette\ComponentModel\IComponentContainer.php |
| W:\CD-collection\libs\Nette\Application\ISignalReceiver.php |
| W:\CD-collection\libs\Nette\Application\IStatePersistent.php |
| W:\CD-collection\libs\Nette\Application\IRenderable.php |
| W:\CD-collection\libs\Nette\Application\IPresenter.php |
| W:\CD-collection\libs\Nette\Application\PresenterComponentReflection.php |
| W:\CD-collection\libs\Nette\Web\User.php |
| W:\CD-collection\libs\Nette\Web\IUser.php |
| W:\CD-collection\libs\Nette\Debug\templates\bluescreen.phtml |
| HTTP_USER_AGENT | "Opera/9.80 (Windows NT 6.1; U; cs) Presto/2.6.30 Version/10.63" (62) |
|---|---|
| HTTP_HOST | "localhost" (9) |
| HTTP_ACCEPT | "text/html, application/xml;q=0.9, application/xhtml+xml, image/png, image/jpeg, image/gif, image/x-xbitmap, */*;q=0.1" (117) |
| HTTP_ACCEPT_LANGUAGE | "cs-CZ,en;q=0.9,cs;q=0.8" (23) |
| HTTP_ACCEPT_CHARSET | "iso-8859-1, utf-8, utf-16, *;q=0.1" (34) |
| HTTP_ACCEPT_ENCODING | "deflate, gzip, x-gzip, identity, *;q=0" (38) |
| HTTP_COOKIE | "PHPSESSID=ftcl4s1t8nsg88entd85k3ocu5; nette-browser=0.37227050996851" (68) |
| HTTP_COOKIE2 | "$Version=1" (10) |
| HTTP_CACHE_CONTROL | "no-cache" (8) |
| HTTP_CONNECTION | "Keep-Alive, TE" (14) |
| HTTP_TE | "deflate, gzip, chunked, identity, trailers" (42) |
| PATH | "C:\Program Files\NVIDIA Corporation\PhysX\Common;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;c ... " (376) |
| SystemRoot | "C:\Windows" (10) |
| COMSPEC | "C:\Windows\system32\cmd.exe" (27) |
| PATHEXT | ".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC" (53) |
| WINDIR | "C:\Windows" (10) |
| SERVER_SIGNATURE | "" |
| SERVER_SOFTWARE | "Apache/2.2.11 (Win32) PHP/5.3.3" (31) |
| SERVER_NAME | "localhost" (9) |
| SERVER_ADDR | "127.0.0.1" (9) |
| SERVER_PORT | "80" (2) |
| REMOTE_ADDR | "127.0.0.1" (9) |
| DOCUMENT_ROOT | "W:/" (3) |
| SERVER_ADMIN | "david@grudl.com" (15) |
| SCRIPT_FILENAME | "W:/CD-collection/document_root/index.php" (40) |
| REMOTE_PORT | "61294" (5) |
| GATEWAY_INTERFACE | "CGI/1.1" (7) |
| SERVER_PROTOCOL | "HTTP/1.1" (8) |
| REQUEST_METHOD | "GET" (3) |
| QUERY_STRING | "" |
| REQUEST_URI | "/CD-collection/document_root/index.php" (38) |
| SCRIPT_NAME | "/CD-collection/document_root/index.php" (38) |
| PHP_SELF | "/CD-collection/document_root/index.php" (38) |
| REQUEST_TIME | 1288018018 |
| User-Agent | Opera/9.80 (Windows NT 6.1; U; cs) Presto/2.6.30 Version/10.63 |
|---|---|
| Host | localhost |
| Accept | text/html, application/xml;q=0.9, application/xhtml+xml, image/png, image/jpeg, image/gif, image/x-xbitmap, */*;q=0.1 |
| Accept-Language | cs-CZ,en;q=0.9,cs;q=0.8 |
| Accept-Charset | iso-8859-1, utf-8, utf-16, *;q=0.1 |
| Accept-Encoding | deflate, gzip, x-gzip, identity, *;q=0 |
| Cookie | PHPSESSID=ftcl4s1t8nsg88entd85k3ocu5; nette-browser=0.37227050996851 |
| Cookie2 | $Version=1 |
| Cache-Control | no-cache |
| Connection | Keep-Alive, TE |
| TE | deflate, gzip, chunked, identity, trailers |
empty
empty
| PHPSESSID | "ftcl4s1t8nsg88entd85k3ocu5" (26) |
|---|---|
| nette-browser | "0.37227050996851" (16) |
X-Powered-By: Nette Framework
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: PHPSESSID=ftcl4s1t8nsg88entd85k3ocu5; path=/; httponly
Set-Cookie: nette-browser=0.37227050996851; path=/; httponly
Content-type: text/html