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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Migrating a Site to Silverstripe /

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

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

Migrating a SilverStripe site to another server


Go to End


16 Posts   21968 Views

Avatar
MarijnKampf

Community Member, 176 Posts

3 June 2009 at 12:33am

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
Avatar
joeyseven

Community Member, 6 Posts

5 October 2009 at 3:44am

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!

Avatar
sdclee

Community Member, 2 Posts

21 November 2009 at 4:34am

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

Avatar
sdclee

Community Member, 2 Posts

21 November 2009 at 12:55pm

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.

Avatar
dio5

Community Member, 501 Posts

5 December 2009 at 8:50am

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...

Avatar
dianaAvila

Community Member, 12 Posts

22 January 2015 at 4:39am

Hi,

I'm migrating a SS 3.1.6 site from my local Windows 7 machine into a Linux server.
I checked and all the table names are lower case.

All the links posted for reference tickets or post seem to be broken. Are there any updated news on this?

Thank you

Avatar
valpd

Community Member, 1 Post

9 December 2015 at 7:05am

I have just taken over managing a SilverStripe site (new job) and I am attempting to setup a dev server on my laptop.

I created the database and imported the .sql file, installed the SilverStripe framework and copied what I think are all the parts of the site over. However I get this page. What am I missing?

----------------------------------------------------------------
Welcome to SilverStripe
Getting Started
To get started with the SilverStripe framework:

Create a Controller subclass (doc.silverstripe.org/framework/en/topics/controller)
Setup the routes.yml to your Controller (doc.silverstripe.org/framework/en/reference/director#routing).
Create a template for your Controller (doc.silverstripe.org/framework/en/reference/templates)

Community resources
silverstripe.org/forum Discussion forums for the development community.
silverstripe.org/irc IRC channel for realtime support and discussions.
doc.silverstripe.org Searchable developer documentation, how-tos, tutorials, and reference.
api.silverstripe.org API documentation for PHP classes, methods and properties.

Thanks in advance.

Avatar
dianaAvila

Community Member, 12 Posts

9 December 2015 at 7:58am

For people looking for help on the table name case using Xamp on Windows: update the following setting on my.ini (MySQL>Config): lower_case_table_names=0

valpd: make sure you visit yoursite.com/dev/build and yoursite.com/?flush=all after migrating.

Go to Top