I use Scheduler in shared node context with 3 sites,

I have
$db_prefix = array(...
'scheduler' => 'shared_',
);
in my setting file

When i active Scheduler module for my second site
i have the error
user warning: Table 'shared_scheduler' already exists query: CREATE TABLE shared_scheduler ( `nid` INT unsigned NOT NULL, `publish_on` INT unsigned NOT NULL DEFAULT 0, `unpublish_on` INT unsigned NOT NULL DEFAULT 0, PRIMARY KEY (nid), INDEX scheduler_publish_on (publish_on), INDEX scheduler_unpublish_on (unpublish_on) ) /*!40100 DEFAULT CHARACTER SET UTF8 */ in C:\workspace\phr\multisites\drupal\includes\database.inc on line 515.

but it's work

perhaps try to detect if the database allready exist

Bye
Yto

Comments

eric-alexander schaefer’s picture

Status: Active » Closed (won't fix)

Since drupal detects that scheduler has never been installed it tries to initialize schedulers database schema (table {scheduler}). I don't know how this error could be prevented. It works anyways because the table was already there. Nothing to worry about.