Jump to:

17452 Posts in 4473 Topics by 1971 members


SilverStripe Forums » Archive » SilverStripe v2.3.0 installation issues

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

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

Page: 1
Go to End
Author Topic: 1077 Views
  • danc
    Community Member
    4 Posts

    SilverStripe v2.3.0 installation issues Link to this post


    I just downloaded the latest SilverStripe v2.3.0 to install on our hsoting space. I have found 2 issues, the 1st was the protected $baseDir; at line 526 of the install.php, this was generating an error that wouldn't start the install script. I commented this out and then the next issue I found is that our webhost company put a - in the database names i.e. when I created a database silver it will call it web056-silver . The install process kept stripping the - out of the db name and therefore would then refuse to find the db to continue the install process.

    If anyone has comments or solutions to these issues I'd love to hear them as the CMs looks great and I can't wait to actuallly get it installed and play with it properly.

  • martimiz
    Forum Moderator
    1078 Posts

    Re: SilverStripe v2.3.0 installation issues Link to this post

    I wonder if you found a solution already, but for those who haven't, the following quickfix should allow you to install (I tested it, it seems to be working). Mind - this goes with no warranties whatsoever, I'm not the expert...

    In config-form.html - line 110, near the end: add the requested character (-) to the regexp like so (see the last character of the [] block):

    ... this.value.replace(/[^A-Za-z0-9_-]+/g,'') ...

    Then shift reload the page

    As to the 'protected $baseDir' error - this is not clear since you didn't provide the actual error. Are you using PHP5? PHP4 won't recognize the 'protected' keyword...

Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.