I have a local setup for an online running Drupal 7 website on Ubuntu 14.04. I upgraded to Ubuntu 16.04 and I restored the local setup.
I can access the website on localhost, but it doesn't allow me to log in as administrator user nor as normal user, whereas everything is working fine on the production server.
What can the issue be?
tail -20 /var/log/apache2/error.log
you can get to your error log. Also you can get a list of all enabled modules and revise your question. You can get this from phpmyadmin or you can install drush. For drush look at "setup drush" here drupal.stackexchange.com/questions/254829/…. If you have drush rundrush pml --status=enabled
to get a list of all modules enabled and drop the list or any errors in your question.