Download & Extend

Site status can only be set on batch updating.

Project:Domain Access
Version:6.x-2.0-rc8
Component:- Domain Conf
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

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

Comments

#1

forgot to mention no problems setting status to offline.

#2

Category:bug report» support request

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.

#3

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

#4

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?

#5

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

#6

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?

#7

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

#8

Let me test that combination.

#9

Status:active» fixed

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.

AttachmentSize
486038-zero-not-null.patch 941 bytes

#10

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.

AttachmentSize
domain.png 1.92 KB

#11

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?

#12

setting the affiliated domain back online.

#13

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.

#14

Status:active» postponed (maintainer needs more info)

This is not a release blocker.

#15

Status:postponed (maintainer needs more info)» closed (fixed)