2013-05-07 215 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