Error when upload image on File Manager on latest Bludit 4

Post Reply
henrysaudale
Ssr. Bludit
Posts: 10
Joined: Tue Feb 16, 2021 3:23 pm

I have the latest clean installation of Budit 4 but I'm having problems uploading images from the file manager and this is the message "File Manager. An error occurred while trying to upload the file." my "uploads" folder is set to 775. is CHMOD recommended?
User avatar
Edi
Site Admin
Posts: 3121
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Has thanked: 54 times
Been thanked: 77 times
Contact:

Which version of PHP is installed?

Is there an error message in the log file?
Clickwork - Websites mit Bludit | Planet Bludit - Tipps und Snippets
User avatar
abdulhalim
Master Bludit
Posts: 128
Joined: Thu Mar 10, 2016 6:25 pm
Location: Bandar Abbas
Been thanked: 4 times
Contact:

Unfortunately, I have this issue either, I test Bludit on several server stacks including Apache and Nginx, with PHP 7~8, on Linux and Windows 10, The issue persists
User avatar
Edi
Site Admin
Posts: 3121
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Has thanked: 54 times
Been thanked: 77 times
Contact:

Which release candidate?

Is this also the case, when new content is createtd?

Is there an error message in the log file?
Clickwork - Websites mit Bludit | Planet Bludit - Tipps und Snippets
henrysaudale
Ssr. Bludit
Posts: 10
Joined: Tue Feb 16, 2021 3:23 pm

Edi wrote: Mon May 16, 2022 12:26 pm Which version of PHP is installed?

Is there an error message in the log file?
PHP 7.4

PHP Warning: rename(.../arjuna/bl-content/uploads/pages/quisque-porttitor-ac-nisl-vitae-venenatis/d-sawah.png): No such file or directory in /.../arjuna/bl-kernel/helpers/filesystem.class.php on line 68

[ERROR] [4.0.0] [/arjuna/api/pages/files/quisque-porttitor-ac-nisl-vitae-venenatis] uploadPageFile | Error uploading the file.

looks like this when filesystem renames image 'oldname' to 'newname'
User avatar
Edi
Site Admin
Posts: 3121
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Has thanked: 54 times
Been thanked: 77 times
Contact:

Are special characters used?
Clickwork - Websites mit Bludit | Planet Bludit - Tipps und Snippets
henrysaudale
Ssr. Bludit
Posts: 10
Joined: Tue Feb 16, 2021 3:23 pm

Edi wrote: Mon May 23, 2022 12:14 pm Are special characters used?
I tried using characters and not using characters but the result is the same, can't upload / error. the extension used is jpg, png
User avatar
Edi
Site Admin
Posts: 3121
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Has thanked: 54 times
Been thanked: 77 times
Contact:

henrysaudale wrote: Tue May 24, 2022 9:57 am I tried using characters and not using characters but the result is the same, can't upload / error. the extension used is jpg, png
I mean in the URL of the post or page where you try to upload the image.
Clickwork - Websites mit Bludit | Planet Bludit - Tipps und Snippets
User avatar
benjaminbellamy
Jr. Bludit
Posts: 1
Joined: Wed Jun 28, 2023 3:08 pm

I don't know if this is related but I can't upload file to a child page.
I opened an issue on Github:
https://github.com/bludit/bludit/issues/1518
Last edited by benjaminbellamy on Fri Jun 30, 2023 9:32 am, edited 1 time in total.
Post Reply