Search…

X3 Photo Gallery Support Forums

Search…
 
metallissimus
Experienced
Topic Author
Posts: 359
Joined: 17 Oct 2019, 06:54

New path for files.app

Yesterday, 13:25

Hi,

a while ago I successfully set up an instance of files.app within my X3 installation for some file sharing. Now I wanted to use it again, but with a different URL. Because I don't need the old one anymore (and can't remember everything I did to set it up) I  renamed the corresponding folder in my webspace's root as well as the folder inside the ../content/ and changed the root path in _filesconfig.php and in _files/config/config.php.
When I try to access the new URL I get an error "root dir ../content/old_url does not exist." Did I miss another place where I need to change the path?
www.danielbollinger.de – corporate photography
hochzeiten.danielbollinger.de – wedding photography
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14463
Joined: 30 Sep 2006, 03:37

Re: New path for files.app

Today, 00:28

metallissimus wrote: Hi,

a while ago I successfully set up an instance of files.app within my X3 installation for some file sharing. Now I wanted to use it again, but with a different URL. Because I don't need the old one anymore (and can't remember everything I did to set it up) I  renamed the corresponding folder in my webspace's root as well as the folder inside the ../content/ and changed the root path in _filesconfig.php and in _files/config/config.php.
When I try to access the new URL I get an error "root dir ../content/old_url does not exist." Did I miss another place where I need to change the path?
A bit difficult to understand the full context, especially since using "_filesconfig.php" is considered advanced usage, mostly for when you have multiple installations that share the same cache and common configs. If you have edited both those configs in the correct paths, then the only possible remaining default config is directly in the "index.php" file that you are trying to access. This "default" config should normally never be edited, but it would be possible.

If the system is returning a reference to "../content/old_url" then of course it must be stored somewhere ;) Unless you have some nginx varnish caching going on, but this seems highly unlikely.
 
metallissimus
Experienced
Topic Author
Posts: 359
Joined: 17 Oct 2019, 06:54

Re: New path for files.app

Today, 05:07

Thank you Karl. I don't know what went wrong yesterday, but when I checked everything again today, the path in _filesconfig.php was still the old one. I am sure I changed it, but maybe the connection between my FTP software and the editor didn't work out. After changing the path (again) everything is working fine.
www.danielbollinger.de – corporate photography
hochzeiten.danielbollinger.de – wedding photography