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.

Archive /

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

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

Movine silverstripe installation


Reply


7 Posts   2314 Views

Avatar
Nemus

Community Member, 20 Posts

21 October 2006 at 11:51pm

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?

Avatar
Nemus

Community Member, 20 Posts

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

Any hints?

Avatar
Sam

Administrator, 685 Posts

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

Avatar
Nemus

Community Member, 20 Posts

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

Avatar
Sam

Administrator, 685 Posts

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

Avatar
Nemus

Community Member, 20 Posts

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

Avatar
Anonymous user

Community Member, 1 Post

28 October 2006 at 10:32am

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" :)