Undefined index: widgetId
File: /data/www/www.vyveska.sk/public_html/widget.vyveska.sk/app/presenters/ShowWidgetPresenter.php Line: 19
Line 12:
Line 13: $render_type = 'database';
Line 14: //$render_type = 'cache';
Line 15:
Line 16: // cache object
Line 17: $cache = new Logger();
Line 18:
Line 19: if(!$cache->is_cached($getParams["widgetId"])) {
Line 20: // not cached widgets are retrieved directly from db
Line 21:
Line 22: // echo 'database';
Line 23: $render_type = 'database';
Line 24:
Line 25: }
Line 26:
presenters/ShowWidgetPresenter.php (19) source ► NDebug:: _errorHandler (arguments ►)
$severity | 8 |
---|---|
$message | "Undefined index: widgetId" (25) |
$file | "/data/www/www.vyveska.sk/public_html/widget.vyveska.sk/app/presenters/ShowWidgetPresenter.php" (93) |
$line | 19 |
$context | array(4) ▼ |
Line 12:
Line 13: $render_type = 'database';
Line 14: //$render_type = 'cache';
Line 15:
Line 16: // cache object
Line 17: $cache = new Logger();
Line 18:
Line 19: if(!$cache->is_cached($getParams["widgetId"])) {
Line 20: // not cached widgets are retrieved directly from db
Line 21:
Line 22: // echo 'database';
Line 23: $render_type = 'database';
Line 24:
Line 25: }
Line 26:
<PHP inner-code> ShowWidgetPresenter-> actionDefault ()
Reflection/MethodReflection.php (76) source ► ReflectionMethod-> invokeArgs (arguments ►)
$object | ShowWidgetPresenter(29) ► |
---|---|
$args | array(0)
|
Line 69: settype($val, gettype($def));
Line 70: }
Line 71: $res[$i++] = $val;
Line 72: } else {
Line 73: $res[$i++] = $def;
Line 74: }
Line 75: }
Line 76: return $this->invokeArgs($object, $res);
Line 77: }
Line 78:
Line 79:
Line 80:
Line 81: /**
Line 82: * @return NCallback
Line 83: */
Application/PresenterComponent.php (94) source ► NMethodReflection-> invokeNamedArgs (arguments ►)
$object | ShowWidgetPresenter(29) ► |
---|---|
$args | array(5) ▼ |
Line 87: */
Line 88: protected function tryCall($method, array $params)
Line 89: {
Line 90: $rc = $this->getReflection();
Line 91: if ($rc->hasMethod($method)) {
Line 92: $rm = $rc->getMethod($method);
Line 93: if ($rm->isPublic() && !$rm->isAbstract() && !$rm->isStatic()) {
Line 94: $rm->invokeNamedArgs($this, $params);
Line 95: return TRUE;
Line 96: }
Line 97: }
Line 98: return FALSE;
Line 99: }
Line 100:
Line 101:
Application/Presenter.php (177) source ► NPresenterComponent-> tryCall (arguments ►)
$method | "actiondefault" (13) |
---|---|
$params | array(5) ▼ |
Line 170: $this->initGlobalParams();
Line 171: $this->startup();
Line 172: if (!$this->startupCheck) {
Line 173: $class = $this->reflection->getMethod('startup')->getDeclaringClass()->getName();
Line 174: trigger_error("Method $class::startup() or its descendant doesn't call parent::startup().", E_USER_WARNING);
Line 175: }
Line 176: // calls $this->action<Action>()
Line 177: $this->tryCall($this->formatActionMethod($this->getAction()), $this->params);
Line 178:
Line 179: if ($this->autoCanonicalize) {
Line 180: $this->canonicalize();
Line 181: }
Line 182: if ($this->getHttpRequest()->isMethod('head')) {
Line 183: $this->terminate();
Line 184: }
Application/Application.php (144) source ► NPresenter-> run (arguments ►)
$request | NPresenterRequest(7) ► |
---|
Line 137: } catch (NInvalidPresenterException $e) {
Line 138: throw new NBadRequestException($e->getMessage(), 404, $e);
Line 139: }
Line 140: $request->freeze();
Line 141:
Line 142: // Execute presenter
Line 143: $this->presenter = new $class;
Line 144: $response = $this->presenter->run($request);
Line 145:
Line 146: // Send response
Line 147: if ($response instanceof NForwardingResponse) {
Line 148: $request = $response->getRequest();
Line 149: continue;
Line 150:
Line 151: } elseif ($response instanceof IPresenterResponse) {
app/bootstrap.php (63) source ► NApplication-> run ()
Line 56: 'presenter' => 'Homepage',
Line 57: 'action' => 'default',
Line 58: 'id' => NULL,
Line 59: ));
Line 60:
Line 61:
Line 62: // Step 5: Run the application!
Line 63: $application->run();
Line 64:
public/index.php (13) source ► require (arguments ►)
#0 | "/data/www/www.vyveska.sk/public_html/widget.vyveska.sk/app/bootstrap.php" (72) |
---|
Line 6: // absolute filesystem path to the application root
Line 7: define('APP_DIR', WWW_DIR . '/../app');
Line 8:
Line 9: // absolute filesystem path to the libraries
Line 10: define('LIBS_DIR', WWW_DIR . '/../libs');
Line 11:
Line 12: // load bootstrap file
Line 13: require APP_DIR . '/bootstrap.php';
Line 14:
$request | NPresenterRequest(7) ► |
---|---|
$getParams | array(5) ▼ |
$render_type | "database" (8) |
$cache | Logger(1) ▼ |
array(1) ▼ [
0 => NPresenterRequest(7) ► {
"method" private => "GET" (3)
"flags" private => array(1) ▼ {
"secured" => FALSE
}
"name" private => "ShowWidget" (10)
"params" private => array(5) ▼ {
"action" => "default" (7)
"id" => NULL
"utm_source" => "Podujatia_219bEm" (16)
"utm_content" => ""
"utm_medium" => "widget" (6)
}
"post" private => array(0)
"files" private => array(0)
"frozen" private => TRUE
}
]
ShowWidgetPresenter(29) ► {
"oldLayoutMode" => FALSE
"onShutdown" => NULL
"oldModuleMode" => TRUE
"request" private => NPresenterRequest(7) ► {
"method" private => "GET" (3)
"flags" private => array(1) ▼ {
"secured" => FALSE
}
"name" private => "ShowWidget" (10)
"params" private => array(5) ▼ {
"action" => "default" (7)
"id" => NULL
"utm_source" => "Podujatia_219bEm" (16)
"utm_content" => ""
"utm_medium" => "widget" (6)
}
"post" private => array(0)
"files" private => array(0)
"frozen" private => TRUE
}
"response" private => NULL
"phase" private => 1
"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 => TRUE
"lastCreatedRequest" private => NULL
"lastCreatedRequestFlag" private => NULL
"template" private => NULL
"invalidSnippets" private => array(0)
"params" protected => array(5) ▼ {
"action" => "default" (7)
"id" => NULL
"utm_source" => "Podujatia_219bEm" (16)
"utm_content" => ""
"utm_medium" => "widget" (6)
}
"components" private => array(0)
"cloning" private => NULL
"parent" private => NULL
"name" private => "ShowWidget" (10)
"monitors" private => array(1) ▼ {
"NPresenter" => array(4) ▼ [
0 => NULL
1 => NULL
2 => NULL
3 => TRUE
]
}
}
WWW_DIR | "/data/www/www.vyveska.sk/public_html/widget.vyveska.sk/public" (61) |
---|---|
APP_DIR | "/data/www/www.vyveska.sk/public_html/widget.vyveska.sk/public/../app" (68) |
LIBS_DIR | "/data/www/www.vyveska.sk/public_html/widget.vyveska.sk/public/../libs" (69) |
NETTE | TRUE |
NETTE_DIR | "/data/www/www.vyveska.sk/public_html/widget.vyveska.sk/libs/Nette" (65) |
NETTE_VERSION_ID | 906 |
NETTE_PACKAGE | "PHP 5.2 prefixed" (16) |
/data/www/www.vyveska.sk/public_html/widget.vyveska.sk/public/index.php |
/data/www/www.vyveska.sk/public_html/widget.vyveska.sk/app/bootstrap.php |
/data/www/www.vyveska.sk/public_html/widget.vyveska.sk/libs/Nette/loader.php |
/data/www/www.vyveska.sk/public_html/widget.vyveska.sk/libs/Nette/Utils/shortcuts.php |
/data/www/www.vyveska.sk/public_html/widget.vyveska.sk/libs/Nette/Utils/exceptions.php |
/data/www/www.vyveska.sk/public_html/widget.vyveska.sk/libs/Nette/Utils/Framework.php |
/data/www/www.vyveska.sk/public_html/widget.vyveska.sk/libs/Nette/Utils/Object.php |
/data/www/www.vyveska.sk/public_html/widget.vyveska.sk/libs/Nette/Utils/ObjectMixin.php |
/data/www/www.vyveska.sk/public_html/widget.vyveska.sk/libs/Nette/Utils/Callback.php |
/data/www/www.vyveska.sk/public_html/widget.vyveska.sk/libs/Nette/Loaders/LimitedScope.php |
/data/www/www.vyveska.sk/public_html/widget.vyveska.sk/libs/Nette/Loaders/AutoLoader.php |
/data/www/www.vyveska.sk/public_html/widget.vyveska.sk/libs/Nette/Loaders/NetteLoader.php |
/data/www/www.vyveska.sk/public_html/widget.vyveska.sk/libs/Nette/Debug/Debug.php |
/data/www/www.vyveska.sk/public_html/widget.vyveska.sk/libs/Nette/Environment/Environment.php |
/data/www/www.vyveska.sk/public_html/widget.vyveska.sk/libs/Nette/Environment/Configurator.php |
/data/www/www.vyveska.sk/public_html/widget.vyveska.sk/libs/Nette/Config/Config.php |
/data/www/www.vyveska.sk/public_html/widget.vyveska.sk/libs/Nette/Collections/Hashtable.php |
/data/www/www.vyveska.sk/public_html/widget.vyveska.sk/libs/Nette/Collections/Collection.php |
/data/www/www.vyveska.sk/public_html/widget.vyveska.sk/libs/Nette/Collections/ICollection.php |
/data/www/www.vyveska.sk/public_html/widget.vyveska.sk/libs/Nette/Collections/IMap.php |
/data/www/www.vyveska.sk/public_html/widget.vyveska.sk/libs/Nette/Config/ConfigAdapterIni.php |
/data/www/www.vyveska.sk/public_html/widget.vyveska.sk/libs/Nette/Config/IConfigAdapter.php |
/data/www/www.vyveska.sk/public_html/widget.vyveska.sk/libs/Nette/Utils/Tools.php |
/data/www/www.vyveska.sk/public_html/widget.vyveska.sk/libs/Nette/Utils/ArrayTools.php |
/data/www/www.vyveska.sk/public_html/widget.vyveska.sk/libs/Nette/Environment/ServiceLocator.php |
/data/www/www.vyveska.sk/public_html/widget.vyveska.sk/libs/Nette/Environment/IServiceLocator.php |
/data/www/www.vyveska.sk/public_html/widget.vyveska.sk/libs/Nette/Loaders/RobotLoader.php |
/data/www/www.vyveska.sk/public_html/widget.vyveska.sk/libs/Nette/Caching/Cache.php |
/data/www/www.vyveska.sk/public_html/widget.vyveska.sk/libs/Nette/Caching/FileStorage.php |
/data/www/www.vyveska.sk/public_html/widget.vyveska.sk/libs/Nette/Caching/ICacheStorage.php |
/data/www/www.vyveska.sk/public_html/widget.vyveska.sk/libs/dibi/dibi/dibi.php |
/data/www/www.vyveska.sk/public_html/widget.vyveska.sk/libs/dibi/dibi/libs/interfaces.php |
/data/www/www.vyveska.sk/public_html/widget.vyveska.sk/libs/dibi/dibi/libs/DibiDateTime.php |
/data/www/www.vyveska.sk/public_html/widget.vyveska.sk/libs/dibi/dibi/libs/DibiObject.php |
/data/www/www.vyveska.sk/public_html/widget.vyveska.sk/libs/dibi/dibi/libs/DibiLazyStorage.php |
/data/www/www.vyveska.sk/public_html/widget.vyveska.sk/libs/dibi/dibi/libs/DibiException.php |
/data/www/www.vyveska.sk/public_html/widget.vyveska.sk/libs/dibi/dibi/libs/DibiConnection.php |
/data/www/www.vyveska.sk/public_html/widget.vyveska.sk/libs/dibi/dibi/libs/DibiResult.php |
/data/www/www.vyveska.sk/public_html/widget.vyveska.sk/libs/dibi/dibi/libs/DibiResultIterator.php |
/data/www/www.vyveska.sk/public_html/widget.vyveska.sk/libs/dibi/dibi/libs/DibiRow.php |
/data/www/www.vyveska.sk/public_html/widget.vyveska.sk/libs/dibi/dibi/libs/DibiTranslator.php |
/data/www/www.vyveska.sk/public_html/widget.vyveska.sk/libs/dibi/dibi/libs/DibiDataSource.php |
/data/www/www.vyveska.sk/public_html/widget.vyveska.sk/libs/dibi/dibi/libs/DibiFluent.php |
/data/www/www.vyveska.sk/public_html/widget.vyveska.sk/libs/dibi/dibi/libs/DibiDatabaseInfo.php |
/data/www/www.vyveska.sk/public_html/widget.vyveska.sk/libs/dibi/dibi/libs/DibiProfiler.php |
/data/www/www.vyveska.sk/public_html/widget.vyveska.sk/libs/dibi/dibi/drivers/mysql.php |
/data/www/www.vyveska.sk/public_html/widget.vyveska.sk/libs/dibi/dibi/drivers/mysql.reflector.php |
/data/www/www.vyveska.sk/public_html/widget.vyveska.sk/libs/Nette/Application/Application.php |
/data/www/www.vyveska.sk/public_html/widget.vyveska.sk/libs/Nette/Web/Session.php |
/data/www/www.vyveska.sk/public_html/widget.vyveska.sk/libs/Nette/Web/HttpRequest.php |
/data/www/www.vyveska.sk/public_html/widget.vyveska.sk/libs/Nette/Web/IHttpRequest.php |
/data/www/www.vyveska.sk/public_html/widget.vyveska.sk/libs/Nette/Web/UriScript.php |
/data/www/www.vyveska.sk/public_html/widget.vyveska.sk/libs/Nette/Web/Uri.php |
/data/www/www.vyveska.sk/public_html/widget.vyveska.sk/libs/Nette/Utils/FreezableObject.php |
/data/www/www.vyveska.sk/public_html/widget.vyveska.sk/libs/Nette/Utils/String.php |
/data/www/www.vyveska.sk/public_html/widget.vyveska.sk/libs/Nette/Web/HttpResponse.php |
/data/www/www.vyveska.sk/public_html/widget.vyveska.sk/libs/Nette/Web/IHttpResponse.php |
/data/www/www.vyveska.sk/public_html/widget.vyveska.sk/libs/Nette/Application/Routers/MultiRouter.php |
/data/www/www.vyveska.sk/public_html/widget.vyveska.sk/libs/Nette/Collections/ArrayList.php |
/data/www/www.vyveska.sk/public_html/widget.vyveska.sk/libs/Nette/Collections/IList.php |
/data/www/www.vyveska.sk/public_html/widget.vyveska.sk/libs/Nette/Application/IRouter.php |
/data/www/www.vyveska.sk/public_html/widget.vyveska.sk/libs/Nette/Application/Routers/Route.php |
/data/www/www.vyveska.sk/public_html/widget.vyveska.sk/libs/Nette/Reflection/ClassReflection.php |
/data/www/www.vyveska.sk/public_html/widget.vyveska.sk/libs/Nette/Reflection/PropertyReflection.php |
/data/www/www.vyveska.sk/public_html/widget.vyveska.sk/libs/Nette/Application/PresenterRequest.php |
/data/www/www.vyveska.sk/public_html/widget.vyveska.sk/libs/Nette/Application/PresenterLoader.php |
/data/www/www.vyveska.sk/public_html/widget.vyveska.sk/libs/Nette/Application/IPresenterLoader.php |
/data/www/www.vyveska.sk/public_html/widget.vyveska.sk/app/presenters/ShowWidgetPresenter.php |
/data/www/www.vyveska.sk/public_html/widget.vyveska.sk/app/presenters/BasePresenter.php |
/data/www/www.vyveska.sk/public_html/widget.vyveska.sk/libs/Nette/Application/Presenter.php |
/data/www/www.vyveska.sk/public_html/widget.vyveska.sk/libs/Nette/Application/Control.php |
/data/www/www.vyveska.sk/public_html/widget.vyveska.sk/libs/Nette/Application/PresenterComponent.php |
/data/www/www.vyveska.sk/public_html/widget.vyveska.sk/libs/Nette/ComponentModel/ComponentContainer.php |
/data/www/www.vyveska.sk/public_html/widget.vyveska.sk/libs/Nette/ComponentModel/Component.php |
/data/www/www.vyveska.sk/public_html/widget.vyveska.sk/libs/Nette/ComponentModel/IComponent.php |
/data/www/www.vyveska.sk/public_html/widget.vyveska.sk/libs/Nette/ComponentModel/IComponentContainer.php |
/data/www/www.vyveska.sk/public_html/widget.vyveska.sk/libs/Nette/Application/ISignalReceiver.php |
/data/www/www.vyveska.sk/public_html/widget.vyveska.sk/libs/Nette/Application/IStatePersistent.php |
/data/www/www.vyveska.sk/public_html/widget.vyveska.sk/libs/Nette/Application/IRenderable.php |
/data/www/www.vyveska.sk/public_html/widget.vyveska.sk/libs/Nette/Application/IPresenter.php |
/data/www/www.vyveska.sk/public_html/widget.vyveska.sk/libs/Nette/Application/PresenterComponentReflection.php |
/data/www/www.vyveska.sk/public_html/widget.vyveska.sk/libs/Nette/Reflection/AnnotationsParser.php |
/data/www/www.vyveska.sk/public_html/widget.vyveska.sk/libs/Nette/Reflection/MethodReflection.php |
/data/www/www.vyveska.sk/public_html/widget.vyveska.sk/app/models/Logger.php |
/data/www/www.vyveska.sk/public_html/widget.vyveska.sk/libs/Nette/Debug/templates/bluescreen.phtml |
REDIRECT_SCRIPT_URL | "/show-widget/" (13) |
---|---|
REDIRECT_SCRIPT_URI | "http://widget.vyveska.sk/show-widget/" (37) |
REDIRECT_APPLICATION_ENV | "production" (10) |
REDIRECT_STATUS | "200" (3) |
SCRIPT_URL | "/show-widget/" (13) |
SCRIPT_URI | "http://widget.vyveska.sk/show-widget/" (37) |
APPLICATION_ENV | "production" (10) |
HTTP_ACCEPT | "*/*" (3) |
HTTP_USER_AGENT | "claudebot" (9) |
HTTP_HOST | "widget.vyveska.sk" (17) |
PATH | "/sbin:/usr/sbin:/bin:/usr/bin" (29) |
SERVER_SIGNATURE | "" |
SERVER_SOFTWARE | "Apache/2.2.22 (@RELEASE@)" (25) |
SERVER_NAME | "widget.vyveska.sk" (17) |
SERVER_ADDR | "62.168.94.164" (13) |
SERVER_PORT | "80" (2) |
REMOTE_ADDR | "100.26.35.111" (13) |
DOCUMENT_ROOT | "/data/www/www.vyveska.sk/public_html/widget.vyveska.sk/public" (61) |
SERVER_ADMIN | "info@vyveska.sk" (15) |
SCRIPT_FILENAME | "/data/www/www.vyveska.sk/public_html/widget.vyveska.sk/public/index.php" (71) |
REMOTE_PORT | "49966" (5) |
REDIRECT_QUERY_STRING | "utm_source=Podujatia_219bEm&utm_content=&utm_medium=widget" (58) |
REDIRECT_URL | "/show-widget/" (13) |
GATEWAY_INTERFACE | "CGI/1.1" (7) |
SERVER_PROTOCOL | "HTTP/1.1" (8) |
REQUEST_METHOD | "GET" (3) |
QUERY_STRING | "utm_source=Podujatia_219bEm&utm_content=&utm_medium=widget" (58) |
REQUEST_URI | "/show-widget/?utm_source=Podujatia_219bEm&utm_content=&utm_medium=widget" (72) |
SCRIPT_NAME | "/index.php" (10) |
PHP_SELF | "/index.php" (10) |
REQUEST_TIME_FLOAT | 1711627814.706 |
REQUEST_TIME | 1711627814 |
accept | */* |
---|---|
user-agent | claudebot |
host | widget.vyveska.sk |
utm_source | "Podujatia_219bEm" (16) |
---|---|
utm_content | "" |
utm_medium | "widget" (6) |
empty
empty
Set-Cookie: PHPSESSID=u2m6uv87ob3clqovb848s6042ecfcc0n; path=/; HttpOnly
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=u2m6uv87ob3clqovb848s6042ecfcc0n; path=/; httponly
Set-Cookie: nette-browser=0.6241820349987; path=/; httponly
X-Powered-By: Nette Framework
Content-type: text/html; charset=UTF-8