View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0033418 | mantisbt | documentation | public | 2023-12-09 17:54 | 2024-02-20 16:58 |
Reporter | rogueresearch | Assigned To | dregad | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Product Version | 2.25.8 | ||||
Target Version | 2.26.1 | Fixed in Version | 2.26.1 | ||
Summary | 0033418: Document PHP ctype extension as required | ||||
Description | The other day I upgraded from mantis 2.25.7 to 2.25.8, then a couple of days later from php 7.4.33 to 8.1.26, the day after that, the system sent this email:
I'm guessing it's due to the PHP update. Look like mantis 2.25.8 has PHPMailer 6.5.0. I see manits 2.26 updated to PHPMailer 6.8.0 in 0029025. I suppose I'll try updating mantis to 2.26. But this appears to mean that 2.25.8 is not fully PHP 8 compatible... | ||||
Tags | No tags attached. | ||||
Not sure it's a PHP 8 compatibility issue, as ctype_alnum() exists since PHP 4, but the function is part of ctype extension so maybe that is not installed in your PHP 8.1 system ? |
|
Ah ha! Indeed the package manager removed It's not listed as required, but I guess the EmailReporting plugin needs it. Is there a mechanism for the plugin to tell mantisbt this, so that |
|
I don't know the requirements of the EmailReporting plugin (I don't use it) but there is currently no way for a plugin to tell the core about its PHP extension requirements. That being said, I checked and ctype extension is actually required by the PHPMailer library, which is used by MantisBT email API to do its job so we should document that, and update the admin checks accordingly. Thanks for the bug report. |
|
Changes lgtm. Many thanks! |
|
MantisBT: master-2.26 29d701e8 2023-12-10 12:52 Details Diff |
ctype PHP extension is required by PHPMailer - Reference it in the Admin Guide's installation section - Verify its presence in Admin Checks Fixes 0033418 |
Affected Issues 0033418 |
|
mod - admin/check/check_php_inc.php | Diff File | ||
mod - docbook/Admin_Guide/en-US/Installation.xml | Diff File |