Image pub 5.x-1.dev
GalleryRemote 1.5
Windows XP system

GalleryRemote can access the galleries on my sites however it sees them as Read-only.

But if I allow anonymous users to create images in the Drupal permissions page then it sees the galleries on my site as writable.

This makes me think that there is a problem with the way that GalleryRemote sends the password or the way that image_pub handles the passwords it receives.

Any suggestions?

Comments

bwynants’s picture

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

user configuration issue

uncomment the part after

/**
* We try to set the correct cookie domain. If you are experiencing problems
* try commenting out the code below or specifying the cookie domain by hand.
*/

in your settings.php file.

The maintainer of the module is on holiday. I can not commit changes in this project. therefor I placed the latest version in an archive on the web

The 5.0 module can be found on http://www.goju-ryu.be/image_pub.zip

pgi’s picture

Hi

I'm experiencing the same issue, but the solution doesn't seem to work on my web site (the part in the settings.php file is already uncomment). I tried to specify the cookie domain by hand but it doesn't work.

Have you got another solution?

Thanks

enboig’s picture

Version: master » 5.x-1.x-dev
Status: Closed (fixed) » Active

Same problem here, I uncomented

if (isset($_SERVER['HTTP_HOST'])) {
  $domain = '.'. preg_replace('`^www.`', '', $_SERVER['HTTP_HOST']);
  // Per RFC 2109, cookie domains must contain at least one dot other than the
  // first. For hosts such as 'localhost', we don't set a cookie domain.
  if (count(explode('.', $domain)) > 2) {
    ini_set('session.cookie_domain', $domain);
  }
}

But the problem is still there. I just upgraded from drupal4.7

enboig’s picture

I just tested with winXP integrated system and I can upload files. The problem is with gallery remote.

egfrith’s picture

Component: Miscellaneous » Code
Status: Active » Closed (duplicate)