Carsten Brandt
ee2b968b7f
fixed argument display in errorHandler
2014-05-25 20:30:26 +02:00
Carsten Brandt
b7e493fca0
Tabs to spaces to be consistent
...
```
vendor/bin/indent --spaces -r framework/
vendor/bin/indent --tabs -r . --pattern=*.json
vendor/bin/indent --spaces -r . --pattern=*.md
vendor/bin/indent --spaces -r . --pattern=yii.*.js
vendor/bin/indent --spaces -r . --pattern=*.css
```
2014-05-23 16:58:21 +02:00
Carsten Brandt
7511de6cab
added errorInfo to exception views
2014-05-12 13:31:33 +02:00
Alexander Makarov
340278b59c
Fixes #3183 : fixed regression after #3175
2014-04-30 01:31:11 +04:00
Alexander Makarov
dad88c78b4
Fixes #2837 : Error page now shows arguments in stack trace method calls
2014-04-18 04:20:22 +04:00
Thiago Talma
8546b41bb8
Update error.php
2014-04-16 19:59:25 -03:00
Thiago Talma
57692cd448
Update error.php
2014-04-16 19:47:28 -03:00
Thiago Talma
c1445871f4
Correction of many errors code inspection.
...
Adjustments code according to the standards.
Adding missing PHPDoc comment.
2014-04-16 19:29:07 -03:00
Qiang Xue
055455d814
updated error handler and requirement checker links.
2014-04-10 00:05:05 -04:00
Carsten Brandt
3fb840f3f3
updated errorhandler views doc
2014-03-31 00:43:08 +02:00
Carsten Brandt
dbc6d106b4
reverted wrong changes after #2764
...
- readded removed file
- readded use statement to migration template
2014-03-16 21:01:53 +01:00
SonicGD
b5f8a4dc22
Reformat code te be PSR-2 compatible
2014-03-16 10:46:21 +06:00
Qiang Xue
da13b336be
minor css fixes.
2014-02-24 15:26:47 -05:00
John Was
62a7e397e0
fix the _only_ option in calls to FileHelper::findFiles()
2014-01-27 21:04:49 +01:00
Qiang Xue
ff8e78c655
Merge branch '2048-improve-messages-config-exceptions' of github.com:nineinchnick/yii2 into nineinchnick-2048-improve-messages-config-exceptions
...
Conflicts:
framework/messages/config.php
2014-01-26 17:48:44 -05:00
Alexander Makarov
8bdc437bc2
Fixes #2079 :
...
- i18n now falls back to `en` from `en-US` if message translation isn't found
- View now falls back to `en` from `en-US` if file not found
- Default `sourceLanguage` and `language` are now `en`
2014-01-23 04:51:17 +04:00
Qiang Xue
4fe0eeb1b6
refacotring.
2014-01-21 19:12:10 -05:00
Alexander Makarov
05db070b32
Adjusted #2008
2014-01-22 03:31:22 +04:00
Alexander Makarov
edf98ced99
Fixes #1973 : Re-implemented solution for yii message/extract is now able to generate .po files
2014-01-14 23:09:37 +04:00
Qiang Xue
4d8d3eaf2c
minor fix of exception display.
2014-01-13 22:16:11 -05:00
Qiang Xue
0c38655217
psr-4 move
2014-01-10 21:41:43 -05:00
Qiang Xue
0d814fa523
Moved "framework" to "iii".
2013-05-09 12:00:15 -04:00
Zander Baldwin
4be9e195c2
Add Newlines
...
Appended newlines to every PHP document that did not have a newline as the last character in the file.
2013-05-05 17:04:55 +01:00
Qiang Xue
c1428a174a
minor cleanup.
2013-04-12 07:25:37 -04:00
Qiang Xue
80dbaaca8b
bug fixes.
2013-03-25 19:37:42 -04:00
Qiang Xue
1d48d01ef7
refactored View.
2013-03-20 22:03:13 -04:00
Alexander Makarov
2d5db95149
More on error handling:
...
- Correct exit code for require errors in CLI mode. It was 0 even in case of error.
- Solved handling fatals and displaying custom error template w/o output buffering.
- If XDEBUG is available, error screen will display trace (implementation inspired by Kohana and Nette).
- Added ErrorException to store/display type of the error and user-friendly messages.
- Fatals are still logged in PHP log.
- Turned off native display_errors since we're now catching all errors.
- Added reserving memory (256kb) . Can be removed safely. In case of removal we're losing only memory exhausted error when allocating last very small chunk of memory.
- Properly handled errors in __toString (exception can't be thrown in this case).
- In the YII_DEBUG===false mode it's bad to display exception name even in page title.
- In the YII_DEBUG===true mode it's still useful to get user-friendly message additionally to exception name.
2013-02-13 03:51:29 +04:00
Alexander Makarov
811880031c
fixed YII_DEBUG exception view
2013-02-07 16:13:57 +04:00
Qiang Xue
1c375b9097
bug fixes.
2013-02-06 10:47:40 -05:00
Qiang Xue
af4455eb03
Finished console support.
...
Finished migrate command.
2013-02-03 19:37:29 -05:00
Alexander Makarov
ba4d9fc2b4
changed ->owner to ->context in error view
2012-06-10 12:00:03 +04:00
Alexander Makarov
6caad53ade
Removed unnecessary markup from error views
2012-04-25 14:52:53 +04:00
Qiang Xue
b7e4bd3155
...
2012-04-21 18:26:59 -04:00
Qiang Xue
7c06cc03d7
finished error handler.
2012-04-21 16:33:54 -04:00