SilverFire - Dmitry Naumenko
7ac2bc13f7
Overrides c651dbb7
. `yii\web\ErrorHandler::loggableGlobals` renamed to `displayVars`
9 years ago
SilverFire - Dmitry Naumenko
c651dbb798
Added `yii\web\ErrorHandler::loggableGlobals`, removed `$_ENV` and `$_SERVER` from dumping by default
9 years ago
SilverFire - Dima Naumenko
ac7b0ef6ff
ErrorHandler - hardcoded UTF-8 in mb_* functions
...
As `Yii::$app` may be not initialized on the moment of error,
decided to hardcode UTF-8.
PR #10169
9 years ago
SilverFire - Dima Naumenko
a6e1ba2cf6
Fixed mb_ functions calls to use UTF-8 or app charset
9 years ago
Alexander Makarov
5ab4f0f090
Better quotes usage in strings
...
- Use single quote where interpolation isn't necessary
- Use interpolation when it's better than concatenation
9 years ago
nainoon
3a313ac652
Fixes #9874 : Fixed outputting exception stacktrace in non-debug mode when `Response::FORMAT_RAW` is used
9 years ago
jeicd
c2f83da8d8
Fix phpdoc
9 years ago
Alexander Makarov
9a87271abf
Fixed missing stacktrace items on PHP syntax errors of "unexpected end of file" type
9 years ago
Carsten Brandt
5d3532c649
fixed endless error loop in error handler
...
this happended when `stream` was set on the response but the stream resouce was invalid
either because it was already sent or became invalid for some other cases.
fixes #9046
9 years ago
Ezekiel Fernandez
d0c01dc9ba
CodeStyle fix
...
close #7614
10 years ago
Alexander Makarov
6481d13494
Optimized checks order in conditions
10 years ago
Brandon Kelly
cf0d582a0b
Added yii\web\ErrorHandler::getTypeUrl()
...
Makes it possible for classes that extend yii\web\ErrorHandler to provide their own informational URLs for types/classes/methods.
10 years ago
Qiang Xue
865a94f321
Fixes #4739 : Better display of exceptions when the response format is set as "raw" format
10 years ago
Qiang Xue
880a305ee4
Fixes #5452 : Errors occurring after the response is sent are not displayed
10 years ago
Alexander Makarov
355c26df8b
Fixes #4188 : API exceptions are now exposing less data when YII_DEBUG is false
...
- If exception is internal it's always returned as HTTP 500 general purpose one.
- Type isn't exposed anymore.
10 years ago
Qiang Xue
88d38b7820
Fixes #4501 : Renamed the constant `YII_PATH` to `YII2_PATH`
10 years ago
Qiang Xue
9c4d4715dd
guide WIP [skip ci]
10 years ago
Carsten Brandt
a28589203f
do not show debug info for UserException
10 years ago
Carsten Brandt
f12316f2e8
file and line information missing from error array representation
10 years ago
Sergey Gonimar
9b31870286
Fix ErrorHandler
10 years ago
Carsten Brandt
ee2b968b7f
fixed argument display in errorHandler
11 years ago
Klimov Paul
1641e057a9
`VarDumper::export()` applied over framework.
11 years ago
Carsten Brandt
7511de6cab
added errorInfo to exception views
11 years ago
Alexander Makarov
340278b59c
Fixes #3183 : fixed regression after #3175
11 years ago
Alexander Makarov
178417da9b
Added title for trimmed strings
11 years ago
Alexander Makarov
dad88c78b4
Fixes #2837 : Error page now shows arguments in stack trace method calls
11 years ago
Qiang Xue
055455d814
updated error handler and requirement checker links.
11 years ago
Carsten Brandt
f6ce9ead97
removed unnecessary static var
11 years ago
Carsten Brandt
a4b6fb263d
handle Exceptions in application init()
11 years ago
Carsten Brandt
89f6a00147
created console errorHandler
11 years ago
Carsten Brandt
c93231e26b
improved session error handling
...
fixes #1946
11 years ago
Carsten Brandt
8b4d4a0b25
cleanup web errorhandler
11 years ago
Carsten Brandt
d4ad533d48
moved error handling related methods from app to errorhandler
11 years ago
Carsten Brandt
fdface1646
added stack trace to exception output in API when YII_DEBUG is true
...
issues #303 and #2516
11 years ago
Carsten Brandt
bf3c75147d
reverted breaking PHPdoc codestyle changes
...
issue #2852
11 years ago
SonicGD
b5f8a4dc22
Reformat code te be PSR-2 compatible
11 years ago
Qiang Xue
ad19e332f4
Added back some toArray() implementations.
11 years ago
Qiang Xue
fad635440b
Fixes #2655 : Arrayable and ArrayableTrait are incompatible for some PHP versions.
11 years ago
Qiang Xue
7b46dc3443
Fixed incorrect error handling.
11 years ago
Qiang Xue
39947be66b
rest WIP
11 years ago
Carsten Brandt
214f66a8c1
skip exiting in test env.
...
see 0cfd41a21a (commitcomment-5238567)
issue #2233
11 years ago
Carsten Brandt
0cfd41a21a
let application exit with code 1 on error/exception in console
...
fixes #2233
11 years ago
Carsten Brandt
262189533a
huge amount of documentation link fixes
11 years ago
Luciano Baraglia
7d33a5d3b5
Some Code style fixes
11 years ago
Qiang Xue
0c38655217
psr-4 move
11 years ago
Qiang Xue
4b353c7bce
Fixes #1297 : CSRF not generated on error pages
11 years ago
Carsten Brandt
539e233d9c
massive improvement on class documentation
...
- added example code for application components
- added missing short description
[ci skip]
11 years ago
Alexander Makarov
1f6a823073
Short array syntax
11 years ago
resurtm
b3b5e36d42
Remove use ($this). Related to 9e1b498fb5
.
11 years ago
resurtm
9e1b498fb5
PHP 5.4 supports $this with closures.
11 years ago