The arrangement is Domain Access with 15 sites and recently implemented SSO. Prior to SSO installation, all node creation worked without a hitch. Post installation, however, image upload has been very weird. All other content types still function flawlessly, but Images are not published to any domains.
When one tries to create an Image, the form -after submission- results in a white screen at the url [domain]/node/add/image. Upon further exploration, the image has been created, uploaded, and all of the form information is retained. The image is not, however, published to any of the domains. It is there, in the system, but only user 1 can see it. User 1 can edit the image and publish the image to any domains through the node/edit form and that information is saved and does take effect. The initial submission will not assign domains...
I have determined that since the SSO was implemented, the hook_validate is not being called. I don't know if that is the root of the problem or not, but I thought it worth mentioning. I am unfortunately ignorant of exactly how SSO is supposed to work (behind the scenes), but I suspect that what might be happening is a redirect to the login.domain.com (controller) during the node submission which does not have the authority to publish content to the other domains... but then again we are having no issues what so ever with any other content type.
So, I am at a loss. I have checked the log entries, the PHP error logs, and have inserted watchdog() notes all over the place trying to find where exactly the problem is occurring and have found nothing. There are no error messages (in the logs or Drupal entries) relevant to the matter and have yet to find exactly where the process is stopping - other than the validation function, which I have determined is not firing.
If anyone has any ideas, please feel to throw them out. I am open...
Comments
Comment #1
promesSince user/1 kan see published images I presume you use in your settings the private send method. And the names of the images in the node start with '/system/files'.
You should update this into '/files', since '/system' is added by Drupal to prevent the download of images. After your update everybody can see the images.
This is a common error and not sso or DA related.