-3

I started facing AJAX issues on my site, due to which I was unable to create views. Googling, I found that updating the Views module might help. I added a new Views module under all/sites/modules/custom (not touching the old module at all). Now my entire site is gone and I am getting the following error:

The website encountered an unexpected error. Please try again later.

I am not even able to login. What should I do?

I deleted the new Views module, in vain.

1
  • You should't have any module twice in your installation. You should replace your views module in place (after backup) and execute database update. Feb 13, 2018 at 12:25

2 Answers 2

0

After you've deleted that views module in the custom folder. Go into your database and empty any table that starts with "cache_" that will clear Drupal's cache and hopefully it will rediscover there is now only the original views module

1
  • How to access database and how to check error logs?
    – New User
    Feb 14, 2018 at 9:58
-1

If you have any database backup then restore it and refresh the page. Also you can use drush commands to view the error log.

2
  • How to access database and how to check error logs?
    – New User
    Feb 14, 2018 at 9:57
  • Install Drush and then go to project root path. Use the command 'drush watchdog-show'. You will see the errors as outout of this command. Feb 15, 2018 at 6:04

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.