Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Movine silverstripe installation

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

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

Page: 1
Go to End
Author Topic: 2285 Views
  • Nemus
    Avatar
    Community Member
    20 Posts

    Movine silverstripe installation Link to this post

    Hi!

    I want to move developed site to hosting server. So far I moved DB, and uploaded all files. After that I modified _config.php to proper parameters but all I get is a Error message... No site, and no admin...

    Did I miss something? Or is there a standard way of importing/ exporting content to another Silverstripe installation?

  • Nemus
    Avatar
    Community Member
    20 Posts

    Re: Movine silverstripe installation Link to this post

    After unsuccessful try with moving files directly to the server I tried to install SilverStripe on my hosting (Dreamhost) service and these are the problems:

    #1. I dont't have create DB rights. Modified install script and hardcoded DB data for my host.

    #2. allow_url_fopen   is Off. I did bypass it with cURL.

    #3. allow_call_time_pass_reference is off. So far no solution for this. ini_set for this fails.

    Warning I get is:

    Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of uasort(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /home/.chanel/nemus/nemus.majlab.com/sapphire/core/model/DataObjectSet.php on line 516

    Any hints?

  • Sam
    Avatar
    Administrator
    679 Posts

    Re: Movine silverstripe installation Link to this post

    Hmm, this is a tricky one.

    Whenever I've passed by reference, I've had to include the "&" in both the function definition and the call itself. I ran into bugs where if I didn't put uasort(&$myArray) instead of uasort($myArray), then myArray wouldn't get passed by reference.

    Are you able to convince your webhost to enable allow_call_time_pass_reference? I'll need to look at a better solution to this, but it won't be a quick fix...

  • Nemus
    Avatar
    Community Member
    20 Posts

    Re: Movine silverstripe installation Link to this post

    I'm not sure about convincing dreamhost... I'll try so we'll see what they say. Problem form me is that this is marked as deprecated in PHP so fix for it is needed in the future...

  • Sam
    Avatar
    Administrator
    679 Posts

    Re: Movine silverstripe installation Link to this post

    I agree that it's not a good long-term solution, and we will fix this in a future release; but it would be the best way of getting your site up and running as quickly as possible.

    For Dreamhost to change that setting, there's no risk of it breaking other sites, so hopefully they'll be understanding about it...

  • Nemus
    Avatar
    Community Member
    20 Posts

    Re: Movine silverstripe installation Link to this post

    Request has been sent. Waiting for an answer from Dreamhost. I'll let you know what happened when it arrives...

  • Anonymous user
    Avatar
    Community Member
    1 Post

    Re: Movine silverstripe installation Link to this post

    There is a hack to have own php.cgi and php.ini on the DreamHost...

    http://wiki.dreamhost.com/index.php/PHP.ini

    I did it for Nemanja, hope it will be enough comfort to finally run SSCMS in the "wildness"

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