Active
Project:
Gallery
Version:
6.x-1.0
Component:
Module: Gallery Menu
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Mar 2009 at 12:36 UTC
Updated:
5 Apr 2009 at 13:12 UTC
Hello
Rss Feeds and XML data does not work, especially "g2_view=slideshow.SlideshowMediaRss", so slideshows do not work. I get a HTTP 500 response code from the server, when trying to view RSS fees (and slideshows). When I try to access the data directly in gallery2 things work fine.
This happens with my hosting company's webserver, not mine at home. Could you serve this kind of data directly? As a workaround, i added the following line to galler_page() in gallery.module to make slideshows work:
return preg_replace('/index.php\?q\=gallery\&\;g2\_view\=slideshow.SlideshowMediaRss\&\;g2_itemId\=([0-9]+)/i', 'gallery2/main.php?g2_view=slideshow.SlideshowMediaRss&g2_itemId=${1}', $result['bodyHtml']);
instead of
return $result['bodyHtml'];
Regards,
Frank
Comments
Comment #1
kjholla commentedI modified the code within the gallery.module file as recommended and got the PicLens slideshow working.
Only additional thing I had to do was put the fix in two places:
1. For the body - this works fine when the Gallery Sidebar has not been moved into the Gallery Navigation block
2. For the Sidebar - When you go into Gallery Settings and choose to move the Gallery Sidebar into the Gallery Navigation block, the above fix will not suffice. In this case you need to add the following:
instead of
in the function gallery_page()
A permanent fix for this problem would be really good.
Regards,
KH