Jump to:

4952 Posts in 14417 Topics by 1491 members

Installing SilverStripe

SilverStripe Forums » Installing SilverStripe » a hyphen in the database name causes installation failure

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

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

Page: 1
Go to End
Author Topic: 1246 Views
  • Mora
    Avatar
    Community Member
    2 Posts

    a hyphen in the database name causes installation failure Link to this post

    Hi there,

    I would love to install Silverstripe. Had no problems with Joomla, Drupal, Wp and stuff. But now due to a hyphen that is inside the database name (by default made by my provider) there is no way installing silverstripe. Everytime I Click on re-install, the hyphen magically disappears from my install.php form and - consequently - silverstripe script says that there is no b64787634mywebsite database. Sure, I wrote down b64787634-mywebsite.

    Is this a bug or feature to kick ass to all who only have this f***ing Webhoster XL Packages for less than 29$ a month?

    Do you know a solution?

    Thanks in advance

    Figured out that in the config-form.html there is a line like this:

    <label for="mysql_database">MySQL database:</label>
                            <span class="middleColumn"><input id="mysql_database" class="text" type="text" name="mysql[database]" value="<?php echo $databaseConfig['database']; ?>" onchange="this.value = this.value.replace(/[^A-Za-z0-9_]+/g,'');" /></span>

    But why do they do this replacing?

    Joerg

  • Mora
    Avatar
    Community Member
    2 Posts

    Re: a hyphen in the database name causes installation failure Link to this post

    OK solved it by myself by getting rid of that shit inside the "character scrutinizer " ...

    God bless the DEL-button.

    Maybe this will help another one out there.

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