Ticket #143 (closed defect: fixed)
typo in bugreport.php causes "eAccelerator isn't loaded" message
| Reported by: | Stadler | Owned by: | bart |
|---|---|---|---|
| Priority: | trivial | Milestone: | 0.9.5 |
| Component: | eAccelerator | Version: | 0.9.5 |
| Keywords: | Cc: |
Description
There is a typo at line 19 of bugreport.php, so at least on PHP 4.x you always get the message "eAccelerator isn't loaded, why do you want to report a bug?", when trying to run the script.
The fix is simple:
<?php
if (!extension_loaded('eaccelerator')) {
die("eAccelerator isn't loaded, why do you want to report a bug?\n");
}
?>
should be
<?php
if (!extension_loaded('eAccelerator')) {
die("eAccelerator isn't loaded, why do you want to report a bug?\n");
}
?>
Regards,
Christian Stadler
Change History
comment:2 Changed 6 months ago by sim
decoration Changed 1 year ago by admin
bathtub Changed 1 year ago by admin
solar system Changed 1 year ago by admin
stair parts Changed 1 year ago by admin
solar supply Changed 1 year ago by admin
Note: See
TracTickets for help on using
tickets.
This is fixed in [235], it seems that php5 does a lowercase on the extension names and php4 doesn't. I test on both version now. Thanks for reporting this!