Good Day,

I recently upgraded to RC7 and noticed I am unable to set domain site status to go online on the domain site setting page. The only way that I could change site status to go online was using the batch updating settings.

I also cleared all cache just to be on the safe side.

Thank you,

Mark

CommentFileSizeAuthor
#10 domain.png1.92 KBmrgoltra
#9 486038-zero-not-null.patch941 bytesagentrickard

Comments

mrgoltra’s picture

forgot to mention no problems setting status to offline.

agentrickard’s picture

Category: bug » support

I don't understand. Using Domain Conf, the setting is still there and works as expected.

I do get this message when setting the site to offline:

warning: Attempt to assign property of non-object in /Applications/MAMP/htdocs/drupal-6.12/includes/theme.inc on line 1816.

Filed as #486370: Locale module not handled properly.

If you have a domain set to 'offline' and then set it to 'online' you do get one residual message, but that goes away on page refresh.

mrgoltra’s picture

Hi Agentrickard,

Thank you for the follow up. Sorry for not being clear. When I updated, I had to take the site offline, after updating the module to RC7, which didn't give any error message. I tried setting one of the subdomains online but it will not go online. The only way, I could set the site to online was using the batch update page.

It might not be an issue. Maybe its just my site.

Thank you,

Mark

agentrickard’s picture

There is not enough information here to say if it is just you or not.

I tried setting one of the subdomains online but it will not go online.

1) Where did you attempt this? (On what Drupal path)
2) What happened when you did?

mrgoltra’s picture

Thank you again.

mysite.com/admin/build/domain/conf/2

Site Status:
[ ] Online
[x] Offline

When I set it to online and click save domain settings button and get this message

Domain options saved successfully.

and when I scroll down to the bottom, site status is still set offline and when I check on a different machine, site is still offline.

This is where I enable the site online. mysite.com/admin/build/domain/batch/site_offline

Hope that helps.

Thank you,

Mark

agentrickard’s picture

I simply cannot replicate this.

Are you getting any other warnings or messages? What version did you upgrade from? Are you using any other modules that might interfere?

Are other domain-specific settings loading correctly?

mrgoltra’s picture

no warning messages. I guess its just me. no worries. I can deal with my work around.

yes other domain specific settings are loading correctly. I was upgrading from previous release.

I forgot to mention that only main domain.com is offline and I was trying to have new.domain.com to go online.

Thank you again,

Mark

agentrickard’s picture

Let me test that combination.

agentrickard’s picture

Status: Active » Fixed
StatusFileSize
new941 bytes

That turns out to be a very nice catch, as zero evaluates to empty() and was not getting set.

NOTE: This does not affect D5.

mrgoltra’s picture

StatusFileSize
new1.92 KB

Thanks for the update. I was wondering it the patch was applied to the latest release?

Right now I updated to the latest release and getting this error when I set the affiliate domain on or off. But affiliated domain is always online even if set to offline.

agentrickard’s picture

Version: 6.x-2.0-rc7 » 6.x-2.0-rc8
Status: Fixed » Active

It is in the latest release. What are you doing when this error occurs?

mrgoltra’s picture

setting the affiliated domain back online.

agentrickard’s picture

That message is a form token error and is not coming from DA. Likely coming from the function drupal_validate_form in form.inc.

I cannot replicate. This may be a session handling error.

agentrickard’s picture

Status: Active » Postponed (maintainer needs more info)

This is not a release blocker.

agentrickard’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)