.users and another installation on a different subdomain
jhave
Joined: 2003-03-04
Posts: 48 |
Posted: Wed, 2004-02-18 10:10 |
No albums can be found. I tried to install the latest Gallery version under a different subdomain (http://galadriel.troldmand.net/gallery) and it didn't work. Now I have a .users file last modified Nov 16 2003 in the existing Gallery (gandalf) .... Did this destroy my .users file so I have to upload e v e r y t h i n g again? |
|
Posts: 8194
What is not working exactly? You can run Gallery in two different places, as long as they have different album directories.
Posts: 48
Well, the albums are still on the server of course but ever since I tried (unsuccessfully) to install gallery on a different subdomain, the first gallery http://gandalf.troldmand.net/gallery doesn't work. You get the front page, but the albums gives a 404 error. How can I resolve this?
Posts: 16504
I think you need to edit your config.php to include relative paths as discussed in in the following threads or FAQs:
Short Urls
FAQ Gallery:c.22
Two url's
HTH
Kevin
Posts: 48
I have tried but I don't think this is the problem. It worked fine until I tried to install on a different subdomain. The albums are on the server at the http:/gandalf.troldmand.net/gallery/20040001 address or
http:/gandalf.troldmand.net/gallery/20040001 or
http:/gandalf.troldmand.net/gallery/20030005 for instance...
Posts: 48
Would it help if I tried to update the Gallery to version 1.4.2? Running 1.4pl2 at the moment
Posts: 16504
That would help for a security fix that you should apply anyway.
Are you using the same gallery installation for both subdomains?
Can you explain how you have gallery installed on your site?
eg: /public_html/gallery
or
/public_html/gandalf/gallery
/public_html/galadriel/gallery
Kevin
Posts: 48
like this:
/www/gandalf/gallery
/www/galadriel/gallery
The galadriel one is not working. I tried to install 1.4.2. Gandalf is the important one and is not showing anything except the front page of the entire album (six albums in total). Clicking on the link to any album brings up an error message as listed previously. Is there any way to recover from this? Before I upgrade Gandalf to 1.4.2., it would be nice to have it working...
Posts: 16504
Just to make sure, are your album directories different for both of these Gallery installs?
What I've typically done when I've ran into problems like this is start over ;). This is why I like to have my albums directory separate from my gallery directory.
I delete my entire gallery install, upload new files and then reconfigure.
I'd setup my directory structure up like this on your server:
/www/gandalf/albums
/www/gandalf/gallery
/www/galadriel/albums
/www/galadriel/gallery
Sorry I can't be of more help. I haven't ran into a lot of problems with Gallery so I haven't had to troubleshoot it all that much.