(solved) No Graphics On Multi Site Install.

tdmaker

Joined: 2007-02-08
Posts: 3
Posted: Mon, 2007-02-12 16:13

Gallery version = 2.2-rc-1 core 1.1.26
PHP version = 4.3.4 apache
Webserver = Apache/1.3.33 (Debian GNU/Linux) mod_auth_pam/1.1.1 mod_gzip/1.3.26.1a PHP/4.3.4
Database = mysqlt 4.0.22-log, lock.system=flock
Toolkits = ArchiveUpload, Exif, Ffmpeg, Getid3, LinkItemToolkit, NetPBM, SquareThumb, Thumbnail, ImageMagick
Acceleration = none/0, full/900
Operating system = Linux mythtv 2.6.17-chw-8 #1 SMP PREEMPT Sun Jul 30 12:38:47 PDT 2006 i686
Default theme = matrix
gettext = enabled
Locale = en_US
Browser = Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7
Rows in GalleryAccessMap table = 3187
Rows in GalleryAccessSubscriberMap table = 928
Rows in GalleryUser table = 6
Rows in GalleryItem table = 906
Rows in GalleryAlbumItem table = 23
Rows in GalleryCacheMap table = 47

My family and freinds loved my gallery 2 so much they asked me to create gallery's for them. I did a multi site install that went good without any problems. We I open the sites at home(which is where my server is running) everything loads and looks correct. But when they log into their gallery from their home it loads very slow and displays text only. Some of the text is also laying on top of one another. If I go to their home and log into my gallerty all goes well and looks correct. Any thought on the matter greatly appreciated.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Mon, 2007-02-12 16:50

a URL to your multisite and G2 codebase would be helpful.

also, what value does galleryBaseUrl have in your multisite's config.php? (baseUri should be empty.)
baseUri could be the rescue, in case all else fails.

--------------
Enter the Gallery 2 Theme Contest today!

 
tdmaker

Joined: 2007-02-08
Posts: 3
Posted: Mon, 2007-02-12 20:18

My codebase site is - http://www.toolmaker.mylinuxpc.net/gallery2/main.php. My multisite is - http://www.toolmaker.mylinuxpc.net/gallery2_maddox/main.php. I'll check the config.php for my multi when I get home from work. Thanks for the quick resopnse!

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Mon, 2007-02-12 20:36

yep, i'm pretty sure the galleryBaseUrl is the problem.
i guess it's pointing to an intranet IP (192.168.1...) instead of using the public address of the codebase.
fix: change the galleryBaseUrl, replace the internal IP address in the URL with the external hostname.

--------------
Enter the Gallery 2 Theme Contest today!

 
tdmaker

Joined: 2007-02-08
Posts: 3
Posted: Tue, 2007-02-13 03:55

You sir are a gentleman and a scholar. The problem was in the galleryBaseUrl. Thank you so much.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Tue, 2007-02-13 10:03

thanks :)
FYI: this happened because you installed the multisite by accessing the installer with the internal IP. g2 wouldn't know the public address in that context and that's why it wrote the internal ip to config.php. so just run the installer using the public host address and you shouldn't see this problem again.

--------------
Enter the Gallery 2 Theme Contest today!