News:

Dear forum visitors, if the support forum is not available, please try again a few minutes later. Thanks!

Main Menu
Support-Forum

Error changing directory path and protecting it

Started by Gianni, 19.03.2023 12:01:25

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Gianni

Hi, I'm using Joomla 4.2.9-1 and jD 4.0.20 jD version.
I changed the jD main directory to /jdownloads and 0755 permissions but I obtain this error when I active protection on that:
"Copy failed: [ROOT]/administrator/components/com_jdownloads/htaccess.txt to /jdownloads/.htaccess".
  •  

Arno

Hi,
in which case you may have made a mistake when changing the directory? The folder must be entered as an absolute path. Not only: /jdownloads

Copy failed: [ROOT]/administrator/components/com_jdownloads/htaccess.txt to /jdownloads/.htaccess".

I have it tested and it works as expected.

Since your post is not an bug report, I'm moving it.
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!
  •  

Gianni

Ok, probably I made a mistake. The problem I think was not to create a directory before changing path (it didn't exist), thinking about the process should be create it. At that point, original jdownloads directory was empty, due to this the process resulted impossible to execute.
You are right, it was not a bug. Sorry for this.
  •