when upgrading views slideshow to v2.1 along with the security updates to panels-3.4 and ctools-1.4, slideshow blows up. actually, it is specifically the SingleFrame plugin that does the damage. all of the expansion elements on any admin page lose their links and my slideshows break. rebuilding them does not repair.

the most bizarre thing is, even when reverting to slideshow-2.0, panels-3.3 and ctools-1.3 the issue remains.

drupal 6.16
views 2.1

thanks for looking into this!

CommentFileSizeAuthor
#12 views.gif31.56 KBsupersteph
#10 view.jpg194.33 KBsupersteph
#7 coe_1.zip525.78 KBsupersteph

Comments

redndahead’s picture

If you can please answer the questions on the other issue you commented on.

supersteph’s picture

from #770170: Upgrading to Slideshow 6.x-2.0-beta4 I lost Javascript:

redndahead - May 24, 2010 - 18:57 -- Not sure what's up I just upgraded one of my sites from 2.0 to 2.1 and everything went smoothly. I just upgraded it. Can you open a new issue with these questions answered. Is it just the admin section or is your slideshow broken also? Are you using a custom theme or does this happen in garland too? Does firebug report any javascript errors?

Slideshows are also broken. (Rebuilding does not fix.)
No firebug js errors.
It never occurred to me to check another theme...the issue is not showing in garland!

Any help you could provide to help me troubleshoot my theme would be greatly appreciated (from one red head to another).
I do have one views tpl file, but i disabled it to troubleshoot and it did not seem to be a contributing factor.

supersteph’s picture

a little more info...

the first slide of both of my slideshows display, but there is no rotation. also, the thumbnail pager does not appear.

it may be notable that with other views_slideshow updates, i would lose the thumbnails or some other quirky error would present itself, but all was easily remedied by opening the view and simply re-saving it.

redndahead’s picture

If it doesn't rotate or the thumbnails don't show that usually indicates a javascript error and firebug should show something. If it's working in garland I'm not sure what else to do. If you could attach your theme then possibly I could look at it with your theme.

soajetunmobi’s picture

I had the same problem as well. Although the images are showing but seems to have lost the pager...

soajetunmobi’s picture

Just an update, I reverted back to version 2.0 and the pager is back. Looks like there is a bug in the newer version or just doesn't fit properly.

supersteph’s picture

StatusFileSize
new525.78 KB

which beta of 2.0, soajetunmobi? would you mind sending me a link to the version you downloaded?
i have tried to downgrade to v 2.x-dev and 2.0-beta2 with no success.

also, i attached my theme, redndahead. thanks again for the help!

supersteph’s picture

found a js error:
settings is undefined in line 15 of sites/all/modules/views_slideshow/contrib/views_slideshow_singleframe/views_slideshow.js?t

/**
 * This will set our initial behavior, by starting up each individual slideshow.
 */
