Jump to:

4873 Posts in 7127 Topics by 1471 members

Installing SilverStripe

SilverStripe Forums » Installing SilverStripe » Transfer to new host

Getting SilverStripe up and running on your computer and on your web server.

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

Page: 1
Go to End
Author Topic: 1022 Views
  • garage
    Avatar
    Community Member
    2 Posts

    Transfer to new host Link to this post

    Alright so I've dealt lots with Drupal and Wordpress. But never dealt with Silverstripe

    The current site is searchwest.ca

    I'm trying to transfer this site onto a new host. (i'm currently using edit host files to point domain to new host)

    I'm pretty confident I've transferred all the files, from what I can gather DB settings are placed here:

    /www/mysite/_config.php

    Is there something that I've missed for this site to work? change .htaccess files?

    Is there any documentation for this process? ....

    thanks,

    Adrian

  • jak
    Avatar
    Community Member
    46 Posts

    Re: Transfer to new host Link to this post

    What do you see / don't see? If you just see a white page, try putting your site into development mode by adding Director::set_environment_type('dev'); to mysite/_config.php

  • zenmonkey
    Avatar
    Community Member
    524 Posts

    Re: Transfer to new host Link to this post

    The process I've used is copying the files over to the new server, running install.php using a new DB, the editing the _config.php to point to the imported DB

  • garage
    Avatar
    Community Member
    2 Posts

    Re: Transfer to new host Link to this post

    This is what I keep getting.

    https://skitch.com/adrianng/ek32r/get

    I've tried using the method JAK pointed it out. Using a blank DB and editing after the fact.

    that didn't work either.

    I DL'd a new copy of silverstripe and it seems i'm dealing with an older version. Sorry never dealt with this CMS where can I find the version #?

  • zenmonkey
    Avatar
    Community Member
    524 Posts

    Re: Transfer to new host Link to this post

    Well that's just a depreciation warning. Shouldn't be causing an error, you should get more detail if you add ?is_dev=1 to the end of your URL. This will force it into dev mode and I've explicit errors.

  • jak
    Avatar
    Community Member
    46 Posts

    Re: Transfer to new host Link to this post

    If you are trying to move an existing site, you are probably running a version of 2.4. In this case, you will see the version information in the back end (/admin) at the bottom of the screen.

    The most recent 2.4 version is 2.4.7, you can download it at http://www.silverstripe.org/assets/downloads/SilverStripe-v2.4.7.tar.gz or at https://github.com/silverstripe/sapphire/tree/2.4.7

    For the moment I would recommend to stay at 2.4, 3.0 is a big upgrade and that version (currently 3.0.1) still has some bugs.

  • DesignerX.com.au
    Avatar
    Community Member
    107 Posts

    Re: Transfer to new host Link to this post

    Hi:
    Try the following:
    1 - after moving all files to the new server , upload a copy of the old database to the new server too
    2- use install.php & put in the info of the uploaded DB .

  • suganya
    Avatar
    Community Member
    8 Posts

    Re: Transfer to new host Link to this post

    Hi everyone,

    I'm getting this error while installing silverstripe on webserver. Can any one please help me?

    Installing SilverStripe...
    I am now running through the installation steps (this should take about 30 seconds)

    If you receive a fatal error, refresh this page to continue the installation

    Setting up 'mysite/_config.php'...
    Setting up /var/www/html/index/rtbi/silver-rtbi/mysite/_config.php
    Setting up '.htaccess' file...
    Setting up /var/www/html/index/rtbi/silver-rtbi/.htaccess
    Building database schema...
    Creating default CMS admin account...
    Creating initial filesystem assets...
    Checking that friendly URLs work...
    Friendly URLs are not working. This is most likely because a rewrite module isn't configured correctly on your site. You may need to get your web host or server administrator to do this for you:
    mod_rewrite or other rewrite module is enabled on your web server
    AllowOverride All is set for the directory where SilverStripe is installed

    1022 Views
Page: 1
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.