Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Archive

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Moving / Relocating sites...


Reply

4 Posts   3011 Views

Avatar
HackDefendr

14 May 2008 at 7:31am Community Member, 8 Posts

I was just curious of how difficult it would be to move my silverstripe site onto a different server and change the folder name.

I don't suppose there is something built in that can handle this.

J

Avatar
3dkiwi

14 May 2008 at 9:26am (Last edited: 14 May 2008 9:27am), Community Member, 17 Posts

From my limited play with this. There is no tool to do this but the process is not too hard:

Take the complete SilverStripe directory structure and place it in the new location.

This includes the cms, sapphire, tutorial, themes... dirs

For the renaming step I am guessing is you require to rename tutorial to another name. If so rename the directory to whatever you require and then move into this directory and edit the _config.php file.

The line:

$project = 'tutorial';

Needs to be changed to match the new directory name.

I am pretty sure that is all that is required.

Anyone else want to add any more steps if required...

3d

Avatar
pIscIs

15 May 2008 at 6:23pm Community Member, 8 Posts

if you moving SS to another server, you must move your database too! with phpMyAdmin import/export you can do it easily. plus, you must change your .config.php db params to new(sql db user name, pass, database name).
also you must reset all permissions of assets folder.

Avatar
Bruce B

16 May 2008 at 9:28am Community Member, 145 Posts

One last step - all your templates are likely to reference the tutorial folder for css and images. You will need to change all those references.

cheers
bruce