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?

  • are you running recaptcha ? or some other security module that does not recognize your local url ? maybe this can help drupal.stackexchange.com/questions/256130/… was the local setup working before upgradign ? – GiorgosK Feb 27 '18 at 11:43
  • recaptcha already uninstalled. – Iqbal Feb 27 '18 at 11:54
  • Look in your log files for error messages usually with 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 run drush pml --status=enabled to get a list of all modules enabled and drop the list or any errors in your question. – GiorgosK Feb 27 '18 at 14:18
  • no error in apache log – Iqbal Feb 27 '18 at 14:34

Oh my bad! after wasting days i come to know that the rewrite module was disabled. after enabling rewrite module all works thanks

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.