Jump to:

23368 Posts in 18143 Topics by 2863 members

General Questions

SilverStripe Forums » General Questions » Copying from local to productie, 404 error?

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Page: 1 2 3 4
Go to End
Author Topic: 4450 Views
  • raamklaza
    Avatar
    Community Member
    182 Posts

    Re: Copying from local to productie, 404 error? Link to this post

    Hmmm oke...

    Basically i am screwed

    Aaah well i will do a fresh install on production

  • lawless
    Avatar
    Community Member
    33 Posts

    Re: Copying from local to productie, 404 error? Link to this post

    "Aaah well i will do a fresh install on production"

    I found this to be the quickest/easiest solution.

    I first tried to copy all my local Development files up to my Production server and just change the config info and the .htacess, but it seems there is a lot more that is configured on the install. Too much to try and chase down manually.

    When I ran the install.php on my production environment all kinds of permission errors showed up that would not allow me to run the install, and would have caused all sorts of weird errors had I tried to run the site that would have taken forever to chase down by troubleshooting. It seems the best practice for building a Production Silverstripe environment is to do a clean install on the Production server then copy your Development files from the themes folder up to production.

  • banal
    Avatar
    Community Member
    901 Posts

    Re: Copying from local to productie, 404 error? Link to this post

    Strange.
    I never had any issues when migrating from local to production.
    Usually I just dump the local db and restore it on the live server. Then I copy all the files and modify _config.php and .htaccess.
    That's it.

    I guess it mainly depends on the hosting provider (or production server setup for that matter).

  • raamklaza
    Avatar
    Community Member
    182 Posts

    Re: Copying from local to productie, 404 error? Link to this post

    I think it's because local i am running Wamp and on production the host is running Linux....

  • Ben Gribaudo
    Avatar
    Community Member
    181 Posts

    Re: Copying from local to productie, 404 error? Link to this post

    I've found http://open.silverstripe.org/ticket/2476 helpful when migrating SS from Windows to Linux.

  • raamklaza
    Avatar
    Community Member
    182 Posts

    Re: Copying from local to productie, 404 error? Link to this post

    Thnx, nice problemsolver...

    But i've learned my lesson, never f*ck around with Linux and Windows

    I will just leave it as it is now...

    4450 Views
Page: 1 2 3 4
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.