![]() |
|
Moving Directory? - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Moving Directory? (/thread-4499.html) |
Moving Directory? - Mr Hyde - 2009-01-21 Hello! Is it possible/how can I move the zen photo directory? For instance, I have a gallery running in "mysite.com/photos/" but I want to rename the directory to "mysite.com/something" What do I have to change in Zen Photo to make this possible? Thanks Moving Directory? - sbillard - 2009-01-21 Rename the folder then run the setup program. Moving Directory? - Mr Hyde - 2009-01-21 Will this not overwrite all the data such as image descriptions and things? Moving Directory? - sbillard - 2009-01-22 All this does is change the root folder for your gallery. Moving Directory? - Mr Hyde - 2009-01-22 I ran setup.php and it seemed happy. At the bottom I had a login box, so I llogged in, but thne got returned to the same page. When logging into the admin section, I also get returned to the login page again. Moving Directory? - Mr Hyde - 2009-01-22 Perhaps I could rename both the old gallery folder and the new one to something completly different. Install a fresh zen photo, then simply rename the new gallery so it overwrites the freshly installed one, so it would then connect to the new database? Or then would the backup/restore feature work? Perhaps though this would just cause the same error as above. Moving Directory? - sbillard - 2009-01-22 Did you change the version of zenphoto at the same time? If so, you will need the nightly build. Moving Directory? - jollywood - 2009-01-23 sbillard: Thanks. I changed the directory name and ran setup program, it worked like charm! Moving Directory? - Mr Hyde - 2009-01-25 The version I uploaded and customised was: define 1.2.2 (2983). I will probably be better off just starting again and closing the site for a few hours. Moving Directory? - sbillard - 2009-01-25 The reason I asked is that there is a bug in 1.2.2 that occurs if you install an updated revision while you are logged out. It gives the symptoms you describe. But it should not happen if the revision did not change, so is probably not the problem you are seeing. Still you might want to install the nightly build and see if the problem gets fixed. Moving Directory? - Mr Hyde - 2009-01-26 I'll give it a go |