Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Installing SilverStripe

Getting SilverStripe up and running on your computer and on your web server.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Admin account creation error


4 Posts   600 Views


8 July 2012 at 7:35am Community Member, 2 Posts


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/
Setting up '.htaccess' file...
Setting up /data/j/a/
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:

Can somebody help me? I'm newbie.

Many thanks



8 July 2012 at 10:43am (Last edited: 8 July 2012 6:41pm), Forum Moderator, 5511 Posts

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

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


8 July 2012 at 6:35pm (Last edited: 8 July 2012 6:39pm), Community Member, 2 Posts

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


8 July 2012 at 6:41pm Forum Moderator, 5511 Posts

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