I've been tearing my hair out over this for several days, checking and rechecking everything.

In short, slideshow views no longer work for anonymous users. I don't know how long this has been the case, but originally when created, they showed for all users, logged in or not. I got a report that they were no longer visible unless you were logged in, and checked. Sure enough. Gone.

I have checked every single permission under roles.
I have checked the permissions for the view in question (Access in the view editor).
I have tried setting no permissions for the view (set Access in the view editor),
I have tried choosing all roles in the view access editor
I have deleted and completely rebuilt the view.
The content being referenced is all published, public and does not require authentication - i have tested anonymous access to each and every item referenced. They all work.
I've cleared every cache
I've disabled caching
I've rebuilt permissions

In short, I've tried every single suggestion I could find, and nothing works except...

I HAVE managed to get the view title and navigation to appear for anonymous users by setting 'Disable SQL Rewriting' under the view advanced settings area, but that's it.

It simply will not display the slideshow for anonymous users.

As near as I can tell, this only started AFTER a core upgrade between 7.15 and 7.16 if that sheds any light on it.

So, I'm stumped, and the slideshow is a major part of my frontpage. If anyone can think of anything I haven't tried, lay it on me. I'm completely stuck.

Near as I can tell, the trouble started after

I am completely stumped.

Comments

amplogik’s picture

Oops. Please forgive those last two lines. something about posting from my blackberry tablet keeps posting stuff in my cut and paste buffer.

amplogik’s picture

Status: Active » Fixed

Solved.

The issue was caused by the installation of the workflow module. Something is very wrong with that module when it comes to images. I've not been able to determine what, but it appears that images for new articles will not appear to anonymous users when workflow is installed.

Disabling and uninstalling the workflow module fixes the problem. I can work without workflow for now, but I really think that this should be opened as a bug there.

Status: Fixed » Closed (fixed)

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

stephen Piscura’s picture

Title: Views Slideshow Stops working for Anonymous Users. » View set to "Slideshow" format does not display for anonymous users
Category: support » bug
Status: Closed (fixed) » Active

I've checked and rechecked everything several times over. As amplogik specified in the original post, this is not a permissions issue. I am not, however, using the Workflow module.

I have built and rebuilt the view several times. I've cleared every cache on each occasion. I've tried several different names for the view. Here's what happens:

