开发者

Drupal 7 website not loading (Fatal error: Call to undefined function user_access() in C:\xampp\htdocs\new\drupal\includes\menu.inc on line 619) [closed]

开发者 https://www.devze.com 2023-03-20 16:59 出处:网络
Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers.
Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers.

This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers.

Closed 7 years ago.

Improve this question

I am getting the following error with my drupal website.

"Fatal error: Call to undefined f开发者_C百科unction user_access() in C:\xampp\htdocs\new\drupal\includes\menu.inc on line 619"

I have checked the system table and status for user.module is set to 1 .

Can anyone suggest what could be the error?

Regards,


Which version of PHP do you use with your xampp installation? Have you disabled/enabled Zend Optimizer or other PHP modules just before the error appeared? And which version of drupal causes this error?


Here are few tips:

  • make sure your Drupal core has all the files in the right place (especially user module),
  • make sure your imported database is in UTF-8 format,
  • upgrade your Drupal core to the latest version (drush fr && drush up drupal)
  • clear all your caches (drush -y cc all), including your memcached (killall memcached),
  • rebuild your registry by using [Registry Rebuild][1],
  • if you're using modules which are implementing drupal_bootstrap() (such as Secure Site), disable them,
  • try disabling your PHP cache engines (such as XCache, Zend optimizer) to see if that's the problem,
  • test it on different environment/machine,
  • eventually restore your database from the point where it was working before
0

精彩评论

暂无评论...
验证码 换一张
取 消