Bug #97770
closedBetter error message for RuntimeException while uploading a file
100%
Description
Hello,
if I upload a file in fileadmin I get following error message:
Uploaded file could not be moved! There might be a problem with write permissions in "10"?
I have checked the folder permissions. 775 is more than enough to write files there.
After a reload of the folder in filelist module I see that the image was uploaded.
I found following lines in Core:
} catch (\RuntimeException $e) { $this->writeLog(SystemLogFileAction::UPLOAD, SystemLogErrorClassification::USER_ERROR, 100, 'Uploaded file could not be moved! Write-permission problem in "%s"?', [$targetFolderObject->getIdentifier()]); $this->addMessageToFlashMessageQueue('FileUtility.UploadedFileCouldNotBeMoved', [$targetFolderObject->getIdentifier()]); }
There is no line logging the real error. I have changed these lines on my local machine and the error is now:
RuntimeException: Invalid path or filename for Tika application jar: /kunden/12345_1234/rp-hosting/1234567/2345678/typo3cms/tools/tika-app-1.28.1.jarUpload of file "IMAGE_Fehler_csv.png" failed!
This is a completely different error and has nothing to do with renaming problems.
Nice greetings and I wish you all a long warm weekend
Stefan
Updated by Gerrit Code Review over 2 years ago
- Status changed from Accepted to Under Review
Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/74967
Updated by Georg Ringer over 2 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 477e6e2bbe6399803ad1f63a18125ff33027bcc0.
Updated by Gerrit Code Review over 2 years ago
- Status changed from Resolved to Under Review
Patch set 1 for branch 11.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/75434
Updated by Georg Ringer over 2 years ago
- Status changed from Under Review to Resolved
Applied in changeset 3bb6e34cfb6ca89f5b8922cd175816b4ebfd910b.