After successfully uploading and installing the zircon template, we were unable to login into the admin area of the site. Even after attempting to add another admin user in the database through PHPMyAdmin, there still was a problem with logging into the admin area.

Comments

itswingodotcom created an issue. See original summary.

tms1970’s picture

I too have the same issue - what's the default username / password to log into administer the site?

thommyboy’s picture

change the password like described here https://www.drupal.org/node/1023428 it works just fine- don't forget the cache-clearing-step at the end!

yonglicq’s picture

Title: Unable to login to admin area after adding admin user to database after installation » Same here. Even tried a password hash for the users_field_data table in phpAdmin

The normal installation's login works just fine but not the demo site. Even changed the uid 1 in the users_field_data table (even with a hashed pwd) under zircon demo database, the log in still doesn't work. The email reminder doesn't work either. Very frustrating.

thommyboy’s picture

@yonglicq i did what you did- changed database (email, password hash) and it did not work.unfortunately I posted the wrong link above and can't find the right one any more. But I think the step you missed is the following query you NEED to run after changing the hash:
DELETE FROM cache_entity WHERE cid = 'values:user:1';

elakiyasamuel’s picture

You can reset the password using Drupal console in Drupal 8.
https://www.drupal.org/node/44164

After installing drupal console, use

drupal user:login:url 1

1 is the user of the admin, it will give you the one-time login link. Login using that and change password.

hilrap’s picture

Username: admin
Password: admin

...did the trick for me! ;)

gpsrattan’s picture

when i use admin/admin to login, it says "The website encountered an unexpected error. Please try again later." on white screen.
still struggling.

hilrap’s picture

@gpsrattan, you might want to try to clear all cache files and cache database tables...

vitekv’s picture

Hi I Have same problem....
I solved:

download by eg ftp: /skins_menu.inc from
yourweb.com/www/themes/zircon/includes/skins-menu/skins_menu.inc

open in eg. subline text 2, delete 1 line before <?php = <?php

must be on first line. save and upload to sever

then login admin/admin

Edward Gross III’s picture

Fix in #10 works great - thanks much!

patsy24’s picture

Hi vitekv.
Tested and fixed in 5 sec'. Great. Thanks very much!

lesley_nilson’s picture

thanks vitekv! #10 works great for me!

I Gusti Nyoman Suwarto’s picture

Thank you very much vitekv!! #10 fix my problem. Great....!

_kom__’s picture

The same is on v. 8.1.3 on developer's site...

Morten-H’s picture

#7 suggestion fixed it for me after a lot of frustration, thanks a lot! Simply login with user: "admin" pass: "admin"

Toche’s picture

Status: Active » Fixed

#10 solve the problem
but the file where located in other place: /themes/zircon/assets/includes/skins-menu/skins_menu.inc

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

Laanabi’s picture

I must say thanks to (vitekv), your suggestion solved my issue. Rachid Laanabi