-
Notifications
You must be signed in to change notification settings - Fork 151
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixes: #34, #36, #79, #92, etc. #94
Open
kenorb
wants to merge
51
commits into
JosephLenton:master
Choose a base branch
from
kenorb-contrib:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…ing about the session being started already.
…serve xDebug's prettyfied var_dump()
Conflicts: src/php_error.php
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
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.
…hp test script always.
…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))
This uses the ob_get_level command to work out how many output buffers we need to close before we make our own output.
master from GerHobbelt/PHP-Error
Add support for nested output buffers
Moved turning off 'html_errors' into error/exception handlers.
handle zlib output compression
This was referenced Mar 24, 2016
This was referenced Mar 24, 2016
kenorb
changed the title
Bug fixes: #34, #79, #92, etc.
Bug fixes: #34, #36, #79, #92, etc.
Mar 24, 2016
kenorb
changed the title
Bug fixes: #34, #36, #79, #92, etc.
Fixes: #34, #36, #79, #92, etc.
Mar 24, 2016
I had to change these two lines to get the ace editor to work: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.