Bug 2532550
| Summary: | All media files not uploads | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Oleg Kochkin <oleg.kochkin> |
| Component: | dokuwiki | Assignee: | Artur Frenszek-Iwicki <fedora> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 44 | CC: | fedora |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | dokuwiki-20250514b-7.fc43 dokuwiki-20250514b-9.fc44 | Doc Type: | --- |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2026-09-29 00:43:56 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Thanks for the report. Dokuwiki in Fedora 44 is at version 2025-05-14b. I missed this when backporting some security patches from 2026-07-14c. FEDORA-2026-06b7fbc8c8 (dokuwiki-20250514b-9.fc44) has been submitted as an update to Fedora 44. https://bodhi.fedoraproject.org/updates/FEDORA-2026-06b7fbc8c8 FEDORA-2026-fe4ac93db3 (dokuwiki-20250514b-7.fc43) has been submitted as an update to Fedora 43. https://bodhi.fedoraproject.org/updates/FEDORA-2026-fe4ac93db3 FEDORA-2026-fe4ac93db3 has been pushed to the Fedora 43 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-fe4ac93db3` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-fe4ac93db3 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2026-06b7fbc8c8 has been pushed to the Fedora 44 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-06b7fbc8c8` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-06b7fbc8c8 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2026-fe4ac93db3 (dokuwiki-20250514b-7.fc43) has been pushed to the Fedora 43 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-2026-06b7fbc8c8 (dokuwiki-20250514b-9.fc44) has been pushed to the Fedora 44 stable repository. If problem still persists, please make note of it in this bug report. |
An error message is displayed when uploading any media file. An error appears in the dokuwiki log: 2026-09-12 09:53:49Error: Call to undefined function mediaAclPath()/usr/share/dokuwiki/inc/media.php(333) #0 /usr/share/dokuwiki/inc/Ajax.php(295): media_upload_xhr() #1 /usr/share/dokuwiki/inc/Ajax.php(28): dokuwiki\Ajax->callMediaupload() #2 /usr/share/dokuwiki/lib/exe/ajax.php(26): dokuwiki\Ajax->__construct() Also, the problem is mentioned on https://forum.dokuwiki.org/d/26173-error-call-to-undefined-function-mediaaclpath Reproducible: Always Steps to Reproduce: 1. Select media file for upload (picture) 2. Push upload button Actual Results: Message "Failed" Additional Information: I added function: function mediaAclPath($id) { return ltrim(getNS($id) . ':*', ':'); } to /usr/share/dokuwiki/inc/auth.php and the problem with uploading files was resolved.