Alexander Makarov
7f1f1b7767
- Moved handling fatal errors into handleFatalError() method.
...
- Refactored checking for fatal error.
- Suppressed errors in exception handler in case of fatal errors.
2013-02-20 00:14:30 +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
842caa3aae
Yii-style for PHP fatal and parse errors
2013-02-12 00:08:28 +04:00
Qiang Xue
e26a9ff4f5
...
2013-02-06 11:06:21 -05:00
Qiang Xue
8b2b7915b4
Renamed application to app.
2013-02-05 16:12:22 -05:00
Qiang Xue
54ee8c44a0
refactored exceptions.
...
I18N WIP.
2013-02-04 16:39:19 -05:00
Qiang Xue
398ac25456
added UserException.
2013-02-03 19:45:44 -05:00
Qiang Xue
25e82b3d1a
ViewRenderer WIP
2013-02-01 12:46:08 -05:00
Qiang Xue
761a9f4472
exception cleanup.
2013-02-01 07:53:32 -05:00
Qiang Xue
6fcac32410
error handling cleanup.
2013-01-31 23:50:53 -05:00
Qiang Xue
3fa22483c1
refactored logging.
...
MVC WIP
2013-01-27 17:11:06 -05:00
Qiang Xue
77e0be5c69
Merge branch 'master' of git.yiisoft.com:yii2
...
Conflicts:
framework/base/Application.php
2013-01-25 19:08:48 -05:00
Qiang Xue
ceac41b250
MVC WIP
2013-01-25 18:56:56 -05:00
Alexander Makarov
a6961f3404
patched controller and action creation
2013-01-26 00:21:04 +01:00
Qiang Xue
29398f4c22
MVC WIP
2013-01-25 08:44:09 -05:00
Qiang Xue
76b153a368
fixed event doc.
2013-01-20 13:37:16 -05:00
Qiang Xue
fb75c95813
refactored logging.
2013-01-19 22:08:12 -05:00
Qiang Xue
ed8b795295
renamed exception classes.
2013-01-17 19:55:10 -05:00
Qiang Xue
8e05e6e62d
changed copyright line.
2013-01-07 11:34:52 -05:00
Qiang Xue
8517ee9e50
reorganized DB classes.
2013-01-05 16:46:53 -05:00
Alexander Makarov
476266a25b
moved UrlManager from web to base
2012-12-26 19:34:41 +04:00
Alexander Makarov
a7abcb0ff0
fixed constructors chain in base Application
2012-12-26 18:49:00 +04:00
Qiang Xue
b7a7800fec
Fixed constructors.
2012-08-30 21:17:42 -04:00
Qiang Xue
b1047e7ff6
refactored object creation.
...
added more exception classes.
working on request and response classes.
2012-06-30 22:21:28 -04:00
Qiang Xue
ed9f225fb4
...
2012-05-24 19:45:15 -04:00
Qiang Xue
e8b0fd1327
...
2012-05-19 09:46:32 -04:00
Qiang Xue
e7a5e8ab37
...
2012-05-18 07:37:47 -04:00
Qiang Xue
be8dd940db
...
2012-05-12 10:42:44 -04:00
Qiang Xue
5a72523a14
console commands.
2012-05-12 00:28:23 -04:00
Qiang Xue
5f3e24d81f
working on console app.
2012-05-11 21:55:22 -04:00
Qiang Xue
c1cb99ab37
controller work.
2012-05-05 13:30:33 -04:00
Qiang Xue
165bb02a65
...
2012-04-30 11:20:53 -04:00
Qiang Xue
b7e4bd3155
...
2012-04-21 18:26:59 -04:00
Qiang Xue
e585c69fbb
working on error handler.
2012-04-04 22:10:15 -04:00
Qiang Xue
9f7164881f
.
2012-04-02 16:05:13 -04:00
Qiang Xue
2dabbb8cc7
Merge branch 'master' of git.yiisoft.com:yii2
...
Conflicts:
framework/base/Model.php
2012-03-31 17:09:39 -04:00
Qiang Xue
a705fb4ecd
...
2012-03-31 17:05:07 -04:00
Alexander Makarov
f552b58d14
more event updates and doc corrections
2012-03-31 14:56:21 +04:00
Qiang Xue
c63c78385e
...
2011-12-26 19:36:24 -05:00
Qiang Xue
a9439e9038
...
2011-12-25 11:21:30 -05:00
Qiang Xue
7f35f9ada1
...
2011-12-25 10:02:17 -05:00
Alexander Makarov
f8ea58826e
cleaned up @since
2011-12-09 18:07:07 +04:00
Alexander Makarov
0b4d9eb05a
Yii references fixes, method names
2011-12-09 06:24:44 +04:00
Qiang Xue
5a2d440663
w
2011-07-29 13:25:32 -04:00
Qiang Xue
07c86e58f1
w
2011-07-23 14:10:07 -04:00