4577 Posts in 1388 Topics by 1377 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 338 Views |
-
Admin account creation error

8 July 2012 at 7:35am
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
-
Re: Admin account creation error

8 July 2012 at 10:43am Last edited: 8 July 2012 6:41pm
Try hard coding an admin user account. Place this in your mysite/_config.php
Security::setDefaultAdmin('admin', 'password');
-
Re: Admin account creation error

8 July 2012 at 6:35pm Last edited: 8 July 2012 6:39pm
Thanks for the answer but in SS3 it doesn't work. But the right solution for SS3 is Security::setDefaultAdmin()
-
Re: Admin account creation error

8 July 2012 at 6:41pm
Sorry, typo in the original post. Hasn't changed between 2 and 3.
| 338 Views | ||
|
Page:
1
|
Go to Top |


