Commit Graph

49 Commits

Author SHA1 Message Date
Paul Klimov
d885fcbba1 Property 'CErrorHandler::exception' added to store current handling exception instance 2013-10-02 12:43:54 +03:00
Paul Klimov
1656e5742f Unnecessary comment at CErrorHandler::render() has been removed. 2013-08-30 14:00:24 +03:00
Paul Klimov
d0b76dcff0 CErrorHandler has been refactored to respect errorAction on AJAX request. 2013-08-29 16:49:51 +03:00
Abdul Malik Ikhsan
6247adaf26 change copyright symbol 2013-01-15 18:38:02 +07:00
Abdul Malik Ikhsan
46c8ef0d9a update copyright year
from 2011 to 2013
2013-01-15 17:28:17 +07:00
Alexander Kochetov
486723805e else if => elseif 2012-10-03 10:20:14 +04:00
Alexander Makarov
d865a3bab8 Fixes #1057 Removed SVN ids 2012-09-09 22:23:45 +04:00
CeBe
d0bdf7be0c fixed CErrorHandler discardOutput for php <5.3
only reset headers when there was an ob_gzhandler to avoid trouble with
apache mod_deflate
2012-07-16 04:26:53 +02:00
CeBe
85498dd1bf improved CErrorHandler::discardOutput in case of gzipped output
when output is gzipped with zlib.output_compression set to On
ob_end_clean will not succeed so we try to ob_clean()

when output is gzipped by calling `ob_start("ob_gzhandler");` on
application startup we have to reset Content-Encoding and Vary header
when ob_end_clean kills that output handler.
this would work with `header('Content-Encoding:');` but when apache
module mod_deflate is activated a broken Content-Encoding header is
added:
`Content-Encoding: ,gzip`, so we try header_remove which is available
since php 5.3.
for php < 5.3 and mod_deflate there is not practial solution.

btw: php documentation says zlib.output_compression set to On is the
     recomented way for output compression
2012-07-16 03:57:58 +02:00
CeBe
3eed35ceb8 CErrorHandler only set headers if not sent 2012-07-15 02:37:50 +02:00
mdomba (mdlap)
7652d63189 set proper header value 2012-07-03 16:51:32 +02:00
mdomba (mdwork)
717b296adc (Fixes issue #901) set proper content encoding on exception 2012-07-03 15:50:14 +02:00
mdomba (mdwork)
c6d1e466e6 Merge branch 'feature/fixHttpExceptions' of https://github.com/pgaultier/yii into pgaultier-feature/fixHttpExceptions
Conflicts:
	CHANGELOG
2012-05-07 15:37:50 +02:00
mdomba
e61abe052c (Fixes issue 3112) Fixed exception error display on ajax calls 2012-01-16 10:17:01 +00:00
mdomba
a7ef3d5d02 removed 1.0.x reference from documentation 2011-12-28 12:29:24 +00:00
alexander.makarow
9cfa9b045c fixed regression in dealing with zlib.output_compression 2011-12-15 15:34:52 +00:00
alexander.makarow
bf5769d14a (Fixes issue 2643) Output buffer wasn't properly cleaned on displaying error screen 2011-12-06 21:55:28 +00:00
mdomba
ffa494ca73 added proper message to Yii error screen 2011-11-08 14:50:20 +00:00
alexander.makarow
5a90468c93 More accessors docs, a script to re-generate docs automatically 2011-10-25 00:03:52 +00:00
mdomba
65b9912457 removed checking for ajax calls in CErrorHandler::handleException() - was preventing to customize the display of the exception during an ajax call. 2011-08-25 11:20:33 +00:00
alexander.makarow
304c0c2b0f 2011-07-06 08:52:38 +00:00
alexander.makarow
116ba3384f (Fixes issue 2387) Numeric keys are now displayed in error/exception stacktrace call argument if array isn't 0..X indexed 2011-07-06 00:22:47 +00:00
qiang.xue
4d64bfac97 (Fixes issue 2571) 2011-06-24 14:47:47 +00:00
qiang.xue
0d6ead0368 (Fixes issue 2556) 2011-06-22 15:19:00 +00:00
alexander.makarow
393b7c2058 Error page now displays associative array keys in parameter list 2011-02-26 19:54:10 +00:00
qiang.xue
814edf6b9b Fixed the bug that a PHP notice may occur in exception view if a method in the call stack has a very complex signature 2011-01-17 03:35:00 +00:00
qiang.xue
4be0af6917 changed copyright year. 2011-01-01 19:31:13 +00:00
mdomba
15e94ba6b3 Added documentations that goes to the method summary table... 2010-12-29 12:30:50 +00:00
alexander.makarow
a777e0dafb exception view: css cleanup, error line number displayed in bold 2010-12-24 00:46:28 +00:00
qiang.xue
71bd4ed2fb styling of exception view. 2010-12-23 21:30:14 +00:00
alexander.makarow
7aedc3707c Added CErrorHandler::maxTraceSourceLines 2010-12-23 02:00:42 +00:00
qiang.xue
81a127e3c4 Added error handling for ajax requests. 2010-12-22 22:16:26 +00:00
qiang.xue
2345dc2d73 * Implemented source code display for every call stack in exception page. 2010-12-22 22:08:00 +00:00
qiang.xue
7861b7cec2 (Fixes issue 1915) 2010-12-22 13:32:03 +00:00
qiang.xue
c6b83dc695 2010-12-22 05:16:48 +00:00
qiang.xue
d20fb078b7 * Improved the exception display 2010-12-22 05:16:18 +00:00
qiang.xue
799b48403a improved param string representation.
fixed user call stack highlighting.
2010-12-22 04:21:42 +00:00
alexander.makarow
3c8c8daf05 improved exception handler 2010-12-22 03:47:45 +00:00
mdomba
d6df83e362 fixed small typo 2010-10-04 12:48:19 +00:00
mdomba
72b974560b Updated PHPDoc @param parameter names 2010-09-23 13:28:52 +00:00
qiang.xue
660e9aa038 2010-09-05 12:51:26 +00:00
keyboard.idol@gmail.com
d8fd1a3fca Rollback of r1496 2010-08-29 14:11:34 +00:00
keyboard.idol@gmail.com
936499d3c7 (Fixes issue 1496) 2010-08-25 07:29:57 +00:00
alexander.makarow
105010d90b unused code cleanup 2010-06-16 19:11:00 +00:00
qiang.xue
05012593f8 improved error handling in some rare cases. 2010-02-02 18:38:56 +00:00
qiang.xue
eb54ba7407 modified copyright info. 2010-01-07 21:02:00 +00:00
qiang.xue
6ae9620816 merge from 1.0. 2009-05-26 00:15:33 +00:00
qiang.xue
20bf28469f merge from 1.0. 2008-12-30 23:14:31 +00:00
qiang.xue
76e0a7a688 renamed core to base. 2008-12-01 18:32:23 +00:00