.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?
I can't run Gallery under two different subdomains without destroying my .users file? This is really bad... :(
----
Give us your Gallery/webserver information to get a faster answer.
Get this information from the PHP diagnostic (in the configuration wizard).
Gallery URL (optional but very useful): http://gandalf.troldmand.net/gallery
Gallery version: 1.4.1
Apache version: ?
PHP version (don't just say PHP 4, please):
Graphics Toolkit: netpbm
Operating system: unix
Web browser/version (if applicable):

 
alindeman
alindeman's picture

Joined: 2002-10-06
Posts: 8194
Posted: Wed, 2004-02-18 12:36

What is not working exactly? You can run Gallery in two different places, as long as they have different album directories.

 
jhave

Joined: 2003-03-04
Posts: 48
Posted: Wed, 2004-02-18 19:10

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?

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Thu, 2004-02-19 03:34

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

 
jhave

Joined: 2003-03-04
Posts: 48
Posted: Thu, 2004-02-19 16:13
nivekiam wrote:
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

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...

 
jhave

Joined: 2003-03-04
Posts: 48
Posted: Thu, 2004-02-19 16:17

Would it help if I tried to update the Gallery to version 1.4.2? Running 1.4pl2 at the moment

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Fri, 2004-02-20 07:59

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

 
jhave

Joined: 2003-03-04
Posts: 48
Posted: Thu, 2004-02-26 22:34

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...

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Fri, 2004-02-27 15:15

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.