Hello All!

I(and proberly a lot of you)(are) am very new to Drupal 8!

There is something wrong in my Drupal 8 installation with the Wampserver.

I installed everything. Everything works!
But after logging out as admin, i cannot login again. Very strange.
Has anyone an idea?

If i have to change something in a folder, please tell also in which directory i can find it.

Thanks in advance!

Kind regards,

Raymon

Comments

saurabh.dhariwal’s picture

Did you try to check after clear your D8 site cache? because there is possible for something is missed/mistake remain into cache and as you do not have access for login yet, the most convenient way to rebuild D8 cache is by using Drush command:

`drush cache-rebuild`

Running update.php is another way of clearing the cache. If you cannot login or have no user single rights you will need to set `$update_free_access = TRUE;` first in `/sites/default/settings.php`. Do not forget to set this back to FALSE afterwards.

Check your Apache config files and make sure the site's docroot directory is set to AllowOverride All otherwise .htaccess will be unable to invoke mod_rewrite.

If this steps do not helps you to solve your issue, we need more information about what message is displayed after once hit on login with right credential OR give snap of that message page.

Let me know incase of any query/concern regarding this.

Thanks!

makeit1933’s picture

I had the same problem, and now after reading this post i solve the problem.
Thanks

amitabh.sharma’s picture

I had the same problem after fresh installation of Drupal 8 on CentOS7.
Thanks, the problem was resolved after configuring the Apache, so that the site's docroot directory is set to AllowOverride All as per your post. Otherwise .htaccess was be unable to invoke mod_rewrite.

maraflo’s picture

Finally I decide to jump in D8. I made a new istallation from 0, directly on live server (manually). Everything works fine until I try to log in. Just get 'Access denied' even with the emailed link from the reset password option.

Any new idea? Thanks

hans loos’s picture

i haved the same thing
Read the funny manual.... yes it in the docs:

6. How to log into your site in maintenance mode. If you put your site into maintenance mode (using the configuration page of the admin section of your site), it will not be accessible to internet users who are not logged into the site. This is handy to keep it hidden while you’re still developing it. If you go ahead and log out of the site, however, it will not be accessible to you either. Ooops! The solution is to go to www.nameofyoursite.com/user/login. Then you can log back in.
see:
https://www.drupal.org/node/1588984
hope this helps