I'm tearing my hair out - I am supposed to have this project finished tomorrow and everything works in the Admin account (finally) but users get weird strings added to the URL links in embedded Drupal. Everything works fine in stand-alone Gallery2 and the Admin account.

I've tried to add cookie control to the general menu in embedded Gallery2 (see below for details)

The Admin sees the correct link -

http://www.mfaproductions.com/bcgradtvr/gallery/Jasonmcd/

The users see something else -

http://www.mfaproductions.com/bcgradtvr/gallery/Jasonmcd/%3Fg2_GALLERYSI...

In the embedded Gallery2 general menu, I've tried the following settings:

Path: [nothing]
Domain: [nothing]

Path: /
Domain: [nothing]

Path: /bcgradtvr/
Domain: [nothing]

Path: /
Domain: mfaproductions.com

Path: /bcgradtvr/
Domain: mfaproductions.com

If anyone has any ideas as to why the users get these weird SESSION_ID strings, I'm all ears. I keep thinking this site is ready and it never is!

Thanks
Jason

Comments

profix898’s picture

Does this happen for all urls and all users (except admin)? You should usually only get this if there is no session available for the current request. I will play with this myself and comment back shortly.

jasonmcd’s picture

The SESSION_ID/GALLERYSID strings only happen on the Drupal menu, and on the images in the activated Gallery2 image block. Everything, Drupal menus, Gallery2 Image Block, etc. all work in my admin account. Only the users have Drupal menus and Gallery2 Image Blocks with the extra info on the URLs.

On the advice of the Gallery2 folks, I downloaded the nightly build of Gallery2 and the CVS version of the Gallery module. The new code did not clear up the problem.

Thanks
Jason

profix898’s picture

Not sure what I can do here. I cant reproduce this issue on my box. Can you check the session parameters (e.g. session cookie, ...) being installed correctly? Once you have the GALLERYSID session cookie in your browser (first access to the site) you shouldnt see any session id appended to your url.
Is http://www.mfaproductions.com/bcgradtvr/gallery/Jasonmcd/ the site in question? If so I dont see the problem there as well.

alexandreracine’s picture

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

DEV version not supported anymore. Please update.

------------
Feel free to reopen but please look at the latest version first! It's probably fixed.

http://drupal.org/project/gallery

Closing (cleanup)