17484 Posts in 4473 Topics by 1978 members
|Go to End|
21 October 2006 at 11:51pm
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
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
25 October 2006 at 10:27am
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
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
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
Request has been sent. Waiting for an answer from Dreamhost. I'll let you know what happened when it arrives...
|Go to Top|