17488 Posts in 4473 Topics by 1978 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 2027 Views |
-
No user created during install

23 May 2007 at 7:19am
Hi,
After the install I get an HTTP authetication window.
The install script created database tables, _config.php and .htaccess. But in the database no user record has been added. So nothing works.
I am using Silverstripe 2.0.1. My provider runs PHP 5.2.1 as CGI under Apache. According to the PHP manual HTTP authetication cannot work under CGI.
Is there a way to get Silverstripe running as CGI?
-
Re: No user created during install

23 May 2007 at 9:08am
If you add to mysite/_config.php:
Security::setDefaultAdmin('admin','password);
Then it will force that login to function, so you can get in. That might progress you, hopefully to the working system.
You might need to view <silverstripeUrl> /db/build if the site isn't working straight off.
-
Re: No user created during install

24 May 2007 at 5:30am
Setting a default admin didn't do anything. The only pages I can access are the ones in the webroot, which are real files. For all other pages I get the authentication window, not just for /admin/.
-
Re: No user created during install

24 May 2007 at 12:42pm
So you are saying that it wouldn't permit "admin" and "password" to log you in even if with this in your _config.php ??
Security::setDefaultAdmin('admin','password);
Because that's odd!
Is your hostname something like "test" ?
-
Re: No user created during install

25 May 2007 at 11:32pm
The subdomain was called "test" . After changing the subdomain name it is working normally
-
Re: No user created during install

26 May 2007 at 9:06am
yeah there is some hard-coded stuff to do with 'test' hostname that will be improved for 2.0.2
| 2027 Views | ||
|
Page:
1
|
Go to Top |


