Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » No user created during install

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: 2147 Views
  • manafta
    Avatar
    Community Member
    7 Posts

    No user created during install Link to this post

    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?

  • Sigurd
    Avatar
    Forum Moderator
    628 Posts

    Re: No user created during install Link to this post

    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.

  • manafta
    Avatar
    Community Member
    7 Posts

    Re: No user created during install Link to this post

    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/.

  • Sigurd
    Avatar
    Forum Moderator
    628 Posts

    Re: No user created during install Link to this post

    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" ?

  • manafta
    Avatar
    Community Member
    7 Posts

    Re: No user created during install Link to this post

    The subdomain was called "test" . After changing the subdomain name it is working normally

  • Sigurd
    Avatar
    Forum Moderator
    628 Posts

    Re: No user created during install Link to this post

    yeah there is some hard-coded stuff to do with 'test' hostname that will be improved for 2.0.2

    2147 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.