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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Installing SilverStripe /

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

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

[solved] 3.1.7 Cannot Login After Initial Install


Go to End


6 Posts   1639 Views

Avatar
gstrock

Community Member, 4 Posts

18 November 2014 at 10:38am

I'm stumped doing an initial install at the
admin / password box.

What the hell does it want me to put
for the admin / password box.

No matter what I put in it flags me.
I've already tried 6+ times at installing
from scratch. Clicking on the "reset
password link" does not send me an
email.

This is so frustrating I'm on the verge
of tossing SilverStripe.

Building database schema...
[Strict Notice] Creating default object from empty value
POST /7th/ocg/install.php

Line 1420 in /home/gstro/rollbox.com/7th/ocg/framework/dev/install/install.php5
Source

1411
1412 $dbAdmin = new DatabaseAdmin();
1413 $dbAdmin->init();
1414
1415 $dbAdmin->doBuild(true);
1416
1417 // Create default administrator user and group in database
1418 // (not using Security::setDefaultAdmin())
1419 $adminMember = Security::findAnAdministrator();
1420 $adminMember->Email = $config['admin']['username'];
1421 $adminMember->Password = $config['admin']['password'];
1422 $adminMember->PasswordEncryption = Security::get_password_encryption_algorithm();
1423
1424 try {
1425 $this->statusMessage('Creating default CMS admin account...');
1426 $adminMember->write();
Trace

Installer->install(Array)
install.php5:277
include(/home/gstro/rollbox.com/7th/ocg/framework/dev/install/install.php5)
install.php:26
include(/home/gstro/rollbox.com/7th/ocg/framework/dev/install/install.php)
install.php:13
Creating default CMS admin account...

Avatar
camfindlay

Forum Moderator, 267 Posts

18 November 2014 at 3:33pm

Have you got a _ss_environment file in your project? You might have a default administrator account setup? There was some known issues with the installer in 3.1.7 that are likely to be resolved very soon https://github.com/silverstripe/silverstripe-installer/issues/74

Avatar
gstrock

Community Member, 4 Posts

19 November 2014 at 4:44pm

I don't have an _ss_environmnet file.
I notice in the trace I included that
the error messages come after this
step:
Create default administrator user and group in database

when its done, it doesn't present me with
a login page. I found the log in page.
I suppose I can't log in because SilverStripe
never finished the install.

Usually when I can't find anyone else
with the problem, it comes down to
pilot error.

but I started from scratch several times,
including deleting the database.

oh well, maybe I'll try SilverStripe again
in the future.

Avatar
martimiz

Forum Moderator, 1391 Posts

20 November 2014 at 2:53am

As Cam hinted: soon after the release of 3.1.7 an issue arose with finding/validating the adminaccount in version 3.1.7 - that is now fixed in the new stable release 3.1.8. Please try that one before giving up on a great CMS :)

Martine

Avatar
gstrock

Community Member, 4 Posts

20 November 2014 at 5:18am

thank you Marimiz, I will definitely give 3.1.8 a shot.

Avatar
gstrock

Community Member, 4 Posts

20 November 2014 at 9:39am

3.1.8 works, meaning I can install it
and then login in as admin.

thanks.