Slideshow not working (Drupal 5.7 Gallery 2.2.6)
grofmon
Joined: 2002-08-16
Posts: 15 |
![]() |
The regular slideshow works with gallery2 standalone, but does not work within Drupal. The fullscreen slideshow (applet) does work. I'm running the drupal gallery-5.x-2.2 module. Gallery version = 2.2.6 core 1.2.0.8 PHP version = 5.2.6-2ubuntu4 apache2handler Webserver = Apache/2.2.9 (Ubuntu) PHP/5.2.6-2ubuntu4 with Suhosin-Patch Database = mysql 5.0.67-0ubuntu6, lock.system=database Toolkits = Exif, ImageMagick, NetPBM, Ffmpeg Acceleration = partial/900, partial/21600 Operating system = Linux Dali 2.6.27-11-generic #1 SMP Thu Jan 29 19:24:39 UTC 2009 i686 Default theme = monty gettext = enabled Locale = en_US Browser = Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10_5_8; en-us) AppleWebKit/531.9 (KHTML, like Gecko) Version/4.0.3 Safari/531.9 Rows in GalleryAccessMap table = 59 Rows in GalleryAccessSubscriberMap table = 7302 Rows in GalleryUser table = 3 Rows in GalleryItem table = 7299 Rows in GalleryAlbumItem table = 304 Rows in GalleryCacheMap table = 30 |
|
suprsidr
![]()
Joined: 2005-04-17
Posts: 8339 |
![]() |
grofmon
Joined: 2002-08-16
Posts: 15 |
![]() |
Thanks for the links. I had already looked at those 2 anyway. I do not have the Cooliris or PicLens plugins installed and do not have a subdomain. This issue seems to be with the slideshow plugin and Drupal 5.7. It does not work on Firefox or Safari. I do not have a Windows PC, so I can't check IE. |
|
suprsidr
![]()
Joined: 2005-04-17
Posts: 8339 |
![]() |
The slideshow defaults to a lytebox javascript driven version when cooliris is not installed. Make sure your browsers allow js. -s |
|
grofmon
Joined: 2002-08-16
Posts: 15 |
![]() |
suprsidr, This is the embedded link that does not work: This is the standalone version which works fine: |
|
suprsidr
![]()
Joined: 2005-04-17
Posts: 8339 |
![]() |
suprsidr
![]()
Joined: 2005-04-17
Posts: 8339 |
![]() |
You have an old gallery. -s |
|
grofmon
Joined: 2002-08-16
Posts: 15 |
![]() |
suprsidr wrote:
gallery admin -> slideshow suprsidr, |
|
grofmon
Joined: 2002-08-16
Posts: 15 |
![]() |
suprsidr wrote:
You have an old gallery. See my first post and the subject. It clearly shows I have version 2.2.6. |
|
grofmon
Joined: 2002-08-16
Posts: 15 |
![]() |
Ok, I have upgraded to version 2.3. The slideshow is now using PicLens (Cooliris) and works fine standalone. It stil ldoes not work embeded in Drupal 5.7. When I select the slideshow link it tells me there are no photos in the album. Broken embedded: Gallery URL = http://taolam.com/gallery2/main.php Gallery version = 2.3 core 1.3.0 API = Core 7.54, Module 3.9, Theme 2.6, Embed 1.5 PHP version = 5.2.6-2ubuntu4 apache2handler Webserver = Apache/2.2.9 (Ubuntu) PHP/5.2.6-2ubuntu4 with Suhosin-Patch Database = mysql 5.0.67-0ubuntu6, lock.system=database Toolkits = Dcraw, Exif, Gd, ImageMagick, NetPBM, Ffmpeg Acceleration = partial/900, partial/21600 Operating system = Linux Dali 2.6.27-11-generic #1 SMP Thu Jan 29 19:24:39 UTC 2009 i686 Default theme = monty gettext = enabled Locale = en_US Browser = Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10_5_8; en-us) AppleWebKit/531.9 (KHTML, like Gecko) Version/4.0.3 Safari/531.9 Rows in GalleryAccessMap table = 59 Rows in GalleryAccessSubscriberMap table = 7300 Rows in GalleryUser table = 3 Rows in GalleryItem table = 7299 Rows in GalleryAlbumItem table = 304 Rows in GalleryCacheMap table = 14 |
|
grofmon
Joined: 2002-08-16
Posts: 15 |
![]() |
And now I turned on URL rewrite for the slideshow in gallery and get this: A serious error has occured. This can happen due to an incorrect configuration or a bug in the gallery module. If you plan to submit a bug report to the issue queue at drupal.org consider to include the pre-generated report file. Error in function '_gallery_init()' (gallery_base.inc:111): Unable to initialize embedded Gallery. You need to configure your embedded Gallery. Error (ERROR_MISSING_OBJECT) : Parent 26862 path slideshow in modules/core/classes/helpers/GalleryFileSystemEntityHelper_simple.class at line 98 (GalleryCoreApi::error) in modules/core/classes/GalleryCoreApi.class at line 1952 (GalleryFileSystemEntityHelper_simple::fetchChildIdByPathComponent) in modules/core/classes/helpers/GalleryFileSystemEntityHelper_simple.class at line 53 (GalleryCoreApi::fetchChildIdByPathComponent) in modules/core/classes/GalleryCoreApi.class at line 1901 (GalleryFileSystemEntityHelper_simple::fetchItemIdByPath) in modules/rewrite/classes/RewriteSimpleHelper.class at line 45 (GalleryCoreApi::fetchItemIdByPath) in ??? at line 0 (RewriteSimpleHelper::loadItemIdFromPath) in modules/rewrite/classes/RewriteUrlGenerator.class at line 103 in modules/rewrite/classes/parsers/modrewrite/ModRewriteUrlGenerator.class at line 56 (RewriteUrlGenerator::_onLoad) in init.inc at line 166 (ModRewriteUrlGenerator::initNavigation) in modules/core/classes/GalleryEmbed.class at line 129 in /var/www/modules/gallery/gallery_base.inc at line 101 (GalleryEmbed::init) in /var/www/modules/gallery/gallery_base.inc at line 332 in /var/www/modules/gallery/gallery_menu/gallery_menu.module at line 37 in ??? at line 0 in /var/www/includes/module.inc at line 406 in /var/www/includes/menu.inc at line 1221 in /var/www/includes/menu.inc at line 220 in /var/www/includes/menu.inc at line 391 in /var/www/index.php at line 15 A serious error has occured. This can happen due to an incorrect configuration or a bug in the gallery module. If you plan to submit a bug report to the issue queue at drupal.org consider to include the pre-generated report file. Error in function 'gallery_handle_request()' (gallery_base.inc:159): Error (ERROR_MISSING_OBJECT) : Parent 26862 path slideshow in modules/core/classes/helpers/GalleryFileSystemEntityHelper_simple.class at line 98 (GalleryCoreApi::error) in modules/core/classes/GalleryCoreApi.class at line 1952 (GalleryFileSystemEntityHelper_simple::fetchChildIdByPathComponent) in modules/core/classes/helpers/GalleryFileSystemEntityHelper_simple.class at line 53 (GalleryCoreApi::fetchChildIdByPathComponent) in modules/core/classes/GalleryCoreApi.class at line 1901 (GalleryFileSystemEntityHelper_simple::fetchItemIdByPath) in modules/rewrite/classes/RewriteSimpleHelper.class at line 45 (GalleryCoreApi::fetchItemIdByPath) in ??? at line 0 (RewriteSimpleHelper::loadItemIdFromPath) in modules/rewrite/classes/RewriteUrlGenerator.class at line 103 in modules/rewrite/classes/parsers/modrewrite/ModRewriteUrlGenerator.class at line 56 (RewriteUrlGenerator::_onLoad) in init.inc at line 166 (ModRewriteUrlGenerator::initNavigation) in main.php at line 197 in main.php at line 104 in modules/core/classes/GalleryEmbed.class at line 189 in /var/www/modules/gallery/gallery_base.inc at line 141 (GalleryEmbed::handleRequest) in /var/www/modules/gallery/gallery.module at line 385 in ??? at line 0 in /var/www/includes/menu.inc at line 418 in /var/www/index.php at line 15 A serious error has occured. This can happen due to an incorrect configuration or a bug in the gallery module. If you plan to submit a bug report to the issue queue at drupal.org consider to include the pre-generated report file. Error in function '_gallery_init()' (gallery_base.inc:111): Unable to initialize embedded Gallery. You need to configure your embedded Gallery. Error (ERROR_MISSING_OBJECT) : Parent 26862 path slideshow in modules/core/classes/helpers/GalleryFileSystemEntityHelper_simple.class at line 98 (GalleryCoreApi::error) in modules/core/classes/GalleryCoreApi.class at line 1952 (GalleryFileSystemEntityHelper_simple::fetchChildIdByPathComponent) in modules/core/classes/helpers/GalleryFileSystemEntityHelper_simple.class at line 53 (GalleryCoreApi::fetchChildIdByPathComponent) in modules/core/classes/GalleryCoreApi.class at line 1901 (GalleryFileSystemEntityHelper_simple::fetchItemIdByPath) in modules/rewrite/classes/RewriteSimpleHelper.class at line 45 (GalleryCoreApi::fetchItemIdByPath) in ??? at line 0 (RewriteSimpleHelper::loadItemIdFromPath) in modules/rewrite/classes/RewriteUrlGenerator.class at line 103 in modules/rewrite/classes/parsers/modrewrite/ModRewriteUrlGenerator.class at line 56 (RewriteUrlGenerator::_onLoad) in init.inc at line 166 (ModRewriteUrlGenerator::initNavigation) in modules/core/classes/GalleryEmbed.class at line 129 in /var/www/modules/gallery/gallery_base.inc at line 101 (GalleryEmbed::init) in /var/www/modules/gallery/gallery_block.inc at line 34 in /var/www/modules/gallery/gallery.module at line 369 in ??? at line 0 in /var/www/includes/module.inc at line 386 in /var/www/modules/block/block.module at line 693 in /var/www/includes/theme.inc at line 1018 in ??? at line 0 in /var/www/includes/theme.inc at line 170 in /var/www/themes/engines/phptemplate/phptemplate.engine at line 170 in ??? at line 0 in /var/www/includes/theme.inc at line 170 in /var/www/index.php at line 33 A serious error has occured. This can happen due to an incorrect configuration or a bug in the gallery module. If you plan to submit a bug report to the issue queue at drupal.org consider to include the pre-generated report file. Error in function '_gallery_init()' (gallery_base.inc:111): Unable to initialize embedded Gallery. You need to configure your embedded Gallery. Error (ERROR_MISSING_OBJECT) : Parent 26862 path slideshow in modules/core/classes/helpers/GalleryFileSystemEntityHelper_simple.class at line 98 (GalleryCoreApi::error) in modules/core/classes/GalleryCoreApi.class at line 1952 (GalleryFileSystemEntityHelper_simple::fetchChildIdByPathComponent) in modules/core/classes/helpers/GalleryFileSystemEntityHelper_simple.class at line 53 (GalleryCoreApi::fetchChildIdByPathComponent) in modules/core/classes/GalleryCoreApi.class at line 1901 (GalleryFileSystemEntityHelper_simple::fetchItemIdByPath) in modules/rewrite/classes/RewriteSimpleHelper.class at line 45 (GalleryCoreApi::fetchItemIdByPath) in ??? at line 0 (RewriteSimpleHelper::loadItemIdFromPath) in modules/rewrite/classes/RewriteUrlGenerator.class at line 103 in modules/rewrite/classes/parsers/modrewrite/ModRewriteUrlGenerator.class at line 56 (RewriteUrlGenerator::_onLoad) in init.inc at line 166 (ModRewriteUrlGenerator::initNavigation) in modules/core/classes/GalleryEmbed.class at line 129 in /var/www/modules/gallery/gallery_base.inc at line 101 (GalleryEmbed::init) in /var/www/modules/gallery/gallery_block.inc at line 34 in /var/www/modules/gallery/gallery.module at line 369 in ??? at line 0 in /var/www/includes/module.inc at line 386 in /var/www/modules/block/block.module at line 693 in /var/www/includes/theme.inc at line 1018 in ??? at line 0 in /var/www/includes/theme.inc at line 170 in /var/www/themes/engines/phptemplate/phptemplate.engine at line 170 in ??? at line 0 in /var/www/includes/theme.inc at line 170 in /var/www/index.php at line 33 A serious error has occured. This can happen due to an incorrect configuration or a bug in the gallery module. If you plan to submit a bug report to the issue queue at drupal.org consider to include the pre-generated report file. Error in function '_gallery_init()' (gallery_base.inc:111): Unable to initialize embedded Gallery. You need to configure your embedded Gallery. Error (ERROR_MISSING_OBJECT) : Parent 26862 path slideshow in modules/core/classes/helpers/GalleryFileSystemEntityHelper_simple.class at line 98 (GalleryCoreApi::error) in modules/core/classes/GalleryCoreApi.class at line 1952 (GalleryFileSystemEntityHelper_simple::fetchChildIdByPathComponent) in modules/core/classes/helpers/GalleryFileSystemEntityHelper_simple.class at line 53 (GalleryCoreApi::fetchChildIdByPathComponent) in modules/core/classes/GalleryCoreApi.class at line 1901 (GalleryFileSystemEntityHelper_simple::fetchItemIdByPath) in modules/rewrite/classes/RewriteSimpleHelper.class at line 45 (GalleryCoreApi::fetchItemIdByPath) in ??? at line 0 (RewriteSimpleHelper::loadItemIdFromPath) in modules/rewrite/classes/RewriteUrlGenerator.class at line 103 in modules/rewrite/classes/parsers/modrewrite/ModRewriteUrlGenerator.class at line 56 (RewriteUrlGenerator::_onLoad) in init.inc at line 166 (ModRewriteUrlGenerator::initNavigation) in modules/core/classes/GalleryEmbed.class at line 129 in /var/www/modules/gallery/gallery_base.inc at line 101 (GalleryEmbed::init) in /var/www/modules/gallery/gallery_block.inc at line 34 in /var/www/modules/gallery/gallery.module at line 369 in ??? at line 0 in /var/www/includes/module.inc at line 386 in /var/www/modules/block/block.module at line 693 in /var/www/includes/theme.inc at line 1018 in ??? at line 0 in /var/www/includes/theme.inc at line 170 in /var/www/themes/engines/phptemplate/phptemplate.engine at line 170 in ??? at line 0 in /var/www/includes/theme.inc at line 170 in /var/www/index.php at line 33 |
|
suprsidr
![]()
Joined: 2005-04-17
Posts: 8339 |
![]() |
Quote:
It stil ldoes not work embeded in Drupal 5.7. When I select the slideshow link it tells me there are no photos in the album. http://gallery.menalto.com/node/90385#comment-318509 -s |
|
grofmon
Joined: 2002-08-16
Posts: 15 |
![]() |
s, I also looked at the second one last night and got lost trying to follow the entire thing. Could you point me to the comment with the 'fix'? Thanks for your help so far. |
|
suprsidr
![]()
Joined: 2005-04-17
Posts: 8339 |
![]() |
http://gallery.menalto.com/node/83849#comment-317437 -s |
|
grofmon
Joined: 2002-08-16
Posts: 15 |
![]() |
s, Even though I'm not running on a subdomain, I went through the re-install process from the other link and it didn't help either. One change I have noticed is that I no longer get the "No Photos" message. Now it just goes to a blank page. If you go here and click the slideshow link, the URL changes, but no slideshow: If you go to the standalone version and click the slideshow link, the URL (in the browser) doesn't change and the slideshow plays fine: Other things I tired include turing off rewrite mode and disabling all plugins except those required to run integrated in Drupal. I'm going to post a question to the Drupal forums as well to see if anyone over there can help... |
|
grofmon
Joined: 2002-08-16
Posts: 15 |
![]() |
One more update. I now see this error, but don't know enough to make sense of it. It looks to me like the error is in gallery.module after line 385. Event Details Date Tue 25 Aug 2009 03:06:03 PM MDT Type Gallery Error Location http://taolam.com/gallery/v/2009/outdoor/obey/slideshow.html User Id 6 Client 204.76.128.217 Summary Parent 26472 path slideshow Referer http://taolam.com/gallery2/main.php?g2_view=core.SiteAdmin&g2_subView=core.AdminEventLogViewer Details Error (ERROR_MISSING_OBJECT) : Parent 26472 path slideshow in modules/core/classes/helpers/GalleryFileSystemEntityHelper_simple.class at line 98 (GalleryCoreApi::error) in modules/core/classes/GalleryCoreApi.class at line 1952 (GalleryFileSystemEntityHelper_simple::fetchChildIdByPathComponent) in modules/core/classes/helpers/GalleryFileSystemEntityHelper_simple.class at line 53 (GalleryCoreApi::fetchChildIdByPathComponent) in modules/core/classes/GalleryCoreApi.class at line 1901 (GalleryFileSystemEntityHelper_simple::fetchItemIdByPath) in modules/rewrite/classes/RewriteSimpleHelper.class at line 45 (GalleryCoreApi::fetchItemIdByPath) in ??? at line 0 (RewriteSimpleHelper::loadItemIdFromPath) in modules/rewrite/classes/RewriteUrlGenerator.class at line 103 in modules/rewrite/classes/parsers/modrewrite/ModRewriteUrlGenerator.class at line 56 (RewriteUrlGenerator::_onLoad) in init.inc at line 166 (ModRewriteUrlGenerator::initNavigation) in main.php at line 197 in main.php at line 104 in modules/core/classes/GalleryEmbed.class at line 189 in /var/www/modules/gallery/gallery_base.inc at line 141 (GalleryEmbed::handleRequest) in /var/www/modules/gallery/gallery.module at line 385 in ??? at line 0 in /var/www/includes/menu.inc at line 418 in /var/www/index.php at line 15 Request variables: Array ( [path] => 2009/outdoor/obey/slideshow.html ) |
|
suprsidr
![]()
Joined: 2005-04-17
Posts: 8339 |
![]() |
I see your issue, and its fairly plain. <link rel="alternate" type="application/rss+xml" title="Photo RSS" href="/gallery2/main.php?g2_view=slideshow.SlideshowMediaRss&g2_itemId=27343&g2_browserPlugin=1&g2_offset=0"/> <script type="text/javascript" src="/gallery2/main.php?g2_view=slideshow.DownloadPicLens&g2_file=js&g2_v=1.3.1.14221"></script> and this is your embedded(http://taolam.com/gallery/v/2009/outdoor/tubing/): <style type="text/css" media="all">@import "/index.php?q=gallery&g2_view=slideshow.SlideshowMediaRss&g2_itemId=27343&g2_browserPlugin=1&g2_offset=0";</style> drupal is importing the rss as css and ignoring the necessary javascript. -s |
|
grofmon
Joined: 2002-08-16
Posts: 15 |
![]() |
s, thanks |
|
suprsidr
![]()
Joined: 2005-04-17
Posts: 8339 |
![]() |
It would be related to drupal's embed -s |
|
grofmon
Joined: 2002-08-16
Posts: 15 |
![]() |
I've done another upgrade. Drupal is now at version 5.19. Now I get a diefferent set of errors. Any idea what would cause this? Event Details Date Tue 25 Aug 2009 11:46:25 PM MDT Type core.CombinedJavascript Location http://taolam.com/gallery2/main.php?g2_view=core.CombinedJavascript&g2_key=520ff5082c993d53db5059b7d0afe38e User Id 6 Client 192.168.0.3 Summary Unable to read combined cache file Referer http://taolam.com/index.php?q=gallery&g2_view=slideshow.Slideshow&g2_itemId=27343&g2_return=%2Fgallery%2Fv%2F2009%2F Details Request variables: Array ( [view] => core.CombinedJavascript ) and this Event Details Date Tue 25 Aug 2009 11:46:25 PM MDT Type Gallery Error Location http://taolam.com/gallery2/main.php?g2_view=slideshow.DownloadPicLens&g2_file=js&g2_v=1.3.1.14221 User Id 6 Client 192.168.0.3 Summary ERROR_BAD_PARAMETER Referer http://taolam.com/index.php?q=gallery&g2_view=slideshow.Slideshow&g2_itemId=27343&g2_return=%2Fgallery%2Fv%2F2009%2F Details Error (ERROR_BAD_PARAMETER)in modules/slideshow/DownloadPicLens.inc at line 73 (GalleryCoreApi::error) in main.php at line 450 (DownloadPicLensView::renderImmediate) in main.php at line 104 in main.php at line 88 Request variables: Array ( [view] => slideshow.DownloadPicLens ) I now have the javascript in the header: <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Aug 04, 2009 | The Adventures of Lori and Monty</title> <meta http-equiv="Content-Style-Type" content="text/css" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="shortcut icon" href="/files/favicon.ico" type="image/x-icon" /> <style type="text/css" media="all">@import "/gallery2/main.php?g2_view=imageframe.CSS&g2_frames=none";</style> <style type="text/css" media="all">@import "/gallery2/modules/core/data/gallery.css";</style> <style type="text/css" media="all">@import "/gallery2/modules/icons/iconpacks/silk/icons.css";</style> <style type="text/css" media="all">@import "/index.php?q=gallery&g2_view=slideshow.SlideshowMediaRss&g2_itemId=27343&g2_browserPlugin=1&g2_offset=0";</style> <style type="text/css" media="all">@import "/gallery2/themes/matrix/theme.css";</style> <style type="text/css" media="all">@import "/modules/gallery/gallery.css";</style> <style type="text/css" media="all">@import "/modules/gallery/gallery_filter.css";</style> <style type="text/css" media="all">@import "/modules/node/node.css";</style> <style type="text/css" media="all">@import "/modules/system/defaults.css";</style> <style type="text/css" media="all">@import "/modules/system/system.css";</style> <style type="text/css" media="all">@import "/modules/user/user.css";</style> <style type="text/css" media="all">@import "/themes/box_grey/style.css";</style> <script type="text/javascript" src="/misc/jquery.js"></script> <script type="text/javascript" src="/misc/drupal.js"></script> <script type="text/javascript" src="/gallery2/main.php?g2_view=core.CombinedJavascript&amp;g2_key=0b713494366ad3a03ecccebe79b1e80e"></script> <script type="text/javascript" src="/gallery2/main.php?g2_view=core.ItemDeleteJs&amp;g2_lang=en_US"></script> <script type="text/javascript" src="/gallery2/main.php?g2_view=slideshow.DownloadPicLens&amp;g2_file=js&amp;g2_v=1.3.1.14221"></script> <script type="text/javascript"></script> </head> |
|
suprsidr
![]()
Joined: 2005-04-17
Posts: 8339 |
![]() |
Dave had a fix for the combined js somewhere in these forums, I believe it was gzip related. You'll have to search. If it turns out to be too difficult - you could always use my picLensRss.php and add it to gallery's head manually. -s |
|
grofmon
Joined: 2002-08-16
Posts: 15 |
![]() |
Dude, $gallery->setConfig('baseUri', 'http://taolam.com/'); Thanks for all of your help on this issue. |
|