2013-05-07 259 views
1

我對drupal很新,當時我正在安裝模塊,我面臨這些錯誤。任何人都可以建議如何處理這個問題?安裝模塊時出現錯誤drupal6.2

strict warning: Non-static method view::load() should not be called statically in  C:\xampp\htdocs\drupal\sites\all\modules\views\views.module on line 879. 
strict warning: Declaration of views_handler_filter::options_validate() should be compatible with views_handler::options_validate($form, &$form_state) in  C:\xampp\htdocs\drupal\sites\all\modules\views\handlers\views_handler_filter.inc on line 589. 
strict warning: Declaration of views_handler_filter::options_submit() should be compatible with views_handler::options_submit($form, &$form_state) in C:\xampp\htdocs\drupal\sites\all\modules\views\handlers\views_handler_filter.inc on line 589. 
strict warning: Declaration of views_handler_filter_boolean_operator::value_validate() should be compatible with views_handler_filter::value_validate($form, &$form_state) in C:\xampp\htdocs\drupal\sites\all\modules\views\handlers\views_handler_filter_boolean_operator.inc on line 149. 
strict warning: Declaration of views_plugin_row::options_validate() should be compatible with views_plugin::options_validate(&$form, &$form_state) in C:\xampp\htdocs\drupal\sites\all\modules\views\plugins\views_plugin_row.inc on line 135. 
strict warning: Declaration of views_plugin_row::options_submit() should be compatible with views_plugin::options_submit(&$form, &$form_state) in C:\xampp\htdocs\drupal\sites\all\modules\views\plugins\views_plugin_row.inc on line 135. 
strict warning: Non-static method view::load() should not be called statically in C:\xampp\htdocs\drupal\sites\all\modules\views\views.module on line 879. 
+0

您正在使用哪個drupal版本?考慮最新的穩定版本7.22。並且請列出導致問題的模塊名稱? – akshayb 2013-05-07 10:44:02

+0

我正在使用Drupal 6.2.the網站,我試圖運行最好的6.2.Can你告訴我上述警告是全部。 – user2352102 2013-05-07 10:47:00

+1

在PHP中,你不能禁用嚴格的警告。看到一個解決方案在這裏:http://groups.drupal.org/node/217529#comment-826138。接下來在發佈之前先做一些研究。 – akshayb 2013-05-07 10:51:13

回答

1

你的問題是你正試圖在PHP 5.4上運行Drupal 6.2。對於Drupal 6,推薦的PHP版本是5.2。以上任何情況都不能保證不會出現錯誤,但它可能會在您的網站上設置的模塊的基礎上在5.3中無誤地運行。

請參閱https://drupal.org/requirements