View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update | 
|---|---|---|---|---|---|
| 0000811 | Xdebug | Uncategorized | public | 2012-04-15 17:55 | 2012-12-24 12:48 | 
| Reporter | Virsacer | Assigned To | derick | ||
| Priority | normal | Severity | minor | Reproducibility | always | 
| Status | closed | Resolution | fixed | ||
| Target Version | 2.2.2 | Fixed in Version | 2.2.2 | ||
| Summary | 0000811: PHP Documentation Link | ||||
| Description | PHP has the built in config vars docref_root and docref_ext for generating links in error messages. Xdebug should use them instead of its own manual_url. The links generated by PHP are not clickable in the browser (see screenshot) | ||||
| Steps To Reproduce | Set docref_root and force a php error... | ||||
| Tags | No tags attached. | ||||
| Attached Files | |||||
| Operating System | |||||
| PHP Version | 5.4.0 | ||||
|  | Hi, I do not disagree and it was kind of interesting to figure out why I added it in the first place. Seems like I added it on June 6th, 2002: https://github.com/derickr/xdebug/commit/e2b429e611c77b493e22634ce096787dfbc94c38 . This was before PHP introduced docref on August 8th, 2002: https://github.com/derickr/php-src/commit/88c385e8176c50d0cfe1d5203cd0ce40859a1b68 I'll get rid of it in 2.2.1. cheers, | 
|  | Fixed on github for 2.2.1 and 2.3. | 
|  | Thanks for the fix, but there are still two small issues: 
 So now I get http://127.0.0.1/PHP//mysqli_connect.html instead of http://127.0.0.1/PHP/function.mysqli-connect.html This format is also supported by the online doc: http://www.php.net/function.mysqli-connect | 
|  | I was trying to setup Xdebug v2.2.1 at Apache 2.4.2/PHP 5.4.4 at a Linux machine and i got just there, with the same issue. So, as Virsacer reporter, i have the same problem: currently, its not possible to make Xdebug works with PHP.ini "docref_root" local documentation linkage, at a dev machine. The sintax used by Xdebug linkage is point to function references is wrong to pharse local manual entries. Even online entries too. I believe the "function.*" should be added at the pharsed issue, as well as the correct handler-mapping pointed above. Maybe, this just get working fine if it only follows the default PHP.ini "docref_root" behavior. Best regards. | 
|  | I've further committed code for this - it should work now. | 
| Date Modified | Username | Field | Change | 
|---|---|---|---|
| 2012-04-15 17:55 | Virsacer | New Issue | |
| 2012-04-15 17:55 | Virsacer | File Added: docref_error.png | |
| 2012-04-22 13:40 | derick | Note Added: 0002067 | |
| 2012-04-22 13:40 | derick | Target Version | => 2.2.1 | 
| 2012-06-27 21:13 | derick | Note Added: 0002301 | |
| 2012-06-27 21:13 | derick | Status | new => closed | 
| 2012-06-27 21:13 | derick | Assigned To | => derick | 
| 2012-06-27 21:13 | derick | Resolution | open => fixed | 
| 2012-06-27 21:13 | derick | Fixed in Version | => 2.2.1 | 
| 2012-06-28 18:22 | Virsacer | Note Added: 0002308 | |
| 2012-06-28 18:22 | Virsacer | Status | closed => feedback | 
| 2012-06-28 18:22 | Virsacer | Resolution | fixed => reopened | 
| 2012-06-28 18:23 | Virsacer | Note Edited: 0002308 | |
| 2012-07-14 22:14 | derick | Target Version | 2.2.1 => 2.2.2 | 
| 2012-09-17 14:00 | fwendt | Note Added: 0002347 | |
| 2012-12-20 16:00 | derick | Status | feedback => closed | 
| 2012-12-20 16:00 | derick | Resolution | reopened => fixed | 
| 2012-12-20 16:00 | derick | Fixed in Version | 2.2.1 => 2.2.2 | 
| 2012-12-24 12:48 | derick | Note Added: 0002402 | |
| 2016-07-31 12:36 | derick | Category | Usage problems => Usage problems (Crashes) | 
| 2016-07-31 12:38 | derick | Category | Usage problems (Crashes) => Usage problems (Wrong Results) | 
| 2020-03-12 16:35 | derick | Category | Usage problems (Wrong Results) => Variable Display | 
| 2020-03-12 16:38 | derick | Category | Variable Display => Uncategorized | 
