原文地址:http://blog.sina.com.cn/s/blog_6b60ad7d0100y9a0.html
drupal Rebuilding content access permissions 重建网站内容访问权限
drupal 6.22 2328line
if ($batch_mode&&FALSE) {
....
Another possible hack
Posted by
monotaga on
April 4, 2009 at 3:19pm
Not sure why this is happening to me, but I've found that I can just force node_access_rebuild() to not use batch mode by changing line 2314 of node.module from:
<?php
if ($batch_mode) {
?>
to:
<?php
if (FALSE) {
?>
Posted by
easytech on
October 17, 2009 at 9:03pm
It solved my problem. I was hitting rebuild for whole day finally I set $batch_mode to FALSE. after that my content permission rebuild was successful
Thanks monotaga
转载于:https://blog.51cto.com/flymanhi/824188