ako zistit viac informacii o chybe
Upozornění: Tohle vlákno je hodně staré a informace nemusí být platné pro současné Nette.
- MKI-Miro
- Člen | 279
Ahojte
Chcem sa opytat ci je mozne ziskat viac informacii o chybach, napr v logu mam takuto chybu
Nette\Application\BadRequestException #404
Presenter name must be alphanumeric string, 'GeddesHniezda-1000DielikovSchmidt' is invalid.
neviem vsak povedat:
- ci to je napr stara (neplatna) url adresa (produkt uz neexistuje)
- ci to klikol clovek alebo to bol napr google robot
- ci sa dany link vyskytuje na stranke alebo to ma google zaindexovane (ci clovek klikol na linku v ramci stranky alebo prisiel z googlu)
Daju sa tieto informacie nejako zistit?
Dakujem
- Pavel Kravčík
- Člen | 1196
A když si dole rozklikáš laděnku, tak třeba HTTP requestu ty informace neuvidíš? Adresa je dole také „url“.
- MKI-Miro
- Člen | 279
Nette\Application\BadRequestException #404
Presenter name must be alphanumeric string, 'GeddesHniezda-1000DielikovSchmidt' is invalid. search►
Caused by Nette\Application\InvalidPresenterException
Source file
File: .../vendor/nette/application/src/Application/Application.php:125
115: throw new BadRequestException('No route for HTTP request.');
116:
117: } elseif (strcasecmp($request->getPresenterName(), $this->errorPresenter) === 0) {
118: throw new BadRequestException('Invalid request. Presenter is not achievable.');
119: }
120:
121: try {
122: $name = $request->getPresenterName();
123: $this->presenterFactory->getPresenterClass($name);
124: } catch (InvalidPresenterException $e) {
125: throw new BadRequestException($e->getMessage(), 0, $e);
126: }
127:
128: return $request;
129: }
Call stack
.../vendor/nette/application/src/Application/Application.php:86 source Nette\Application\Application-> createInitialRequest ()
.../www/index.php:10 source Nette\Application\Application-> run ()
1: <?php
2:
3: // Uncomment this line if you must temporarily take down your site for maintenance.
4: // require '.maintenance.php';
5:
6: // Let bootstrap create Dependency Injection container.
7: $container = require __DIR__ . '/../app/bootstrap.php';
8:
9: // Run application.
10: $container->getByType('Nette\Application\Application')->run();
11:
Caused by
Nette\Application\InvalidPresenterException
Presenter name must be alphanumeric string, 'GeddesHniezda-1000DielikovSchmidt' is invalid.
Source file
File: .../vendor/nette/application/src/Application/PresenterFactory.php:67
57: * @return string class name
58: * @throws InvalidPresenterException
59: */
60: public function getPresenterClass(& $name)
61: {
62: if (isset($this->cache[$name])) {
63: return $this->cache[$name];
64: }
65:
66: if (!is_string($name) || !Nette\Utils\Strings::match($name, '#^[a-zA-Z\x7f-\xff][a-zA-Z0-9\x7f-\xff:]*\z#')) {
67: throw new InvalidPresenterException("Presenter name must be alphanumeric string, '$name' is invalid.");
68: }
69:
70: $class = $this->formatPresenterClass($name);
71: if (!class_exists($class)) {
Call stack
.../vendor/nette/application/src/Application/Application.php:123 source Nette\Application\PresenterFactory-> getPresenterClass (arguments)
.../vendor/nette/application/src/Application/Application.php:86 source Nette\Application\Application-> createInitialRequest ()
.../www/index.php:10 source Nette\Application\Application-> run ()
1: <?php
2:
3: // Uncomment this line if you must temporarily take down your site for maintenance.
4: // require '.maintenance.php';
5:
6: // Let bootstrap create Dependency Injection container.
7: $container = require __DIR__ . '/../app/bootstrap.php';
8:
9: // Run application.
10: $container->getByType('Nette\Application\Application')->run();
11:
Nette Application
Requests
array ()
Presenter
NULL
Environment
$_SERVER
REDIRECT_REDIRECT_UNIQUE_ID
"VlYvJgoKJG8AAHtcw2cAAAAO" (24)
REDIRECT_REDIRECT_DOCROOT
"/nfsmnt/hosting2_2/0/7/079c87cc-ed0d-442a-a0cf-74e9238017d5/puzzleumenie.sk/web/" (80)
REDIRECT_REDIRECT_STATUS
"200" (3)
REDIRECT_UNIQUE_ID
"VlYvJgoKJG8AAHtcw2cAAAAO" (24)
REDIRECT_DOCROOT
"/nfsmnt/hosting2_2/0/7/079c87cc-ed0d-442a-a0cf-74e9238017d5/puzzleumenie.sk/web/" (80)
REDIRECT_STATUS
"200" (3)
UNIQUE_ID
"VlYvJgoKJG8AAHtcw2cAAAAO" (24)
DOCROOT
"/nfsmnt/hosting2_2/0/7/079c87cc-ed0d-442a-a0cf-74e9238017d5/puzzleumenie.sk/web/" (80)
HTTP_HOST
"www.puzzleumenie.sk" (19)
HTTP_X_REAL_IP
"136.243.75.162" (14)
HTTP_X_FORWARDED_FOR
"136.243.75.162" (14)
HTTP_X_FORWARDED_PROTO
"http" (4)
HTTP_X_PROXY_IP
"10.10.1.14" (10)
HTTP_ACCEPT_ENCODING
"gzip" (4)
HTTP_USER_AGENT
"Mozilla/5.0 (compatible; MJ12bot/v1.4.5; http://www.majestic12.co.uk/bot.php?+)" (79)
HTTP_ACCEPT
"text/html,text/plain,text/xml,text/*,application/xml,application/xhtml+xml,application/rss+xml,application/atom+xml,application/rdf+xml,application/ph ... " (193)
HTTP_ACCEPT_LANGUAGE
"sk" (2)
PATH
"/sbin:/usr/sbin:/bin:/usr/bin:/usr/wsapache24-phpx/bin" (54)
SERVER_SIGNATURE
""
SERVER_SOFTWARE
"Apache" (6)
SERVER_NAME
"www.puzzleumenie.sk" (19)
SERVER_ADDR
"10.10.36.111" (12)
SERVER_PORT
"80" (2)
REMOTE_ADDR
"136.243.75.162" (14)
DOCUMENT_ROOT
"/nfsmnt/hosting2_2/0/7/079c87cc-ed0d-442a-a0cf-74e9238017d5/puzzleumenie.sk/web/" (80)
REQUEST_SCHEME
"http" (4)
CONTEXT_PREFIX
""
CONTEXT_DOCUMENT_ROOT
"/nfsmnt/hosting2_2/0/7/079c87cc-ed0d-442a-a0cf-74e9238017d5/puzzleumenie.sk/web/" (80)
SERVER_ADMIN
"admin@websupport.sk" (19)
SCRIPT_FILENAME
"/nfsmnt/hosting2_2/0/7/079c87cc-ed0d-442a-a0cf-74e9238017d5/puzzleumenie.sk/web/www/index.php" (93)
REMOTE_PORT
"47230" (5)
REDIRECT_URL
"/www/geddes-hniezda-1000-dielikov-schmidt" (41)
GATEWAY_INTERFACE
"CGI/1.1" (7)
SERVER_PROTOCOL
"HTTP/1.1" (8)
REQUEST_METHOD
"GET" (3)
QUERY_STRING
""
REQUEST_URI
"/geddes-hniezda-1000-dielikov-schmidt" (37)
SCRIPT_NAME
"/www/index.php" (14)
PHP_SELF
"/www/index.php" (14)
REQUEST_TIME_FLOAT
1448488742.15
REQUEST_TIME
1448488742
argv
array ()
argc
0
$_SESSION
empty
Included files (83)
Configuration options
HTTP request
Headers
Host www.puzzleumenie.sk
X-Real-IP 136.243.75.162
X-Forwarded-For 136.243.75.162
X-Forwarded-Proto http
X-Proxy-IP 10.10.1.14
Accept-Encoding gzip
User-Agent Mozilla/5.0 (compatible; MJ12bot/v1.4.5; http://www.majestic12.co.uk/bot.php?+)
Accept text/html,text/plain,text/xml,text/*,application/xml,application/xhtml+xml,application/rss+xml,application/atom+xml,application/rdf+xml,application/php,application/x-php,application/x-httpd-php
Accept-Language sk
$_GET
empty
$_POST
empty
$_COOKIE
empty
HTTP response
Headers
X-Frame-Options: SAMEORIGIN
X-Powered-By: Nette Framework
Content-Type: text/html; charset=UTF-8
Report generated at 2015/11/25 22:59:02
http://www.puzzleumenie.sk/geddes-hniezda-1000-dielikov-schmidt
PHP 5.5.21
Apache
Tracy 2.3.3
z tohto viem zistit napr ci to bol robot alebo clovek ?
- Pavel Kravčík
- Člen | 1196
User-Agent Mozilla/5.0 (compatible; MJ12bot/v1.4.5; http://www.majestic12.co.uk/bot.php?+)
Těžko říct. :)