Page 1 of 1

Error when upload image on File Manager on latest Bludit 4

Posted: Mon May 16, 2022 8:30 am
by henrysaudale
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?

Re: Error when upload image on File Manager on latest Bludit 4

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

Is there an error message in the log file?

Re: Error when upload image on File Manager on latest Bludit 4

Posted: Mon May 16, 2022 6:43 pm
by abdulhalim
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

Re: Error when upload image on File Manager on latest Bludit 4

Posted: Mon May 16, 2022 7:14 pm
by Edi
Which release candidate?

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

Is there an error message in the log file?

Re: Error when upload image on File Manager on latest Bludit 4

Posted: Mon May 23, 2022 12:11 pm
by henrysaudale
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'

Re: Error when upload image on File Manager on latest Bludit 4

Posted: Mon May 23, 2022 12:14 pm
by Edi
Are special characters used?

Re: Error when upload image on File Manager on latest Bludit 4

Posted: Tue May 24, 2022 9:57 am
by henrysaudale
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

Re: Error when upload image on File Manager on latest Bludit 4

Posted: Tue May 24, 2022 6:26 pm
by Edi
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.

Re: Error when upload image on File Manager on latest Bludit 4

Posted: Fri Jun 30, 2023 9:29 am
by benjaminbellamy
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