2013-08-03 115 views
0

我爲Drupal 6安裝了Views模塊,並嘗試使用Page顯示創建視圖,但無法保存或預覽它。我只能看到這些警告:無法創建視圖

strict warning: Declaration of views_plugin_style_default::options() should be compatible with views_object::options() in C:\My\Site\Path\test6\sites\all\modules\views\plugins\views_plugin_style_default.inc on line 13. 
strict warning: Declaration of views_plugin_row::options_validate() should be compatible with views_plugin::options_validate(&$form, &$form_state) in C:\My\Site\Path\test6\sites\all\modules\views\plugins\views_plugin_row.inc on line 24. 
strict warning: Declaration of views_plugin_row::options_submit() should be compatible with views_plugin::options_submit(&$form, &$form_state) in C:\My\Site\Path\test6\sites\all\modules\views\plugins\views_plugin_row.inc on line 24. 
strict warning: Declaration of views_handler_filter::options_validate() should be compatible with views_handler::options_validate($form, &$form_state) in C:\My\Site\Path\test6\sites\all\modules\views\handlers\views_handler_filter.inc on line 26. 
strict warning: Declaration of views_handler_filter::options_submit() should be compatible with views_handler::options_submit($form, &$form_state) in C:\My\Site\Path\test6\sites\all\modules\views\handlers\views_handler_filter.inc on line 26. 
strict warning: Declaration of views_handler_filter_term_node_tid::value_validate() should be compatible with views_handler_filter::value_validate($form, &$form_state) in C:\My\Site\Path\test6\sites\all\modules\views\modules\taxonomy\views_handler_filter_term_node_tid.inc on line 6. 

回答

0

當您的drupal網站頁面加載時,您可以檢查您的瀏覽器是否存在Jquery。特別是您的觀看頁面。您的Drupal網站使用的是什麼版本的Jquery。我之前已經面對過這個問題,並且首先確保了jquery的正確兼容版本的可用性。

如果您試圖通過Jquery_update模塊更新您的Jquery版本,可能會發生這種情況。你能否檢查一下並作出相應的回覆。我相信這是非常可以解決的。

+0

我在html頁頭標籤中發現了這個:''並且有jquery 1.2.6 –