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.


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

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

Movine silverstripe installation


7 Posts   2308 Views


21 October 2006 at 11:51pm Community Member, 20 Posts


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?


24 October 2006 at 1:14am Community Member, 20 Posts

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/ on line 516

Any hints?


25 October 2006 at 10:27am Administrator, 685 Posts

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


26 October 2006 at 7:31pm Community Member, 20 Posts

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


27 October 2006 at 11:25am Administrator, 685 Posts

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


27 October 2006 at 7:18pm Community Member, 20 Posts

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

Anonymous user

28 October 2006 at 10:32am Community Member, 1 Post

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

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