Joomla error: Joomla Filesystem File::delete: Failed deleting Inaccessible file

Asked

Viewed 180 times

0

A few days I have been facing an atypical problem with Joomla in version 3.9.5. I migrated the site from one Linux server to another and while trying to make some adjustments in the Joomla global settings the following error is returned after clicking the Save button:

Joomla Filesystem File::delete: Failed deleting Inaccessible file bea6467846ac52096cea865ca370f3c6

I also identified that the same error occurs when trying to install any module. In the researches I carried out some people reported that it could be permission problem and that maybe the problem is with the migration process, in short, nothing I was able to collect material so far solved the problem. To remove the doubt that it could be something with the application, I installed a pure Joomla in version 3.9.5 in the same environment of the site that presents the error and the problem also happens in this installation. One remark is that in the previous environment this error was not presented and I also have practically the same application running locally in Easyphp with PHP 7.1 and everything works as it should.

Follow a bit of the setup: Joomla 3.9.5 - PHP 7.2.16 - Linux Server - Cpanel Panel - Directories with 755 permission and 644 files. To view both the application I migrated and the Joomla I installed later, I use the temporary URL available in the panel because I haven’t pointed out the DNS yet.

  • After the publication of this doubt, I performed more tests and I was able to notice one thing, in the static delete method that is in Libraries/src/Filesystem/File.php the system tries to replace files in casual way (which I do not know how it works)when this is not possible it tries to do through FTP and in order for it to have access it is necessary in the settings of Joomla to enable FTP mode and fill in the access data, in this way the system will have the necessary permission. As via the dashboard it was not possible to save, I changed it directly in Configuration.php.

  • Would anyone have any idea what might be causing this permission problem?

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.