View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000893 | XMB1 | Bugs | public | 2026-05-05 23:43 | 2026-05-21 08:49 |
| Reporter | flushedpancake | Assigned To | miqrogroove | ||
| Priority | normal | Severity | tweak | Reproducibility | sometimes |
| Status | closed | Resolution | fixed | ||
| Product Version | 1.9.8 SP2 | ||||
| Target Version | 1.10.03 | Fixed in Version | 1.10.03 | ||
| Summary | 0000893: Board can become unusable if the footer server load display is turned on, and exec() is disabled | ||||
| Description | I imagine this might become a problem for some shared hosting and/or free webhosting environments. ByetHost comes to mind as one example who have turned off exec() on their servers. Might be worth checking if the function exec() exists in PHP and is enabled before doing anything, since if it's not you get this error Fatal error: Uncaught Error: Call to undefined function XMB\exec() in include/functions.inc.php:979 Stack trace: # 0 include/functions.inc.php(908): XMB\Core->ServerLoad() # 1 admin/index.php(51): XMB\Core->end_time() # 2 {main} thrown in include/functions.inc.php on line 979 | ||||
| Tags | No tags attached. | ||||
| MySQL Version | |||||
| PHP Version | |||||
| Web Server | |||||
| Browser | |||||
| Flags | |||||
| Original Reporter | |||||
| SVN Revision | |||||
| Git Commit | https://github.com/miqrogroove/xmb/commit/f5e8e2023ba10fe717c667226bc561c9495232a2 | ||||
|
|
The inner command 'uptime' also happens to be platform specific. This is very fragile code. |
|
|
I agree this should be fixed, however the severity is highly subjective. A host can disable any built-in function, and we can't be expected to check them all. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2026-05-05 23:43 | flushedpancake | New Issue | |
| 2026-05-08 10:55 | miqrogroove | Priority | low => normal |
| 2026-05-08 10:55 | miqrogroove | Severity | trivial => minor |
| 2026-05-08 10:55 | miqrogroove | Status | new => acknowledged |
| 2026-05-08 10:55 | miqrogroove | Target Version | => 1.10.03 |
| 2026-05-08 10:55 | miqrogroove | Description Updated | |
| 2026-05-10 09:10 | miqrogroove | Note Added: 0000613 | |
| 2026-05-10 09:10 | miqrogroove | Note Edited: 0000613 | |
| 2026-05-10 09:55 | miqrogroove | Severity | minor => tweak |
| 2026-05-10 09:55 | miqrogroove | Status | acknowledged => assigned |
| 2026-05-10 09:55 | miqrogroove | Product Version | 1.10.02 => 1.9.8 SP2 |
| 2026-05-10 09:55 | miqrogroove | Note Added: 0000614 | |
| 2026-05-10 10:10 | miqrogroove | Assigned To | => miqrogroove |
| 2026-05-10 10:10 | miqrogroove | Status | assigned => resolved |
| 2026-05-10 10:10 | miqrogroove | Resolution | open => fixed |
| 2026-05-10 10:10 | miqrogroove | Fixed in Version | => 1.10.03 |
| 2026-05-10 10:10 | miqrogroove | Git Commit | => https://github.com/miqrogroove/xmb/commit/f5e8e2023ba10fe717c667226bc561c9495232a2 |
| 2026-05-21 08:49 | miqrogroove | Status | resolved => closed |