You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the state column ModX says "The webserver does not have the necessary permissions to update the directory." after file upload.
The reason apparently is that FileSluggy renames the uploaded file, but ModX for some reason still calls the renameObject method in core/model/modx/sources/modfilemediasource.class.php with the original filename, and the if (!$oldFile->isReadable() || !$oldFile->isWritable()) { check fails obviously, as the file has been renamed already and the $oldFile points still to the original filename.
ModX version: 2.8.3
FileSluggy version: 1.3.4
Actually the file is uploaded fine, but still it looks bad to have the big red error message every time someone uploads a file.
Is this something considered "normal" for the plugin or is it something specific to my deployment?
The text was updated successfully, but these errors were encountered:
In the state column ModX says "The webserver does not have the necessary permissions to update the directory." after file upload.
The reason apparently is that FileSluggy renames the uploaded file, but ModX for some reason still calls the
renameObject
method incore/model/modx/sources/modfilemediasource.class.php
with the original filename, and theif (!$oldFile->isReadable() || !$oldFile->isWritable()) {
check fails obviously, as the file has been renamed already and the$oldFile
points still to the original filename.ModX version: 2.8.3
FileSluggy version: 1.3.4
Actually the file is uploaded fine, but still it looks bad to have the big red error message every time someone uploads a file.
Is this something considered "normal" for the plugin or is it something specific to my deployment?
The text was updated successfully, but these errors were encountered: