Having problems installing Drupal? See the Installation Guide for more information.

Use 'category permissions' on multiple site with one database

Hi there,

I'm trying to setup the following multi-site situation within one database.

- share all nodes between the two domains
- use categories to label each node (e.g. '1' / '2' / '3')
- use 'taxonomy' to add specific rights for anonymous users.
- Anonymous users on domain A can only see nodes with category 1 & 2
- Anonymous users on domain B can only see nodes with category 1 & 3

Right now I have up and running sharing the following tables:

'node' => 'shared_',
'node_access' => 'shared_',
'node_counter' => 'shared_',
'term_data' => 'shared_',
'term_hierarchy' => 'shared_',
'term_node' => 'shared_',
'term_relation' => 'shared_',
'term_synonym' => 'shared_',
'users' => 'shared_',
'users_roles' => 'shared_',
'role' => 'shared_',
'sessions' => 'shared_',
'sequences' => 'shared_',

As you can see the tables 'term_access' and 'term_access_defaults' are not shared at the moment. This is done because both domains need to have their own setting for 'category permissions' when a 'anonymous' user views one of the websites.

The followin occurs:

- Anonymous logon to domain A --> Perfect I can see all nodes with category 1 & 2

Next:

- Anonymous logon to domain B --> Also category 1 & 2 are displayed (categoryname for '2' doesn't show strangely)

This is NOT correct, the anonymous user should only see nodes with category 1 & 3

am installing drupal

im new to drupal, i have mysql running. i want to install drupal but i just dont get it. iv loaded he mysql database file. im just not able to get my way through to install drupal. i need to do it. please someone to assist me with the required basic steps. iv read the handbooks, i still need assistance.

Permissions - 755 / 777 / other

drupal-4.6.5

Searching high and low for a chmod guide without success ...

1. What permissions should be set for a) folders b) files

2. settings.php
Q: Is our line 81 correct ?
$db_url = 'mysql:// our user name : our password @localhost/database';

Fatal Table Error ( the post further down the page on Fatal Table Errors did not help me)

Hi, I installed drupal a couple days ago and I got the $db_url and $base_url matched up and everything looked ok, and then I got this error:

Fatal error: Table 'sputniksweetheart.users' doesn't exist query: SELECT u.*, s.* FROM users u INNER JOIN sessions s ON u.uid = s.uid WHERE s.sid = '29556b3c9ad49d7cd78881e374fa8af6' AND u.status < 3 LIMIT 0, 1 in /home/.debonhair/runjeeta/runjeeta.com/drupal/includes/database.mysql.inc on line 66

Warning: Drupal 4.7.0 beta 4 MySQL 5 PHP 5 create first user error on Mac OSX 10.4.5

first, i dig drupal.
couple of drupal 4.6 installs w. video module worked well.
now... G5 w. Mac OSX 10.4.5 Apache 1.3 MySql 5.0.18 standard PHP 5.1.2
watched drupal install videocast: http://www.lullabot.com/videocast/installing-drupal-4.7
did it twice. phpMyAdmin drupal db creation, drupaldbuser privileges, sites/default/settings.php...

Views Bookmarks - How to generate link on nodes

Using the Views Bookmarks moduel: http://drupal.org/node/49075

All looking good with both Views and Views Bookmarks admin pages. I have set role permissions and nodes to "all checked" for my initial bookmark tests.

Problem: no "bookmark this" link shows up in any of the selected node types. I had initially assumed drupal would pull in the link automatically... any pointers on how to get the links to show up?

Pages

Subscribe with RSS Subscribe to RSS - Installing Drupal