URL Rewrite & Redirection

kiz_0987

Joined: 2005-02-27
Posts: 189
Posted: Fri, 2006-03-31 19:36

In embedded Gallery2.1 with URL rewrite on there is a GalleryEmbed error if an incorrect gallery page is requested. This should redirect to the main gallery page shouldn't it. Checked with Drupal and WPG2.

The Drupal error is:
Fatal error: Call to a member function on a non-object in /XXX/gallery2/modules/core/classes/GalleryEmbed.class on line 209

Is this a gallery problem, or should the embed code have somehow done something to stop this?

 
nzwhost

Joined: 2005-10-29
Posts: 61
Posted: Fri, 2006-09-01 21:57

Did you ever get an answer to this? I an seeing the same issue

 
kiz_0987

Joined: 2005-02-27
Posts: 189
Posted: Sat, 2006-09-02 15:25

mindless put a patch in http://drupal.org/node/71492 for this in drupal. I have not yet updated the official gallery.module, but you may want to try the patch.

 
nzwhost

Joined: 2005-10-29
Posts: 61
Posted: Sun, 2006-09-03 00:46

I have already applied this patch but I am still getting the same error.