4649 Posts in 1402 Topics by 1394 members
| Go to End | Next > | |
| Author | Topic: | 3660 Views |
-
INstall does not like a minus (-) in Database name?!

1 January 2009 at 11:08am
I have a strange effect here:
From my hoster it's set fast that the databases all have a - in their name.
But when I enter the name with a minus in the name into the installier field for the database name, as soon as I exit the text field, the minus is removed, and I clearly get errors that my user cannot acces the datbase... no wonder as the database name is wrong like that!I cannot install silverstripe on my hoster like that.
-
Re: INstall does not like a minus (-) in Database name?!

1 January 2009 at 11:17am
BTW: I tried to turn off JavaScript, then the install pages shows "green light" that everything is O.K. for installation("These database details look all good! "), but when running install, I still get:
Installing SilverStripe...
I am now running through the installation steps (this should take about 30 seconds)
If you receive a fatal error, refresh this page to continue the installation
# Creating 'mysite/_config.php'...
# Creating /is/htdocs/wp1091032_YZWO3J4ZKV/www/silverstripe-test/mysite/_config.php
# Creating '.htaccess' file...
# Creating /is/htdocs/wp1091032_YZWO3J4ZKV/www/silverstripe-test/.htaccess
# Building database schema...Warning: $project isn't set in /is/htdocs/wp1091032_YZWO3J4ZKV/www/silverstripe-test/sapphire/core/ManifestBuilder.php on line 154
Fatal error: DB::connect: Not passed a valid database config in /is/htdocs/wp1091032_YZWO3J4ZKV/www/silverstripe-test/sapphire/core/model/DB.php on line 53
I checked the setting again and again, a bunch of other apps are running well with it.
It seems definetely thta silverstream cannot work with databases with a minus in the name... can somebody confirm, or tell me wht else cvould be wrong? -
Re: INstall does not like a minus (-) in Database name?!

4 January 2009 at 7:28am
Hi Henning,
thanks for your post. I have excatly the same problem. Did you find any workaround jet?
In case you would like to talk to me, please feel free to get back to me at avoelger@gmail.com!
Thanks
Alex -
Re: INstall does not like a minus (-) in Database name?!

4 January 2009 at 12:34pm
Sort of - as it was an evaluation process for getting a well-working, easy to use CMS FAST, I decided toi install drupal and I'm quite happy with it
I'll get back at SilverStripe if it's a bit more mature... but usually I'm more a Java guy, ,so it's more likely I use things like grails and liferay later.
-
Re: INstall does not like a minus (-) in Database name?!

6 January 2009 at 9:25am Last edited: 6 January 2009 9:53am
Henning, this is a known issue mentioned at that will be investigated in the future:
http://open.silverstripe.com/ticket/2342See my most recent comment - if you
a) first manually create the database,
b) edit the installer to allow hyphens (see URL above)
c) use the database given, and the install will work.This will likely be fixed in an soon release.
-
Re: INstall does not like a minus (-) in Database name?!

6 January 2009 at 9:29am
Just for the sake of curiosity, why is that you need hyphens? Does your host force all databases in the format "youraccount-somedb", like "henning-silverstripesite" or something?
-
Re: INstall does not like a minus (-) in Database name?!

6 January 2009 at 9:59am
This bug has been fixed and will be released in the next RC of 2.3.0.
-
Re: INstall does not like a minus (-) in Database name?!

6 January 2009 at 11:37am
Thanks for the info.
I'll check Silverstripe again when this new release(candidate)is available!
It might be a good match for customer websites where a better workflow and preview/staging is needed than drupal is - as far as I see in the demo, Silverstripe is better in that area.As of the question why I need it: yes, my host provider (Hosteurope.de) has exactly the naming scheme you mention.
I could have tried it on a testing machine at home, but I would not want to test something that would not be usable on my webhost.hmm, yes, I could have copied the database... anyway, I didn't come up with a better idea than jumping to drupal and as a personal publishing system for a one person company website, I like it so far ;)
| 3660 Views | ||
| Go to Top | Next > |



