I'm on drupal 6.14 with Pesonal Server of dreamhost.com hosting = about 200mb of garanted ram and some cpu garanted, similar to a vps, but with default settings of the 1 million doman on dreamhost.com.
When I choose the theme from here /admin/build/domain/batch/site_theme , it don't change and give this error:
user warning: Duplicate entry '2-framework' for key 1 query: UPDATE domain_theme SET theme = 'framework' WHERE domain_id = 2 in MYSITEPATH/sites/all/modules/domain/domain_theme/domain_theme.module on line 243.
user warning: Duplicate entry '3-framework' for key 1 query: UPDATE domain_theme SET theme = 'framework' WHERE domain_id = 3 in MYSITEPATH/sites/all/modules/domain/domain_theme/domain_theme.module on line 243.

and my domans www.gmsedie.com and www.ipernegozi.it continue to have the same theme of man domain www.forniture-alberghere.net why?
Active modules:
Domain Access 6.x-2.0-rc9
Domain Blocks 6.x-1.1
Domain Taxonomy 6.x-1.0-rc1
Ubercart Domain Access 6.x-1.0
Domain Theme 6.x-2.0-rc9

MySQL: 5.0.67
PHP Version 5.2.9

I hope to have give anough info, if needing more please tell me, especially about configuration of module, domain access, I have to tell you anydetail or some parts are more imortant to write here about?

Comments

matteoraggi’s picture

I have done some other tests on my problem and I founded that again I can't change the theme totally plus just one domain has a different theme: www.wyposazeniehoteli.com and also for it I can't change theme anyway.
Any ideas?

agentrickard’s picture

I found the problem.

agentrickard’s picture

Status: Active » Needs review
StatusFileSize
new3.16 KB

This is a result of having multiple themes configured for a domain. This patch should handle it, and add the features needed for #558600: Problem: Status field still set to 0 after changing themes via batch-update in Domain_Theme module.

rwoldezghi’s picture

Status: Needs review » Active

I don't know if this is a similar issue, but after creating a new domain record and selecting a theme for the domain, it automatically loads the newly created domain name theme on the default domain and doesn't not load the theme selected for the newly created domain.

matteoraggi’s picture

It look to be the same, yes.

agentrickard’s picture

Status: Active » Needs review

No. #4 is a separate issue and is already somewhere in the queue -- look under 'by design' or 'won't fix'.

When on Domain Theme configuration pages, the theme for the domain you are working with is loaded by design, similar to how blocks are loaded per theme.

Please review _this_ issue only.

matteoraggi’s picture

For my issue the patch is well working, super thanks! Now I go to discover how to show different content from a domain to another.

agentrickard’s picture

Excellent.

agentrickard’s picture

Status: Needs review » Fixed
StatusFileSize
new4.01 KB

Committed to HEAD.

I also added a status message that should clear up some confusion about theme display when setting these values.

matteoraggi’s picture

I hop then these changes will fly on the RC10, when do you think that it will be?

agentrickard’s picture

No RC10. Just 6.x.2.0.

Um, as soon as we fix the critical issues and stop getting sidetracked by support requests.

#512770: Stable release tasks for 6.x.2.0

matteoraggi’s picture

Very good news!
I have applied your patch again by hand over the other last , so some rows was just deleted or added in th last patch, I have tryed to change a theme from here /admin/build/domain/batch/site_theme and it look again to be all right, and it answred: Settings have been updated successfully. It look all right, I don't know if I can go in some other place to test it.

agentrickard’s picture

After settings themes, load each site home page.

matteoraggi’s picture

Done, thanks, I started to adjust also the menu.

matteoraggi’s picture

StatusFileSize
new6.23 KB

For domain id 12: http://www.egioiellerie.com/ when I change theme it don't make changes on it, but change the main site theme that have id1 www.forniture-alberghiere.net, instead for al others is all right.. or maybe I have done bad the patch of files at the second time? I attach them here.

agentrickard’s picture

THIS ISSUE IS CLOSED.

matteoraggi’s picture

theme is ok, it just neded about 20 minutes to change maybe for server works.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.