G2-multisite-installation-problem

wejo2009

Joined: 2009-01-04
Posts: 2
Posted: Sun, 2009-01-04 13:31

hi,
I do not get into the G2 (gallery-2.3-minimal.zip) after install as multisite.

I just see
----------------------
Login, This is the main page of your Gallery,
Date: 01/03/09
Owner: Gallery-Administrator
This album is empty.
----------------------
after Login, I get back to the first contens above, without being logged in.

I made 3 other G2-Installations, so I have with the basic-Installation 4 folder-strings.
All tables are in one database - for shure with different praefixes.

As single-installation the gallery-2.3-minimal works - but as multisite ...
(think, I made no mistake, I follow the Install.-Screens, ...)

thanks for help,
regards, w.
PHP 5.2.0, MySQL 5.0.27

Login or register to post comments
wejo2009

Joined: 2009-01-04
Posts: 2
Posted: Sun, 2009-01-04 13:52

seemed that I just self-solved the problem:

in the config.php, in the last line
$gallery->setConfig('baseUri', 'http://localhost/doc/gallery2_b/');

the "main.php" was left. It should be
$gallery->setConfig('baseUri', 'http://localhost/doc/gallery2_b/main.php');

regards, w.

Login or register to post comments
jdav

Joined: 2007-07-19
Posts: 6
Posted: Sun, 2009-06-28 04:25

Thank you very much for correction!

Login or register to post comments
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 9283
Posted: Sun, 2009-06-28 16:53

Or add this to your .htaccess file:

# Set the default handler.
DirectoryIndex main.php

And make a little cleaner URL. Then you don't have to specify main.php on that line in config.php
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

Login or register to post comments