Hi,
i would like to change the directory where albums are stored. I would like to movie it from /var/www/albums to /home/gallery/albums because my /var partition seems to be too small to run gallery.
I've tried it with a simple cp commad for the whole albums directory, and then set up all the permissions. After it, the gallery worked well, but one of my users would like to rename one of his albums. He did it and the pictures of this renamed album was disappeared. I don't know what's wrong, but there can be an easier way to do this, i don't know.
Please let me know how should i do it?
B4n4n
Posts: 487
Did you remember to update the path variables in config.php ?
Posts: 3
Of course, i changed the albums directory variables to /home/gallery/albums , i found only this one.
Posts: 38
Your upload image directory is called upon 3 times in the config
line 50: $gallery->app->albumDir
line 53: $gallery->app->albumDirURL
line 63: $gallery->app->userDir
Need to change all of these.
Posts: 487
Hmm, okay, I forgot about this before, but it sounds like your webserver
cannot access the directory you've moved gallery too. Gallery will not
work properly if the albums tree is outside the webserver's jurisdiction.
So, you may need to reconfigure your webserver so that the new location
is accessible via the webserver. Gallery 2 is changing this, but for Gallery 1
there is no escape. If you use apache, you can probably just create a new
alias/directory declaration and point it where you need to.