Skip to main content

Attention avant de faire un update.php

  • strict warning: Non-static method view::load() should not be called statically in /data/web/d5/80/92/ergolibre.tuxfamily.org/htdocs/sites/default/modules/views/views.module on line 903.
  • strict warning: Declaration of views_handler_argument::options_validate() should be compatible with views_handler::options_validate($form, &$form_state) in /data/web/d5/80/92/ergolibre.tuxfamily.org/htdocs/sites/default/modules/views/handlers/views_handler_argument.inc on line 0.
  • strict warning: Declaration of views_handler_argument::query() should be compatible with views_handler::query($group_by = false) in /data/web/d5/80/92/ergolibre.tuxfamily.org/htdocs/sites/default/modules/views/handlers/views_handler_argument.inc on line 0.
  • strict warning: Declaration of views_handler_sort::options_validate() should be compatible with views_handler::options_validate($form, &$form_state) in /data/web/d5/80/92/ergolibre.tuxfamily.org/htdocs/sites/default/modules/views/handlers/views_handler_sort.inc on line 0.
  • strict warning: Declaration of views_handler_sort::options_submit() should be compatible with views_handler::options_submit($form, &$form_state) in /data/web/d5/80/92/ergolibre.tuxfamily.org/htdocs/sites/default/modules/views/handlers/views_handler_sort.inc on line 0.
  • strict warning: Declaration of views_handler_sort::query() should be compatible with views_handler::query($group_by = false) in /data/web/d5/80/92/ergolibre.tuxfamily.org/htdocs/sites/default/modules/views/handlers/views_handler_sort.inc on line 0.
  • strict warning: Declaration of views_handler_filter::options_validate() should be compatible with views_handler::options_validate($form, &$form_state) in /data/web/d5/80/92/ergolibre.tuxfamily.org/htdocs/sites/default/modules/views/handlers/views_handler_filter.inc on line 0.
  • strict warning: Declaration of views_handler_filter::query() should be compatible with views_handler::query($group_by = false) in /data/web/d5/80/92/ergolibre.tuxfamily.org/htdocs/sites/default/modules/views/handlers/views_handler_filter.inc on line 0.
  • strict warning: Declaration of views_plugin_query::init() should be compatible with views_plugin::init(&$view, &$display) in /data/web/d5/80/92/ergolibre.tuxfamily.org/htdocs/sites/default/modules/views/plugins/views_plugin_query.inc on line 0.
  • strict warning: Non-static method view::load() should not be called statically in /data/web/d5/80/92/ergolibre.tuxfamily.org/htdocs/sites/default/modules/views/views.module on line 903.
  • strict warning: Declaration of views_handler_field::query() should be compatible with views_handler::query($group_by = false) in /data/web/d5/80/92/ergolibre.tuxfamily.org/htdocs/sites/default/modules/views/handlers/views_handler_field.inc on line 0.
Portrait de lody

Lorsqu'on fait une update.php, c'est-à-dire qu'on vient d'ajouter ou supprimé un module

il faut

ajouter une ligne de code à la ligne 618 du fichier update.php situé à la racine de notre Drupal

// Access check:
$update_free_access = TRUE; //ligne à ajouter



Ne pas oublier de le remettre en commentaires "//" après opération

Je pense que ça ne devrait pas poser problème à Florent car il a créé le premier utilisateur Drupal donc son compte est considéré comme supahSTRONG
Mais pour les autres il faut passer par là sinon il n'autorise pas l'update.

Powered by Drupal, an open source content management system