17488 Posts in 4473 Topics by 1978 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1417 Views |
-
Installation halts with "Building database schema...Please enter a username and password."

24 May 2007 at 11:24pm
I've upgraded my PHP version to 5 and called the SilverStripe install URL. It starts perfectly, but then halts with
...
Building database schema...Please enter a username and password.A refresh of the URL doesn't make a difference. The pre-install page confirms it can connect to the database with the root password. Where can I find detailed error info on what goes wrong? Does it miss a PHP library, of MySQL library?
Technical data:
- PHP 5.1.6
- CentOS 3
- Apache 2.0.46
- MySQL 3.23.58 -
Re: Installation halts with "Building database schema...Please enter a username and password."

27 May 2007 at 12:05pm
The system is mistakenly securing your site as a test environment. We'll be fixing this up in 2.0.2, but here's what do to
1) Add Director::set_environment_type('dev') to your mysite/_config.php file
2) Visit db/build?flush=1 to create the database
3) Visit db/populate?username=admin&password=password
It should be sorted.
-
Re: Installation halts with "Building database schema...Please enter a username and password."

27 May 2007 at 2:23pm Last edited: 27 May 2007 2:25pm
I never knew this existed. Nice, that would be easier than manually editing the database by hand.
I assume db/populate can only be used when the site's in 'dev' mode?
Sean
| 1417 Views | ||
|
Page:
1
|
Go to Top |



