Bug 2532550 - All media files not uploads
Summary: All media files not uploads
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: dokuwiki
Version: 44
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Artur Frenszek-Iwicki
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-09-12 08:05 UTC by Oleg Kochkin
Modified: 2026-09-29 01:06 UTC (History)
1 user (show)

Fixed In Version: dokuwiki-20250514b-7.fc43 dokuwiki-20250514b-9.fc44
Clone Of:
Environment:
Last Closed: 2026-09-29 00:43:56 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Oleg Kochkin 2026-09-12 08:05:50 UTC
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.

Comment 1 Artur Frenszek-Iwicki 2026-09-12 08:36:14 UTC
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.

Comment 2 Fedora Update System 2026-09-20 14:28:51 UTC
FEDORA-2026-06b7fbc8c8 (dokuwiki-20250514b-9.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-06b7fbc8c8

Comment 3 Fedora Update System 2026-09-20 14:37:29 UTC
FEDORA-2026-fe4ac93db3 (dokuwiki-20250514b-7.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-fe4ac93db3

Comment 4 Fedora Update System 2026-09-21 01:24:35 UTC
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.

Comment 5 Fedora Update System 2026-09-21 01:55:37 UTC
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.

Comment 6 Fedora Update System 2026-09-29 00:43:56 UTC
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.

Comment 7 Fedora Update System 2026-09-29 01:06:05 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.