The view WILL display as an unformatted list for all users with permission to view published content (Views' default permission setting). I've verified this by viewing both block and page displays. As soon as i set the format to a "Slideshow" and save, however, the entire view ceases to print for anonymous users. There's no markup whatsoever. Again, the only change being made is a change of format. All other formats allow for the view to display. The "Slideshow" format somehow kills it. Here's an export of the view:

$view = new view();
$view->name = 'featured';
$view->description = '';
$view->tag = 'default';
$view->base_table = 'node';
$view->human_name = 'Featured';
$view->core = 7;
$view->api_version = '3.0';
$view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */

/* Display: Master */
$handler = $view->new_display('default', 'Master', 'default');
$handler->display->display_options['use_more_always'] = FALSE;
$handler->display->display_options['access']['type'] = 'perm';
$handler->display->display_options['cache']['type'] = 'none';
$handler->display->display_options['query']['type'] = 'views_query';
$handler->display->display_options['exposed_form']['type'] = 'basic';
$handler->display->display_options['pager']['type'] = 'none';
$handler->display->display_options['pager']['options']['offset'] = '0';
$handler->display->display_options['style_plugin'] = 'slideshow';
$handler->display->display_options['style_options']['default_row_class'] = FALSE;
$handler->display->display_options['style_options']['row_class_special'] = FALSE;
$handler->display->display_options['style_options']['wrapper_class'] = '';
$handler->display->display_options['style_options']['slideshow_type'] = 'views_slideshow_cycle';
$handler->display->display_options['style_options']['slideshow_skin'] = 'default';
$handler->display->display_options['style_options']['skin_info'] = array(
  'class' => 'default',
  'name' => 'Default',
  'module' => 'views_slideshow',
  'path' => '',
  'stylesheets' => array(),
);
$handler->display->display_options['style_options']['widgets']['top']['views_slideshow_pager']['weight'] = '1';
$handler->display->display_options['style_options']['widgets']['top']['views_slideshow_pager']['type'] = 'views_slideshow_pager_fields';
$handler->display->display_options['style_options']['widgets']['top']['views_slideshow_pager']['views_slideshow_pager_fields_fields'] = array(
  'field_featured' => 0,
);
$handler->display->display_options['style_options']['widgets']['top']['views_slideshow_controls']['weight'] = '1';
$handler->display->display_options['style_options']['widgets']['top']['views_slideshow_controls']['type'] = 'views_slideshow_controls_text';
$handler->display->display_options['style_options']['widgets']['top']['views_slideshow_slide_counter']['weight'] = '1';
$handler->display->display_options['style_options']['widgets']['bottom']['views_slideshow_pager']['weight'] = '1';
$handler->display->display_options['style_options']['widgets']['bottom']['views_slideshow_pager']['type'] = 'views_slideshow_pager_fields';
$handler->display->display_options['style_options']['widgets']['bottom']['views_slideshow_pager']['views_slideshow_pager_fields_fields'] = array(
  'field_featured' => 0,
);
$handler->display->display_options['style_options']['widgets']['bottom']['views_slideshow_controls']['weight'] = '1';
$handler->display->display_options['style_options']['widgets']['bottom']['views_slideshow_controls']['type'] = 'views_slideshow_controls_text';
$handler->display->display_options['style_options']['widgets']['bottom']['views_slideshow_slide_counter']['weight'] = '1';
$handler->display->display_options['style_options']['views_slideshow_cycle']['timeout'] = '5000';
$handler->display->display_options['style_options']['views_slideshow_cycle']['speed'] = '700';
$handler->display->display_options['style_options']['views_slideshow_cycle']['delay'] = '0';
$handler->display->display_options['style_options']['views_slideshow_cycle']['pause'] = 0;
$handler->display->display_options['style_options']['views_slideshow_cycle']['start_paused'] = 0;
$handler->display->display_options['style_options']['views_slideshow_cycle']['remember_slide_days'] = '1';
$handler->display->display_options['style_options']['views_slideshow_cycle']['items_per_slide'] = '1';
$handler->display->display_options['style_options']['views_slideshow_cycle']['wait_for_image_load_timeout'] = '3000';
$handler->display->display_options['style_options']['views_slideshow_cycle']['cleartype'] = 0;
$handler->display->display_options['style_options']['views_slideshow_cycle']['cleartypenobg'] = 0;
$handler->display->display_options['row_plugin'] = 'fields';
$handler->display->display_options['row_options']['hide_empty'] = TRUE;
$handler->display->display_options['row_options']['default_field_elements'] = FALSE;
/* Field: Content: Image to feature */
$handler->display->display_options['fields']['field_featured']['id'] = 'field_featured';
$handler->display->display_options['fields']['field_featured']['table'] = 'field_data_field_featured';
$handler->display->display_options['fields']['field_featured']['field'] = 'field_featured';
$handler->display->display_options['fields']['field_featured']['label'] = '';
$handler->display->display_options['fields']['field_featured']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['field_featured']['element_default_classes'] = FALSE;
$handler->display->display_options['fields']['field_featured']['hide_empty'] = TRUE;
$handler->display->display_options['fields']['field_featured']['click_sort_column'] = 'fid';
$handler->display->display_options['fields']['field_featured']['settings'] = array(
  'image_style' => 'five_twenty_eight_by_one_eighty',
  'image_link' => '',
);
/* Filter criterion: Content: Published */
$handler->display->display_options['filters']['status']['id'] = 'status';
$handler->display->display_options['filters']['status']['table'] = 'node';
$handler->display->display_options['filters']['status']['field'] = 'status';
$handler->display->display_options['filters']['status']['value'] = 1;
$handler->display->display_options['filters']['status']['group'] = 1;
$handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
/* Filter criterion: Content: Type */
$handler->display->display_options['filters']['type']['id'] = 'type';
$handler->display->display_options['filters']['type']['table'] = 'node';
$handler->display->display_options['filters']['type']['field'] = 'type';
$handler->display->display_options['filters']['type']['value'] = array(
  'featured' => 'featured',
);

/* Display: Block */
$handler = $view->new_display('block', 'Block', 'block_1');
$handler->display->display_options['defaults']['hide_admin_links'] = FALSE;
$handler->display->display_options['block_description'] = 'Content to feature';
jaylotta’s picture

You need to disable SQL query rewriting for the view display in the Advanced section under Query Settings. I have similar problems with views in the past, not showing for anonymous, and that always has fixed it, including slideshows.

rwilson0429’s picture

Thanks jaylotta. Disabling SQL query rewriting under the Query settings under the Advanced section of the view fixed it for me. I would have never thought to try that.

While disabling sql query rewriting gets the views slideshow working again for anonymous users, it doesn't seem like a good permanent solution. Disabling SQL rewriting will disable node_access checks as well as other modules that implement hook_query_alter().

NickDickinsonWilde’s picture

Status: Active » Closed (outdated)

If anyone experiences this with the latest version, please re-open.

wheretoplaygames’s picture

Please delete this. Wrong version