Hi,

I already share one MySQL DB trough Drupal & Gallery2 and I have configured both applications to uses prefixes ( 'dr5_' for drupal & 'g2_' for Gallery2). When I try to create the "prefixed" tables for "domain access" sub-domains, it fails and generates some error code :

# user warning: Unknown table 'aggregator_category' query: CREATE TABLE domain_3_aggregator_category LIKE aggregator_category in /home/collec83/public_html/includes/database.mysql.inc on line 172.

Regards

CommentFileSizeAuthor
#3 domain_prefix.patch6.69 KBagentrickard

Comments

agentrickard’s picture

I suspected this would happen. I'll take a look.

agentrickard’s picture

Assigned: Unassigned » agentrickard

Got it working. Will post a proper patch later.

agentrickard’s picture

Status: Active » Needs review
StatusFileSize
new6.69 KB

Patch, as promised.

lpirotte’s picture

I'm not familiar with PHP, CVS, Drupal API's & Drupal table structure. If there is a simple way to apply the patch to a beta6 version, I agree to test it on my config. Otherwise, I will wait for beta7.
Regards

skizzo’s picture

neither am I :-)
If you have ssh access to your server,
a simple way to apply a patch is
described in http://drupal.org/patch/apply

agentrickard’s picture

Status: Needs review » Closed (fixed)

This is now in beta 7.