English 中文(简体)
Drupal 6 - Permissions issue after migration
原标题:

My Database was quite large with lots of test data in tables like watchdog, access log,etc.. and I was running in to some trouble uploading. Then I proceeded to dive into the database and started truncating tables willy-nilly. I am figuring out that I should have used a little more discretion because I have had issues on the new production server.

The main problem is that annonymous users can t view any content, even though in permissions , they are set to access content. Also, they were definitely able to view content before the migration, so it had to be one of the tables I hacked. Because everything else is running smoothly.

Anyone have an idea which table, if truncated, might produce symptoms like this?

Update: - I checked that I have user 0 - which would probably yielded the same symptoms. - Problem persists though..

最佳回答

Have you tried rebuilding permissions?

http://yourdomain.com/?q=admin/content/node-settings/rebuild

Or running update.php? Either should rebuild the node access table.

问题回答

Do your users table contain a row with uid=0? If not, create it. This row represents anonymous users.

Do you have (0,0, all ,1,0,0) in your node_access table?

See this comment: http://drupal.org/node/122476#comment-1058731





相关问题
Drupal Multi-language: Simple strings not translated

I m adding additional languages to a Drupal site that I m building. Getting the translation of content working is fairly easy using the Internationalisation module. Yet, simple things such as date ...

Setting up a WYSIWYG editor for Drupal site users [closed]

Looking through the Drupal contrib modules, and after a few Google searches, it becomes evident that there are any number of choices and combos available to set up a WYSIWYG editor in Drupal. I m ...

Change size of user/password login box

I don t know how to change the size of the login username/password boxes on the drupal site that I m trying to build. I m stumbling through the theming, and don t know where to find the file that ...

How does Drupal provide an edit/review/publish model?

How does Drupal support a means to update and review a website before it is published? Does it only allow you to preview a page at a time before you publish it or is there a way to create a site ...

Term for rotating header

I m looking for terminology that describes this behavior: The header of a web-page contains a different image every time you visit it. Update: It is not an advertisement, but images related to the ...

Has anyone checked out Drupal 7? [closed]

Has anyone checked out a copy of Drupal 7 yet? What do people think? I m pretty excited about the PDO and all of the designers I work with a very excited about the new admin interface/structure. Do ...

热门标签