I have been trying to integrate the gallery module into my Drupal website. However, every time I open the module in Drupal, I can see the gallery but I am logged out of Drupal.

I know there is a topic below discussing the problem is with the session names not being the same, however, the solution that Tom gave me is not available because I do not have a .htaccess file in Gallery, only Drupal, and this does not set the session.name in it.

So if the session names are not changed (although I've found Gallery cookies using GALLERYSID whereas drupal uses the standard PHPSESSID) then what can be the problem? I am sure it is still to do with the Sessions, but I don't know enough about how PHP Sessions work to fix it.

I am running Drupal and G2 on WAMP5 1.4.4 on Windows XP.

Comments

alexu’s picture

I can confirm similar behaviour (drupal session expiring) if an attempt to display gallery page (or random gallery picture block) is made. Tried with both CVS and 4.6.0 version of Drupal gallery2 integration module.

I'm using Debian 3.1, Gallery2 v2.0.beta3-1, drupal v. 4.5.3 (both standard Debian packages).

Would appreciate any suggestions on how I should deal with this problem.

Thanks,
Alex

alexandreracine’s picture

Status: Active » Closed (fixed)

Since there is no more activity here, Gallery 2 is out, Drupal 4.6.3 is out and gallery.module was updated by Walkah a couple of days ago, please update everything and try again.

Closed.