Hi guys,

I have been attempting to get DA online with a site that allows users to upload images in bulk. The site was running...
http://drupal.org/project/image_pub - image publishing module

Once I activated the DA Module i began coming acrossed this error.

Validation error, please try again. If this error persists, please contact the site administrator.

I uninstalled image publish and tested with
Fimageupload and found the same error.

once DA was turned off,
Both began working again.

any thoughts?

Comments

agentrickard’s picture

That error message is not coming from DA, so I don't know what the 'validation error' refers to. Perhaps the image uploader is confused about which domain it is on and can't find the files directory.

agentrickard’s picture

Project: Domain » Image Publishing
Version: 6.x-2.0-rc6 » 6.x-1.0-beta2
egfrith’s picture

Title: Image Module » Image upload fails when domain access module is enabled

Hello CorpX,

are there any messages in the watchdog about this?

It sounds as though the user is able to authenticate, but that the image cannot be created.

In _image_pub_image_add() - in image_pub.common.inc - image_pub uses drupal_execute() to create the node, though there is some jiggery-pokery getting the file information into the right part of the $_FILES array so that image.module can actually find it. This would be the first area I would look at if I had time. Unfortunately, I probably won't have time to deal with this properly for a while, though I should be able to respond to any comments posted here.

egfrith’s picture

Status: Active » Closed (duplicate)

Doh! I've just realised that this is a duplicate of #414504: Not able to upload images when domain access module enabled.