[SOLVED] Sudden Server Move; All links broken

plantwater

Joined: 2004-11-13
Posts: 6
Posted: Thu, 2009-11-05 05:26

Our Gallery installation was moved to a different server.
All image links are broken and no longer appear.

Thanks in advance for any time you spend on this.
Lots of school children appreciate this gallery :-)

I received some help via IRC, but was unable to resolve the issue (here are notes from that)

-deactivating and reactivating image toolkits
-rewite off, toolkits deacivated and tested OK
-deactivated EXIF
-deactivated URL Rewrite
-g2data is recursively chmod-ed 777

Gallery:
http://chavezcheetahs.com/g/

phpInfo:
http://chavezcheetahs.com/g/phpinfo.php

Gallery info:
Gallery version = 2.1 core 1.1.0
PHP version = 4.4.9 cgi-fcgi
Webserver = Apache
Database = mysql 5.0.67-userstats-log, lock.system=flock
Toolkits = ArchiveUpload, Exif, ImageMagick, NetPBM, Gd
Acceleration = none, none
Operating system = Linux dynamo 2.6.31.5-aufs2-grsec-1.0-x86_64-xeon #1 SMP Wed Oct 28 09:35:48 PDT 2009 x86_64
Default theme = matrix
Locale = en_US
Browser = Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.4) Gecko/20091016 Firefox/3.5.4 (.NET CLR 3.5.30729)

Login or register to post comments
alecmyers

Joined: 2006-08-01
Posts: 3374
Posted: Thu, 2009-11-05 09:55

Check the last line of your config.php, the setting for baseUri.

Login or register to post comments
plantwater

Joined: 2004-11-13
Posts: 6
Posted: Thu, 2009-11-05 19:49

Here's what it says:

$gallery->setConfig('baseUri', '');

Login or register to post comments
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 9289
Posted: Thu, 2009-11-05 20:05

Make sure all the paths in that file reflect the new system.

Here are the steps needed to go through to make a successful server move:
FAQ: How can I move my gallery installation from one server to another?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

Login or register to post comments
plantwater

Joined: 2004-11-13
Posts: 6
Posted: Wed, 2009-11-18 22:45

Someone fixed it for me; I've forgotten who I spoke with in irc.
I greatly appreciate you work.
I'd love to know how you did it, but mostly, I'm just grateful.
Thanks!

Login or register to post comments