moving a gallery installation - galleryId

richardb

Joined: 2006-01-26
Posts: 33
Posted: Thu, 2011-01-06 16:07

I have read the FAQ on movinig a gallery installation and have one question about the process outlined there.

In the section

How can I move my gallery installation from one server to another?

http://codex.gallery2.org/Gallery2:FAQ#How_can_I_move_my_gallery_installation_from_one_server_to_another.3F

Under parageraph 9 of that section is this instruction:

you have to manually change:
the g2data path
galleryId (at the bottom of config.php)
db name/user if needed

Can anyone tell me what the 'galleryId' is - I can't see anything resembling that in the config.php - if not there, where would it be?

Thanks,

Richard

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Thu, 2011-01-06 16:25

I've fixed that FAQ. It should be "baseUri" and that would only be if and only if the URL has changed. It's also safe to leave that set to ''

$gallery->setConfig('baseUri', '');
____________________________________________
Like Gallery? Like the support? Donate now!

 
richardb

Joined: 2006-01-26
Posts: 33
Posted: Thu, 2011-01-06 16:46

Thank you very much for your help.

Richard