News:

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

Main Menu
Support-Forum

After jD 4 update and changing "files_uploaddir", the "root_dir" stays the same

Started by Jefferson49, 09.02.2023 06:34:59

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Jefferson49

- Joomla: 4.2.7
- jD 4.0.16 Beta
- PHP: 8.0.23
- Standard backend template: jD yes, Joomla Atum
- New Joomla 4 installation

During upgrading from jD 3.9 to jD 4.0.16 beta, the upload directory path still had the value of an old installation. After the upgrade, I changed the path to the new server. If looking into the JSON option file, I can find the new path in "files_uploaddir". However, there is another path variable "root_dir", which still contains the old path.

I do not know if this is exactly related to the jD 4 update. At the moment, the option does not seem to cause problems. However, it looks wrong.

Questions:

  • Should the "root_dir" have been changed during the update?
  • Shoud the "root_dir" have been changed in parallel while changing the "files_uploaddir"?
  • Or, is there a setting view, where I can change the  "root_dir"? Haven't found it.
  •  

ColinM

Hi
In updating from Joomla 3.9 to 4 it is assumed that it is on the same server so one would expect the root address to remain the same
Colin
Colin M
  •  

Arno

QuoteQuestions:
Should the "root_dir" have been changed during the update?
Shoud the "root_dir" have been changed in parallel while changing the "files_uploaddir"?
Or, is there a setting view, where I can change the  "root_dir"? Haven't found it.
It may be that this option is no longer used. But I must check this. Thanks.

You cannot change it via backend. You could try to export the data, change it and import it again.
Edit: This will not work. So you need to change it manually in the extension table element com_jdownloads field params.
But you could also wait on the next version.
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!
  •