Skip to content

master from GerHobbelt/PHP-Error #1

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 32 commits into from
Mar 24, 2016
Merged

Conversation

kenorb
Copy link
Member

@kenorb kenorb commented Mar 24, 2016

No description provided.

bradfeehan and others added 30 commits March 20, 2013 01:00
Allows use of the reportError() and reportException() functions even
when the error handler is disabled (i.e. when isOn() returns false
which would normally disable these functions' functionality.
** First commit for this project
At he first time testing the code in Wamp, there were problems with the
display due to the requirements of this software.
… actual error code) so I've also amended the reportError(), where displayError() is called, to pass the error code.
- Added H3 css class
- Added #error-code css class
- Moved the error code inside an H3, shown below the error-title.
fixed issue with slashes not being escaped, when replacement code is upl...
fixed Code display when short_open_tag is Off
If you change zlib output compression setting in
between ob_start, ob_end_clean or ob_end_flush, 
you will get: ob_end_flush() failed to delete buffer zlib output compression.

Added - 1853: 

 else if ( $handler === 'zlib output compression' ) {
    if (ob_get_level()) {
        while (@ob_end_clean());
    }
 }
…hich are included in the output at runtime; this greatly reduces the size of the PHP file itself. It does not change the output size, but allows us to override the ACE and jQuery components if we already load our own copies of those anyhow: that way we prevent version collisions in the same webpage.
…e is now contained within <?php ... ?> tag boundaries: no more use of 'shorthand notation'
Allows use of the reportError() and reportException() functions even
when the error handler is disabled (i.e. when isOn() returns false
which would normally disable these functions' functionality.
…e ability to show the error *code* too.

Conflicts:
	src/php_error.php
…erged after cherry picking the 'allow_manual_report' feature commit.

Conflicts:
	src/php_error.php
- correct bug in the default JS load paths for jquery and ACE.
…ngle page is detrimental to your health ;-) hence upgraded to a version we are currently using ourselves )
…or/beautifier (The JavaScript Unminifier at http://www.centralinternet.com.br/javascript-beautifier) gave visually better code output but nuked the literal HTML elements embedded in some strings in the code, thus nuking the source code, while JSPretty (http://www.jspretty.com/) kept the code intact.
…t defines' (default is to NOT minify; the original PHP_Error did minify its own code but I don't want minified code in my 'deep debug' site output)
…xamples/class_not_found.php when saving the edited example file: the C-slashes should not have been stripped (tested on current Chrome (stable) and PHP 5.3.8 (WAMP))
@kenorb kenorb merged commit c7ba5b2 into kenorb-contrib:master Mar 24, 2016
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants