Qiang Xue
0d814fa523
Moved "framework" to "iii".
12 years ago
Qiang Xue
2dd51d5b46
Fixes issue #177 .
12 years ago
Qiang Xue
9841d6c639
Fixes issue #124 .
12 years ago
Qiang Xue
90cfb6ebb8
ActiveForm wip
12 years ago
Alexander Makarov
767a78f8b8
better handling of errors during rendering an error
12 years ago
Alexander Makarov
77233cf39e
removed dev comment
12 years ago
Qiang Xue
d22e8ea34b
Added YiiBase::importNamespaces().
12 years ago
Qiang Xue
5b412b8f84
script WIP
12 years ago
Qiang Xue
0416e01414
script WIP
12 years ago
Qiang Xue
f52bc48576
use error_log to log fatal errors.
12 years ago
Qiang Xue
428d912811
script WIP
12 years ago
Qiang Xue
3616278ada
typo.
12 years ago
Qiang Xue
6ae715ff8a
refactored autoloading.
12 years ago
Qiang Xue
4c2fcd7608
refactored application.
12 years ago
Qiang Xue
122bd231b4
modified Application constructor signature.
12 years ago
Qiang Xue
1df9114b9a
refactored ErrorException handling.
12 years ago
Qiang Xue
cd1b3d321a
refactored url creation shortcut method.
12 years ago
Qiang Xue
80dbaaca8b
bug fixes.
12 years ago
Qiang Xue
379e48a4c6
Finished new message translation implementation.
12 years ago
Qiang Xue
884977a724
renamed util to helpers.
12 years ago
Qiang Xue
1d48d01ef7
refactored View.
12 years ago
Qiang Xue
30d70be071
Finished Html helper.
12 years ago
Qiang Xue
4fdaab3560
updated file header.
12 years ago
Qiang Xue
210e7b69c4
cleanup
12 years ago
Qiang Xue
e66729840d
Finished cookie.
...
Finished SecurityHelper.
12 years ago
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.
12 years ago
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.
12 years ago
Alexander Makarov
842caa3aae
Yii-style for PHP fatal and parse errors
12 years ago
Qiang Xue
e26a9ff4f5
...
12 years ago
Qiang Xue
8b2b7915b4
Renamed application to app.
12 years ago
Qiang Xue
54ee8c44a0
refactored exceptions.
...
I18N WIP.
12 years ago
Qiang Xue
398ac25456
added UserException.
12 years ago
Qiang Xue
25e82b3d1a
ViewRenderer WIP
12 years ago
Qiang Xue
761a9f4472
exception cleanup.
12 years ago
Qiang Xue
6fcac32410
error handling cleanup.
12 years ago
Qiang Xue
3fa22483c1
refactored logging.
...
MVC WIP
12 years ago
Qiang Xue
ceac41b250
MVC WIP
12 years ago
Alexander Makarov
a6961f3404
patched controller and action creation
12 years ago
Qiang Xue
29398f4c22
MVC WIP
12 years ago
Qiang Xue
76b153a368
fixed event doc.
12 years ago
Qiang Xue
fb75c95813
refactored logging.
12 years ago
Qiang Xue
ed8b795295
renamed exception classes.
12 years ago
Qiang Xue
8e05e6e62d
changed copyright line.
12 years ago
Qiang Xue
8517ee9e50
reorganized DB classes.
12 years ago
Alexander Makarov
476266a25b
moved UrlManager from web to base
12 years ago
Alexander Makarov
a7abcb0ff0
fixed constructors chain in base Application
12 years ago
Qiang Xue
b7a7800fec
Fixed constructors.
12 years ago
Qiang Xue
b1047e7ff6
refactored object creation.
...
added more exception classes.
working on request and response classes.
13 years ago
Qiang Xue
ed9f225fb4
...
13 years ago
Qiang Xue
e8b0fd1327
...
13 years ago