11 Drupal.behaviors.viewsSlideshowSingleFrame = function (context) {
12  $('.views_slideshow_singleframe_main:not(.viewsSlideshowSingleFrame-processed)', context).addClass('viewsSlideshowSingleFrame-processed').each(function() {
13    var fullId = '#' + $(this).attr('id');
14   var settings = Drupal.settings.viewsSlideshowSingleFrame[fullId];
15    settings.targetId = '#' + $(fullId + " :first").attr('id');
16    settings.paused = false;
17    ....
redndahead’s picture

Ok the only way this could happen is either your settings variable is off or your views output is wrong. So in the header of your source you will see something like this in between script tags. If you could post that here that would be awesome. Specifically we are looking at that first #views_slideshow_sinlgeframe_main_slideshow-page_1

<!--//--><![CDATA[//><!--
jQuery.extend(Drupal.settings, { "basePath": "/vs/", "viewsSlideshowSingleFrame": { "#views_slideshow_singleframe_main_slideshow-page_1": { "num_divs": 10, "id_prefix": "#views_slideshow_singleframe_main_", "div_prefix": "#views_slideshow_singleframe_div_", "vss_id": "slideshow-page_1", "timeout": "5000", "sort": 1, "effect": "fade", "speed": "700", "start_paused": 0, "delay": "0", "fixed_height": "1", "random": "0", "pause": "1", "pause_on_click": "1", "remember_slide": 0, "remember_slide_days": "1", "controls": "1", "pager": "2", "pager_type": "Thumbnails", "page_hover": 2, "pager_click_to_page": 1, "image_count": "2", "nowrap": "0", "sync": "1", "advanced": "", "ie": { "cleartype": "false", "cleartypenobg": "false" }, "pager_hover": "1" }, "#views_slideshow_singleframe_main_slideshow-block_1": { "num_divs": 2, "id_prefix": "#views_slideshow_singleframe_main_", "div_prefix": "#views_slideshow_singleframe_div_", "vss_id": "slideshow-block_1", "timeout": "5000", "sort": 1, "effect": "fade", "speed": "700", "start_paused": 0, "delay": "0", "fixed_height": "1", "random": "0", "pause": "1", "pause_on_click": "0", "remember_slide": 0, "remember_slide_days": "1", "controls": "0", "pager": "0", "pager_type": "Numbered", "page_hover": 2, "pager_click_to_page": 0, "image_count": "0", "nowrap": "0", "sync": "1", "advanced": "", "ie": { "cleartype": "true", "cleartypenobg": "false" }, "pager_hover": "1" } } });
//--><!]]>

The next thing is to post the id of the main div. It should have a class of viewsSlideshowSingleFrame-processed. It should match our value as I stated above in this case views_slideshow_singleframe_main_slideshow-page_1. If it doesn't then that is our problem and we need to figure out why that is occurring.

So please post the values within the script tag and the div id in your html.

Thank you,

Adam

supersteph’s picture

StatusFileSize
new194.33 KB

here is the script info:

<!--//--><![CDATA[//><!--
jQuery.extend(Drupal.settings, { "basePath": "/", "CTools": { "pageId": "page-32549bff730f02a2644822da0d0e383e" }, "admin_menu": { "margin_top": 1 }, "viewsSlideshowSingleFrame": { "#views_slideshow_singleframe_main_1": { "num_divs": 5, "hoverFunction": null, "id_prefix": "#views_slideshow_singleframe_main_", "div_prefix": "#views_slideshow_singleframe_div_", "id": 1, "timeout": "5000", "sort": 1, "effect": "fade", "speed": "700", "cleartype": "t", "cleartypenobg": "f", "delay": "0", "random": "0", "pause": "1", "controls": "0", "pager": "2", "pager_type": "1", "pager_hover": "1", "image_count": "0", "sync": "1", "advanced": "", "ie": { "cleartype": "true", "cleartypenobg": "false" } }, "#views_slideshow_singleframe_main_2": { "num_divs": 5, "hoverFunction": null, "id_prefix": "#views_slideshow_singleframe_main_", "div_prefix": "#views_slideshow_singleframe_div_", "id": 2, "timeout": "5000", "sort": 1, "effect": "fade", "speed": "700", "cleartype": "t", "cleartypenobg": "f", "delay": "500", "random": "0", "pause": "1", "controls": "0", "pager": "2", "pager_type": "1", "pager_hover": "1", "image_count": "0", "sync": "1", "advanced": "", "ie": { "cleartype": "true", "cleartypenobg": "false" } } }, "views": { "ajax_path": "/views/ajax", "ajaxViews": [ { "view_name": "Feature_Rotator", "view_display_id": "panel_pane_1", "view_args": "", "view_path": "home", "view_base_path": null, "view_dom_id": 2, "pager_element": 0 } ] } });
//--><!]]>

My homepage actually has 2 singleframe slideshows (which both worked simultaneously before).

Here is the first, and more simple one (i added the class "taglinerotator" in views):

<div class="view view-tagline-rotator view-id-tagline_rotator view-display-id-default taglinerotator view-dom-id-4">
      <div class="views-admin-links views-hide">
      <ul class="links"><li class="0 first"><a href="/admin/build/views/edit/tagline_rotator?destination=home#views-tab-default">Edit</a></li>
<li class="1"><a href="/admin/build/views/export/tagline_rotator">Export</a></li>
<li class="2 last"><a href="/admin/build/views/clone/tagline_rotator">Clone</a></li>
</ul>    </div>

And here is the image rotator with thumbnails:

  <div class="view-content">

      

<div id="views_slideshow_singleframe_main_3" class="views_slideshow_singleframe_main">
  <div id="views_slideshow_singleframe_teaser_section_3" class="views_slideshow_singleframe_teaser_section">
  <div id="views_slideshow_singleframe_div_3_0" class="views_slideshow_singleframe_slide views-row-odd">
  <div class="taglines">Engineers help shape the future</div>
  </div><!--close views_slideshow_singleframe_div_3_0-->

  <div id="views_slideshow_singleframe_div_3_1" class="views_slideshow_singleframe_slide views_slideshow_singleframe_hidden views-row-even">
  <div class="taglines">Engineers are creative problem-solvers</div>

  </div><!--close views_slideshow_singleframe_div_3_1-->

  <div id="views_slideshow_singleframe_div_3_2" class="views_slideshow_singleframe_slide views_slideshow_singleframe_hidden views-row-odd">
  <div class="taglines">Engineers make a world of difference</div>
  </div><!--close views_slideshow_singleframe_div_3_2-->

  <div id="views_slideshow_singleframe_div_3_3" class="views_slideshow_singleframe_slide views_slideshow_singleframe_hidden views-row-even">
  <div class="taglines">Engineering is essential to our health, happiness, and safety</div>
  </div><!--close views_slideshow_singleframe_div_3_3-->

  <div id="views_slideshow_singleframe_div_3_4" class="views_slideshow_singleframe_slide views_slideshow_singleframe_hidden views-row-odd">
  <div class="taglines">Because dreams need doing</div>
  </div><!--close views_slideshow_singleframe_div_3_4-->

  <div id="views_slideshow_singleframe_div_3_5" class="views_slideshow_singleframe_slide views_slideshow_singleframe_hidden views-row-even">
  <div class="taglines">Turning ideas into reality</div>
  </div><!--close views_slideshow_singleframe_div_3_5-->

  <div id="views_slideshow_singleframe_div_3_6" class="views_slideshow_singleframe_slide views_slideshow_singleframe_hidden views-row-odd">
  <div class="taglines">Designed to work wonders</div>
  </div><!--close views_slideshow_singleframe_div_3_6-->

  <div id="views_slideshow_singleframe_div_3_7" class="views_slideshow_singleframe_slide views_slideshow_singleframe_hidden views-row-even">
  <div class="taglines">Life takes engineering</div>
  </div><!--close views_slideshow_singleframe_div_3_7-->

  <div id="views_slideshow_singleframe_div_3_8" class="views_slideshow_singleframe_slide views_slideshow_singleframe_hidden views-row-odd">

  <div class="taglines">The power to do</div>
  </div><!--close views_slideshow_singleframe_div_3_8-->

  <div id="views_slideshow_singleframe_div_3_9" class="views_slideshow_singleframe_slide views_slideshow_singleframe_hidden views-row-even">
  <div class="taglines">Bolder by design</div>
  </div><!--close views_slideshow_singleframe_div_3_9-->

  <div id="views_slideshow_singleframe_div_3_10" class="views_slideshow_singleframe_slide views_slideshow_singleframe_hidden views-row-odd">
  <div class="taglines">Behind the next big thing</div>

  </div><!--close views_slideshow_singleframe_div_3_10-->

</div><!--close views_slideshow_singleframe_no_display-->

</div><!--close views_slideshow_singleframe_main_3-->

    </div>

Just for the extra special fun of it, I also attached a screen shot of the view settings. Thought maybe that would be useful.

redndahead’s picture

Hmm that is not 2.1 output. That seems to be 2.0 output. Do you need to clear the cache? This Id
views_slideshow_singleframe_main_3

Should be something like

views_slideshow_singleframe_main_page_1

or

views_slideshow_singleframe_main_block_2

or something like that.

Looking at your image I believe there are settings missing that 2.1 has also. Maybe things didn't get overwritten correctly on the upgrade. Try deleting the views_slideshow folder and then uploading the new one.

supersteph’s picture

StatusFileSize
new31.56 KB

gah! that was totally my bad, sorry. it's just that my site doesn't function with 2.1 (the disabling of the expand/collapse links on admin pages renders many things useless, particularly panels) so those were 2.0-beta2.

Let's try again, shall we?

<!--//--><![CDATA[//><!--
jQuery.extend(Drupal.settings, { "basePath": "/", "CTools": { "pageId": "page-3a7012d1813bdb56eebcc2ecf64c7f1e" }, "admin_menu": { "margin_top": 1 }, "viewsSlideshowSingleFrame": { "#views_slideshow_singleframe_main_nodequeue_1-panel_pane_1": { "num_divs": 5, "id_prefix": "#views_slideshow_singleframe_main_", "div_prefix": "#views_slideshow_singleframe_div_", "vss_id": "nodequeue_1-panel_pane_1", "timeout": "5000", "sort": 1, "effect": "fade", "speed": "700", "start_paused": 0, "delay": "0", "fixed_height": "1", "random": "0", "pause": "1", "pause_on_click": "0", "remember_slide": 0, "remember_slide_days": "1", "controls": "0", "pager": "2", "pager_type": "Numbered", "page_hover": 2, "pager_click_to_page": 0, "image_count": "0", "nowrap": "0", "sync": "1", "advanced": "", "ie": { "cleartype": "true", "cleartypenobg": "false" }, "pager_hover": "1" }, "#views_slideshow_singleframe_main_nodequeue_1-block": { "num_divs": 5, "id_prefix": "#views_slideshow_singleframe_main_", "div_prefix": "#views_slideshow_singleframe_div_", "vss_id": "nodequeue_1-block", "timeout": "5000", "sort": 1, "effect": "fade", "speed": "700", "start_paused": null, "delay": "500", "fixed_height": 1, "random": "0", "pause": "1", "pause_on_click": 0, "remember_slide": 0, "remember_slide_days": 1, "controls": "0", "pager": "2", "pager_type": "1", "page_hover": 2, "pager_click_to_page": 0, "image_count": "0", "nowrap": 0, "sync": "1", "advanced": "", "ie": { "cleartype": "true", "cleartypenobg": "false" }, "pager_hover": "1" } } });
//--><!]]>

here's the one without thumbnails or images:

        <span id="taglineRotator">

					<div class="view view-tagline-rotator view-id-tagline_rotator view-display-id-default taglinerotator view-dom-id-4">
      <div class="views-admin-links views-hide">
      <ul class="links"><li class="0 first"><a href="/admin/build/views/edit/tagline_rotator?destination=home#views-tab-default">Edit</a></li>
<li class="1"><a href="/admin/build/views/export/tagline_rotator">Export</a></li>
<li class="2 last"><a href="/admin/build/views/clone/tagline_rotator">Clone</a></li>
</ul>    </div>
    
  
  
      <div class="view-content">
      


<div id="views_slideshow_singleframe_main_tagline_rotator-default" class="views_slideshow_singleframe_main views_slideshow_main"><div id="views_slideshow_singleframe_teaser_section_tagline_rotator-default" class="views_slideshow_singleframe_teaser_section"><div class="views_slideshow_singleframe_slide views_slideshow_slide views-row-1 views-row-odd" id="views_slideshow_singleframe_div_tagline_rotator-default_0"><div class="taglines">Engineers help shape the future</div></div>

<div class="views_slideshow_singleframe_slide views_slideshow_slide views-row-2 views_slideshow_singleframe_hidden views-row-even" id="views_slideshow_singleframe_div_tagline_rotator-default_1"><div class="taglines">Engineers are creative problem-solvers</div></div>
<div class="views_slideshow_singleframe_slide views_slideshow_slide views-row-3 views_slideshow_singleframe_hidden views-row-odd" id="views_slideshow_singleframe_div_tagline_rotator-default_2"><div class="taglines">Engineers make a world of difference</div></div>
<div class="views_slideshow_singleframe_slide views_slideshow_slide views-row-4 views_slideshow_singleframe_hidden views-row-even" id="views_slideshow_singleframe_div_tagline_rotator-default_3"><div class="taglines">Engineering is essential to our health, happiness, and safety</div></div>
<div class="views_slideshow_singleframe_slide views_slideshow_slide views-row-5 views_slideshow_singleframe_hidden views-row-odd" id="views_slideshow_singleframe_div_tagline_rotator-default_4"><div class="taglines">Because dreams need doing</div></div>
<div class="views_slideshow_singleframe_slide views_slideshow_slide views-row-6 views_slideshow_singleframe_hidden views-row-even" id="views_slideshow_singleframe_div_tagline_rotator-default_5"><div class="taglines">Turning ideas into reality</div></div>
<div class="views_slideshow_singleframe_slide views_slideshow_slide views-row-7 views_slideshow_singleframe_hidden views-row-odd" id="views_slideshow_singleframe_div_tagline_rotator-default_6"><div class="taglines">Designed to work wonders</div></div>
<div class="views_slideshow_singleframe_slide views_slideshow_slide views-row-8 views_slideshow_singleframe_hidden views-row-even" id="views_slideshow_singleframe_div_tagline_rotator-default_7"><div class="taglines">Life takes engineering</div></div>
<div class="views_slideshow_singleframe_slide views_slideshow_slide views-row-9 views_slideshow_singleframe_hidden views-row-odd" id="views_slideshow_singleframe_div_tagline_rotator-default_8"><div class="taglines">The power to do</div></div>
<div class="views_slideshow_singleframe_slide views_slideshow_slide views-row-10 views_slideshow_singleframe_hidden views-row-even" id="views_slideshow_singleframe_div_tagline_rotator-default_9"><div class="taglines">Bolder by design</div></div>

<div class="views_slideshow_singleframe_slide views_slideshow_slide views-row-11 views_slideshow_singleframe_hidden views-row-odd" id="views_slideshow_singleframe_div_tagline_rotator-default_10"><div class="taglines">Behind the next big thing</div></div>
</div>
</div>
    </div>
 
</div>     	</span>

And the image/thumbnail one:

<div id="views_slideshow_singleframe_main_nodequeue_1-panel_pane_1" class="views_slideshow_singleframe_main views_slideshow_main"><div id="views_slideshow_singleframe_teaser_section_nodequeue_1-panel_pane_1" class="views_slideshow_singleframe_teaser_section"><div class="views_slideshow_singleframe_slide views_slideshow_slide views-row-1 views-row-odd" id="views_slideshow_singleframe_div_nodequeue_1-panel_pane_1_0">  
  <div class="views-field-field-feature-image-fid">

                <span class="field-content"><a href="/content/engineering-better-georgia-unclogging-transportation-arteries" class="imagecache imagecache-feature-image_780x245 imagecache-linked imagecache-feature-image_780x245_linked"><img src="http://coe-cms1.coe.gatech.edu/sites/default/files/imagecache/feature-image_780x245/news/feature/FEATURE_betterGA_1_0.jpg" alt="Engineering a Better Georgia: Unclogging Transportation Arteries" title=""  class="imagecache imagecache-feature-image_780x245" width="780" height="245" /></a></span>
  </div>
</div>
<div class="views_slideshow_singleframe_slide views_slideshow_slide views-row-2 views_slideshow_singleframe_hidden views-row-even" id="views_slideshow_singleframe_div_nodequeue_1-panel_pane_1_1">  
  <div class="views-field-field-feature-image-fid">
                <span class="field-content"><a href="/content/number-one-engineering-graduate-school-hispanics" class="imagecache imagecache-feature-image_780x245 imagecache-linked imagecache-feature-image_780x245_linked"><img src="http://coe-cms1.coe.gatech.edu/sites/default/files/imagecache/feature-image_780x245/news/feature/hispanic.jpg" alt="Number one engineering graduate school for hispanics" title=""  class="imagecache imagecache-feature-image_780x245" width="780" height="245" /></a></span>
  </div>
</div>
<div class="views_slideshow_singleframe_slide views_slideshow_slide views-row-3 views_slideshow_singleframe_hidden views-row-odd" id="views_slideshow_singleframe_div_nodequeue_1-panel_pane_1_2">  
  <div class="views-field-field-feature-image-fid">
                <span class="field-content"><a href="/content/where-world-coe" class="imagecache imagecache-feature-image_780x245 imagecache-linked imagecache-feature-image_780x245_linked"><img src="http://coe-cms1.coe.gatech.edu/sites/default/files/imagecache/feature-image_780x245/news/feature/whereworld.jpg" alt="Where in the World is COE? Georgia Tech&#039;s Engineering Programs Span the Globe" title=""  class="imagecache imagecache-feature-image_780x245" width="780" height="245" /></a></span>
  </div>

</div>
<div class="views_slideshow_singleframe_slide views_slideshow_slide views-row-4 views_slideshow_singleframe_hidden views-row-even" id="views_slideshow_singleframe_div_nodequeue_1-panel_pane_1_3">  
  <div class="views-field-field-feature-image-fid">
                <span class="field-content"><a href="/content/reaching-out-expand-engineering-education" class="imagecache imagecache-feature-image_780x245 imagecache-linked imagecache-feature-image_780x245_linked"><img src="http://coe-cms1.coe.gatech.edu/sites/default/files/imagecache/feature-image_780x245/news/feature/FEATURE_retp_0.jpg" alt="Reaching Out to Expand Engineering Education" title=""  class="imagecache imagecache-feature-image_780x245" width="780" height="245" /></a></span>
  </div>
</div>
<div class="views_slideshow_singleframe_slide views_slideshow_slide views-row-5 views_slideshow_singleframe_hidden views-row-odd" id="views_slideshow_singleframe_div_nodequeue_1-panel_pane_1_4">  
  <div class="views-field-field-feature-image-fid">
                <span class="field-content"><a href="/content/engineering-better-georgia-%E2%80%93-new-routes-healthier-georgia" class="imagecache imagecache-feature-image_780x245 imagecache-linked imagecache-feature-image_780x245_linked"><img src="http://coe-cms1.coe.gatech.edu/sites/default/files/imagecache/feature-image_780x245/news/feature/FEATURE_betterGA_2.jpg" alt="Engineering a Better Georgia – New Routes to a Healthier Georgia" title=""  class="imagecache imagecache-feature-image_780x245" width="780" height="245" /></a></span>
  </div>
</div>
</div>
</div>

  <div class="views-slideshow-controls-bottom clear-block">
        <div class="views_slideshow_singleframe_pager views_slideshow_pagerNumbered" id="views_slideshow_singleframe_pager_nodequeue_1-panel_pane_1"></div>      </div>
    </div>

</div>   </div>

I also attached another ss of the views interface. Not so much so you could see my settings this time, rather how the page displays when under the influence of 2.1.

Thx again for the help, Adam.

supersteph’s picture

Just giving this a friendly bump...

Any ideas on my issue, redndahead? (fingers crossed!)

redndahead’s picture

Your first one doesn't have any of it's settings listed. Are you adding it differently? In the settings section there should be a

views_slideshow_singleframe_main_tagline_rotator-default

Somewhere and it's not there.

You have

views_slideshow_singleframe_main_nodequeue_1-block

But you are not showing me any code that has this. Does this exist? Anyway you could have renamed the ID?

supersteph’s picture

that page is created via panels. is there an incompatibility between VS and Panels? Interestingly, another panel page on my site (one that uses tabs) also broke when i upgraded VS. Not all panel pages broke, though.

redndahead’s picture

Sorry for the delay. There is no incompatibility with this module and panels. I can't quite put my finger on where your issue is. I'll try to keep on thinking of debugging items I can ask you.

intyms’s picture

Status: Active » Postponed (maintainer needs more info)

@ #5 soajetunmobi - May 25, 2010 - 09:06

I had the same problem as well. Although the images are showing but seems to have lost the pager...

See these issues:
#815084: Upgrade to 2.1 breaks pager
#825450: How to use images as pagination?
#811044: Pager in slideshow creates problems with content below slideshow

@ #0 supersteph

when upgrading views slideshow to v2.1 along with the security updates to panels-3.4 and ctools-1.4, slideshow blows up

Panels 3.4 has many bugs. I also remember that i had a lot of problems during upgrade of panels and ctools.
I think that both Panels and Views depend of Ctools. So, if you are doing an upgrade, please upgrade all these modules together and ! look to the issue queue of these modules.
Here is my configuration wich works well:
Drupal 6.17
Views 6.x-2.10
Views Slideshow 6.x-2.x-dev (2010-Iun-09)
Panels 6.x-3.5
Chaos tool suite 6.x-1.6

After upgrade, run update.php.
Clear caches (drupal cache and browser cache), also if you have access to your database tables, emtpy the "ctools_object_cache" table (TRUNCATE `ctools_object_cache`;).
Go to your slideshow views and check all settings to be ok. Rebuild it if needed.
Hope it helps.

redndahead’s picture

Status: Postponed (maintainer needs more info) » Fixed

Marking as fixed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.