the views format cannot be changed to jquery carousel. I have no problem changing to other format(grid,table,etc)
drupal 7.37 fresh install, views 7.x-3.11+11-dev, ctools 7.x-1.7+18-dev, status report all green

Comments

jithinantony’s picture

Assigned: Unassigned » jithinantony

Have you installed modules jquery_carousel and libraries?

If you are getting any error, could you please attach the same here.

rei’s picture

yes, I have installed the modules, and the libraries
there is no error on the status report as well.
and there are no error message on the views.
there is option 'jquery carousel' on the views format, but when I selected and apply, the format can't be changed.
please try with fresh drupal install (drupal 7.37, views 7.x-3.11+11-dev, ctools 7.x-1.7+18-dev)

jithinantony’s picture

I installed the same Drupal version and same module versions. But I'm able to change to any format.

Could you please explain "the format can't be changed"? What is the exact issue that you face which will help me in solving this.

rei’s picture

what I mean is:
1. in views, the initial format is 'Unformatted list'
2. click 'Unformatted list' link
3. Select 'Jquery Carousel' Option
4. click Apply button
5. the Format Still 'Unformatted List'

I try other Format like Grid, Html list, jump menu, Table, and all working.

jithinantony’s picture

Assigned: jithinantony » Unassigned

Sorry, unable to reproduce.

jurgenhaas’s picture

I have the same issue! Drupal 7.38, everything installed, no error message anywhere. It just doesn't switch to the format "jQuery Carousel".

Then I did a test in creating a new view and selecting jquery_carousel as the format there. That displays a server 500 error and the error.log shows the following stack trace. However, when changing in an existing view, it just fails silently without any error message anywhere.

[Tue Jul 07 14:35:32.568192 2015] [:error] [pid 10454] [client 127.0.0.1:60305] PHP Fatal error:  Call to a member function uses_fields() on null in /var/www/w/azz/sites/all/modules/views/plugins/views_wizard/views_ui_base_views_wizard.class.php on line 319, referer: http://azz.w.localhost/admin/structure/views/add
[Tue Jul 07 14:35:32.568230 2015] [:error] [pid 10454] [client 127.0.0.1:60305] PHP Stack trace:, referer: http://azz.w.localhost/admin/structure/views/add
[Tue Jul 07 14:35:32.568249 2015] [:error] [pid 10454] [client 127.0.0.1:60305] PHP   1. {main}() /var/www/w/azz/index.php:0, referer: http://azz.w.localhost/admin/structure/views/add
[Tue Jul 07 14:35:32.568260 2015] [:error] [pid 10454] [client 127.0.0.1:60305] PHP   2. menu_execute_active_handler($path = *uninitialized*, $deliver = *uninitialized*) /var/www/w/azz/index.php:21, referer: http://azz.w.localhost/admin/structure/views/add
[Tue Jul 07 14:35:32.568349 2015] [:error] [pid 10454] [client 127.0.0.1:60305] PHP   3. call_user_func_array:{/var/www/w/azz/includes/menu.inc:519}(*uninitialized*, *uninitialized*) /var/www/w/azz/includes/menu.inc:519, referer: http://azz.w.localhost/admin/structure/views/add
[Tue Jul 07 14:35:32.568361 2015] [:error] [pid 10454] [client 127.0.0.1:60305] PHP   4. ajax_form_callback() /var/www/w/azz/includes/menu.inc:519, referer: http://azz.w.localhost/admin/structure/views/add
[Tue Jul 07 14:35:32.568409 2015] [:error] [pid 10454] [client 127.0.0.1:60305] PHP   5. drupal_process_form($form_id = *uninitialized*, $form = *uninitialized*, $form_state = *uninitialized*) /var/www/w/azz/includes/ajax.inc:382, referer: http://azz.w.localhost/admin/structure/views/add
[Tue Jul 07 14:35:32.568423 2015] [:error] [pid 10454] [client 127.0.0.1:60305] PHP   6. drupal_rebuild_form($form_id = *uninitialized*, $form_state = *uninitialized*, $old_form = *uninitialized*) /var/www/w/azz/includes/form.inc:973, referer: http://azz.w.localhost/admin/structure/views/add
[Tue Jul 07 14:35:32.568473 2015] [:error] [pid 10454] [client 127.0.0.1:60305] PHP   7. drupal_retrieve_form($form_id = *uninitialized*, $form_state = *uninitialized*) /var/www/w/azz/includes/form.inc:464, referer: http://azz.w.localhost/admin/structure/views/add
[Tue Jul 07 14:35:32.568484 2015] [:error] [pid 10454] [client 127.0.0.1:60305] PHP   8. call_user_func_array:{/var/www/w/azz/includes/form.inc:841}(*uninitialized*, *uninitialized*) /var/www/w/azz/includes/form.inc:841, referer: http://azz.w.localhost/admin/structure/views/add
[Tue Jul 07 14:35:32.568535 2015] [:error] [pid 10454] [client 127.0.0.1:60305] PHP   9. views_ui_add_form($form = *uninitialized*, $form_state = *uninitialized*) /var/www/w/azz/includes/form.inc:841, referer: http://azz.w.localhost/admin/structure/views/add
[Tue Jul 07 14:35:32.568548 2015] [:error] [pid 10454] [client 127.0.0.1:60305] PHP  10. ViewsUiBaseViewsWizard->build_form($form = *uninitialized*, $form_state = *uninitialized*) /var/www/w/azz/sites/all/modules/views/includes/admin.inc:375, referer: http://azz.w.localhost/admin/structure/views/add
[Tue Jul 07 14:35:32.568597 2015] [:error] [pid 10454] [client 127.0.0.1:60305] PHP  11. ViewsUiNodeViewsWizard->build_form_style($form = *uninitialized*, $form_state = *uninitialized*, $type = *uninitialized*) /var/www/w/azz/sites/all/modules/views/plugins/views_wizard/views_ui_base_views_wizard.class.php:142, referer: http://azz.w.localhost/admin/structure/views/add
[Tue Jul 07 14:35:32.568610 2015] [:error] [pid 10454] [client 127.0.0.1:60305] PHP  12. ViewsUiBaseViewsWizard->build_form_style($form = *uninitialized*, $form_state = *uninitialized*, $type = *uninitialized*) /var/www/w/azz/sites/all/modules/views/plugins/views_wizard/views_ui_node_views_wizard.class.php:24, referer: http://azz.w.localhost/admin/structure/views/add
jurgenhaas’s picture

Found the reason for the error. The plugin is in a file called views/plugins/jqueryCarouselPluginStyleCarousel.inc but the module's info file is loading views/plugins/JqueryCarouselPluginStyleCarousel.inc with an upercase "J" at the beginning of the file name. This is failing on most OSes but not on all.

knalstaaf’s picture

Status: Active » Needs review
StatusFileSize
new652 bytes
ajalan065’s picture

Status: Needs review » Closed (fixed)
StatusFileSize
new375 bytes
nithinkolekar’s picture

fixed! why not committed?