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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Installing SilverStripe /

Getting SilverStripe up and running on your computer and on your web server.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

2.3.1 install errors


Go to End


7 Posts   4048 Views

Avatar
Alamax

Community Member, 3 Posts

20 April 2009 at 12:46pm

I am installing 2.3.1 on IIS 5.1 on an XP box.

I followed the manual install procedure.

On first time run I received the following errors:

Deprecated: Function ereg_replace() is deprecated in C:\inetpub\wwwroot\silverstripe\install.php on line 357

Line of code for above error: $c = ereg_replace('-.*$','',$c);
install.php file attached

Parse error: parse error in C:\inetpub\wwwroot\silverstripe\sapphire\dev\install\config-form.html on line 178

Line 178 is the final line of html code for this error
config-form.html file attached

Avatar
Sigurd

Forum Moderator, 628 Posts

21 April 2009 at 2:24pm

What version of PHP are you running?

I thought this is deprecated in PHP 5.3 and above, which is not yet out?

Avatar
Alamax

Community Member, 3 Posts

23 April 2009 at 3:03pm

Hi Sigurd,

Thanks for your reply.

Sorry it took so long to get back to the post.

Yes, I am running php 5.3.

I presume that, since you asked, Silverstripe will be a while putting out a version that deals with the pending deprecations beyond php version 5.9.2.

So....

Before I back up to 5.9.2, has anyone attempted a work around?

Avatar
Mo

Community Member, 541 Posts

30 April 2009 at 3:38am

I am having this exact error with 5.2.9.

I would also love to know if anyone has come up with a workaround?

Mo

Avatar
Sigurd

Forum Moderator, 628 Posts

2 May 2009 at 12:32am

Avatar
ezra

Community Member, 2 Posts

4 May 2009 at 2:13pm

Also - if you're using WAMP this post may be helpful - http://silverstripe.org/installing-silverstripe/show/257713#post257713

Avatar
xterso

Community Member, 6 Posts

7 July 2009 at 8:17pm

I checked the bug report and it says;

"I've disabled E_DEPRECATED as a quick fix, so lowering this item's priority."

This is not true. I disabled E_DEPRECATED as well but this has no effect. I still get the following error.

"PHP Deprecated: Function ereg_replace() is deprecated in C:\inetpub\wwwroot\sapphire\core\ManifestBuilder.php on line 257"

Not any fix yet? I am stuck.