View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002147 | Xdebug | Stacktraces | public | 2022-12-12 16:36 | 2022-12-14 18:55 |
Reporter | RickKukiela | Assigned To | derick | ||
Priority | low | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | no change required | ||
Product Version | 3.1.2 | ||||
Summary | 0002147: Font color barely legible in on-page error report | ||||
Description | The font color of the in-page layout is inheriting the red font color assigned to the div, for the header text. The container for this has an orange background, which makes it very difficult to read. IMO, the font color does not need to be red at all, as I feel the orange strip with the (!) bang icon is plenty noticeable on its own and that black text for the headline and trace lines would be sufficient (See attached screen shot) PHP 8.1.2 (cli) (built: Jan 19 2022 10:18:23) (ZTS Visual C++ 2019 x64) | ||||
Steps To Reproduce | Load a page with error output on that contains a PHP error or warning. | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Operating System | |||||
PHP Version | 8.1.10-8.1.19 | ||||
|
Xdebug does not set the colour as red, that is probably your own stylesheet. In order to allow for some styling, Xdebug sets classes on its error messages, called 'xdebug-error'. You can target |
|
@Derick Thanks for looking into this. I just have to clarify something then. The code generated from X-Debug looks like this:
The |
|
I wish the rendering engine did escape my html inside the (```) block but I cant find a way to edit it either :shrug: here is a screen shot pointing to the div I'm referring to. |
|
Nevermind! I took my own advise and checked my php.ini file and it appears my "easyphpdevserver" has https://php.net/error-prepend-string enabled and configured by default (new in 8.0 I guess) which was adding that div causing my issue. I did not "set" this or know about it so I just assumed the new version of x-debug was adding it. My bad! Thanks again (xdebug is a life saver!) |
Date Modified | Username | Field | Change |
---|---|---|---|
2022-12-12 16:36 | RickKukiela | New Issue | |
2022-12-12 16:36 | RickKukiela | File Added: 9wa34UJ.png | |
2022-12-14 17:50 | derick | Assigned To | => derick |
2022-12-14 17:50 | derick | Status | new => resolved |
2022-12-14 17:50 | derick | Resolution | open => no change required |
2022-12-14 17:50 | derick | Note Added: 0006487 | |
2022-12-14 18:48 | RickKukiela | Note Added: 0006488 | |
2022-12-14 18:51 | RickKukiela | Note Added: 0006489 | |
2022-12-14 18:51 | RickKukiela | File Added: image.png | |
2022-12-14 18:55 | RickKukiela | Note Added: 0006490 |