Jump to:

4952 Posts in 14480 Topics by 1491 members

Installing SilverStripe

SilverStripe Forums » Installing SilverStripe » Admin account creation error

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: 572 Views
  • sksja81
    Avatar
    Community Member
    2 Posts

    Admin account creation error Link to this post

    Hi,

    when I installed on my webhosting the CMS, I've got the next error:

    If you receive a fatal error, refresh this page to continue the installation

    Setting up 'mysite/_config.php'...
    Setting up /data/j/a/jancarstefan.sk/web/mysite/_config.php
    Setting up '.htaccess' file...
    Setting up /data/j/a/jancarstefan.sk/web/.htaccess
    Building database schema...
    Creating default CMS admin account...
    Warning: Default CMS admin account could not be created (error: Blowfish password encryption failed.)
    Creating initial filesystem assets...
    Checking that friendly URLs work...
    Friendly URLs set up successfully; I am now redirecting you to your SilverStripe site...

    It installed, but I cannot log in as admin. And when I navigate through my site the URL looks like:

    http://www.jancarstefan.sk/index.php/bio/

    Can somebody help me? I'm newbie.

    Many thanks

    SJ

  • Willr
    Avatar
    Forum Moderator
    5490 Posts

    Re: Admin account creation error Link to this post

    Try hard coding an admin user account. Place this in your mysite/_config.php

    Security::setDefaultAdmin('admin', 'password');

  • sksja81
    Avatar
    Community Member
    2 Posts

    Re: Admin account creation error Link to this post

    Thanks for the answer but in SS3 it doesn't work. But the right solution for SS3 is Security::setDefaultAdmin()

  • Willr
    Avatar
    Forum Moderator
    5490 Posts

    Re: Admin account creation error Link to this post

    Sorry, typo in the original post. Hasn't changed between 2 and 3.

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