Jump to:

324 Posts in 153 Topics by 156 members

Migrating a Site to Silverstripe

SilverStripe Forums » Migrating a Site to Silverstripe » Migrating a SilverStripe site to another server

What you need to know when migrating your existing site to SilverStripe.

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

Page: 1 2
Go to End
Author Topic: 8341 Views
  • MarijnKampf
    Avatar
    Community Member
    161 Posts

    Re: Migrating a SilverStripe site to another server Link to this post

    As I'm migrating Silverstripe databases on a regular basis I've encountered the same issue. I created a little helper Excel sheet, that converts tables to the correct Camel case until the issue is resolved in version 2.4.0.

    Attached Files
  • joeyseven
    Avatar
    Community Member
    6 Posts

    Re: Migrating a SilverStripe site to another server Link to this post

    My host provider has installed the SilverStripe for me on a new server already. Whatever changes I make, I can see it on the internet immediately by going to www.mysite.com/silverstripe/.

    After I finish the rewrite, I want the url remains to www.mysite.com. If I am right in following the instructions, seems I just need to change the .htaccess file to "Rewritebase /". Correct?

    Thanks!

  • sdclee
    Avatar
    Community Member
    2 Posts

    Re: Migrating a SilverStripe site to another server Link to this post

    Grrr... looks like my post timed out. I'll try again.
    Live server 'A', test server 'B'.

    a) export DB from 'A'
    b) copy all public_html recursively from 'A'
    c) create db on 'B'
    d) import db previously exported from 'A' to 'B'
    e) fixup _config.php to point to the db on 'B' with the right credentials
    f) fixup .htaccess to allow php5 for files with .php extension on 'B'

    Now since this is my first run with SilverStripe (I have done lots of Joomla) I cannot easliy see what might be wrong.
    In IE and Chrome the site 'B' basically works but is missing the main masthead area completely as well as footer links.
    In FF there is a failure (which must be suppressed by the other browsers).

    [Warning] HTTP::add_cache_headers() must be passed an HTTPResponse object
    GET /

    Line 286 in /home/sites/zwww.co.uk/public_html/sapphire/core/HTTP.php

    Anyone have any pointers?
    Thanks in advance.
    Lee

  • sdclee
    Avatar
    Community Member
    2 Posts

    Re: Migrating a SilverStripe site to another server Link to this post

    Ok ignore the FF errors (they went away on the next reboot), so FF, IE7 and Chrome all have the same issue in a copy of a site, ie the masthead section and footer are both missing.

  • dio5
    Avatar
    Community Member
    501 Posts

    Re: Migrating a SilverStripe site to another server Link to this post

    I just tried that patch for renaming the tables, but it doesn't work for me. It doesn't seem to do anything.

    AFAICS it doesn't really do any uppercase renaming or am I missing something obvious?

    http://open.silverstripe.org/attachment/ticket/2476/MySQLDatabase.diff

    I'm not sure if I would want to manually rename 100 tablenames...

    8341 Views
Page: 1 2
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.