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