Message d'erreur

  • Deprecated function: Return type of DatabaseStatementBase::execute($args = [], $options = []) should either be compatible with PDOStatement::execute(?array $params = null): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in require_once() (line 2244 of /home/laurentp/www/includes/database/database.inc).
  • Deprecated function: Return type of DatabaseStatementEmpty::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in require_once() (line 2346 of /home/laurentp/www/includes/database/database.inc).
  • Deprecated function: Return type of DatabaseStatementEmpty::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in require_once() (line 2346 of /home/laurentp/www/includes/database/database.inc).
  • Deprecated function: Return type of DatabaseStatementEmpty::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in require_once() (line 2346 of /home/laurentp/www/includes/database/database.inc).
  • Deprecated function: Return type of DatabaseStatementEmpty::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in require_once() (line 2346 of /home/laurentp/www/includes/database/database.inc).
  • Deprecated function: Return type of DatabaseStatementEmpty::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in require_once() (line 2346 of /home/laurentp/www/includes/database/database.inc).
  • Deprecated function: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in drupal_random_bytes() (line 2268 of /home/laurentp/www/includes/bootstrap.inc).
  • Deprecated function: Optional parameter $type declared before required parameter $key is implicitly treated as a required parameter in include_once() (line 1389 of /home/laurentp/www/includes/bootstrap.inc).
  • Deprecated function: Return type of DateObject::__wakeup() should either be compatible with DateTime::__wakeup(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in include_once() (line 143 of /home/laurentp/www/sites/all/modules/date/date_api/date_api.module).
  • Deprecated function: Return type of DateObject::format($format, $force = false) should either be compatible with DateTime::format(string $format): string, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in include_once() (line 143 of /home/laurentp/www/sites/all/modules/date/date_api/date_api.module).
  • Deprecated function: Return type of DateObject::setTimezone($tz, $force = false) should either be compatible with DateTime::setTimezone(DateTimeZone $timezone): DateTime, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in include_once() (line 143 of /home/laurentp/www/sites/all/modules/date/date_api/date_api.module).
  • Deprecated function: Optional parameter $input declared before required parameter $form_state is implicitly treated as a required parameter in include_once() (line 1389 of /home/laurentp/www/includes/bootstrap.inc).
  • Deprecated function : Creation of dynamic property SelectQuery::$alterTags is deprecated dans SelectQuery->addTag() (ligne 978 dans /home/laurentp/www/includes/database/select.inc).
  • Deprecated function : Creation of dynamic property DatabaseCondition::$stringVersion is deprecated dans DatabaseCondition->compile() (ligne 1865 dans /home/laurentp/www/includes/database/query.inc).
  • Deprecated function : Creation of dynamic property DatabaseCondition::$stringVersion is deprecated dans DatabaseCondition->compile() (ligne 1865 dans /home/laurentp/www/includes/database/query.inc).
  • Deprecated function : Creation of dynamic property DatabaseCondition::$stringVersion is deprecated dans DatabaseCondition->compile() (ligne 1865 dans /home/laurentp/www/includes/database/query.inc).
  • Deprecated function : Creation of dynamic property DatabaseCondition::$stringVersion is deprecated dans DatabaseCondition->compile() (ligne 1865 dans /home/laurentp/www/includes/database/query.inc).
  • Deprecated function : rtrim(): Passing null to parameter #1 ($string) of type string is deprecated dans url() (ligne 2349 dans /home/laurentp/www/includes/common.inc).
  • Deprecated function : Creation of dynamic property SelectQuery::$alterTags is deprecated dans SelectQuery->addTag() (ligne 978 dans /home/laurentp/www/includes/database/select.inc).
  • Deprecated function : Creation of dynamic property DatabaseCondition::$stringVersion is deprecated dans DatabaseCondition->compile() (ligne 1865 dans /home/laurentp/www/includes/database/query.inc).
  • Deprecated function : Creation of dynamic property DatabaseCondition::$stringVersion is deprecated dans DatabaseCondition->compile() (ligne 1865 dans /home/laurentp/www/includes/database/query.inc).
  • Deprecated function : Creation of dynamic property DatabaseCondition::$stringVersion is deprecated dans DatabaseCondition->compile() (ligne 1865 dans /home/laurentp/www/includes/database/query.inc).
  • Deprecated function : Creation of dynamic property DatabaseCondition::$stringVersion is deprecated dans DatabaseCondition->compile() (ligne 1865 dans /home/laurentp/www/includes/database/query.inc).
  • Deprecated function : Creation of dynamic property PDOException::$query_string is deprecated dans DatabaseConnection->query() (ligne 770 dans /home/laurentp/www/includes/database/database.inc).
  • Deprecated function : Creation of dynamic property PDOException::$args is deprecated dans DatabaseConnection->query() (ligne 772 dans /home/laurentp/www/includes/database/database.inc).
  • Deprecated function : Creation of dynamic property DatabaseCondition::$stringVersion is deprecated dans DatabaseCondition->compile() (ligne 1865 dans /home/laurentp/www/includes/database/query.inc).
  • Deprecated function : Creation of dynamic property DatabaseCondition::$stringVersion is deprecated dans DatabaseCondition->compile() (ligne 1865 dans /home/laurentp/www/includes/database/query.inc).
  • Deprecated function : Creation of dynamic property DatabaseCondition::$stringVersion is deprecated dans DatabaseCondition->compile() (ligne 1865 dans /home/laurentp/www/includes/database/query.inc).
  • Deprecated function : Creation of dynamic property DatabaseCondition::$stringVersion is deprecated dans DatabaseCondition->compile() (ligne 1865 dans /home/laurentp/www/includes/database/query.inc).
  • Deprecated function : strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated dans url_is_external() (ligne 2393 dans /home/laurentp/www/includes/common.inc).
  • Deprecated function : str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated dans url_is_external() (ligne 2395 dans /home/laurentp/www/includes/common.inc).
  • Deprecated function : ltrim(): Passing null to parameter #1 ($string) of type string is deprecated dans url() (ligne 2311 dans /home/laurentp/www/includes/common.inc).
  • Deprecated function : Creation of dynamic property SelectQuery::$alterTags is deprecated dans SelectQuery->addTag() (ligne 978 dans /home/laurentp/www/includes/database/select.inc).
  • Deprecated function : Creation of dynamic property DatabaseCondition::$stringVersion is deprecated dans DatabaseCondition->compile() (ligne 1865 dans /home/laurentp/www/includes/database/query.inc).
  • Deprecated function : Creation of dynamic property DatabaseCondition::$stringVersion is deprecated dans DatabaseCondition->compile() (ligne 1865 dans /home/laurentp/www/includes/database/query.inc).
  • Deprecated function : Creation of dynamic property SelectQuery::$alterTags is deprecated dans SelectQuery->addTag() (ligne 978 dans /home/laurentp/www/includes/database/select.inc).
  • Deprecated function : Creation of dynamic property DatabaseCondition::$stringVersion is deprecated dans DatabaseCondition->compile() (ligne 1865 dans /home/laurentp/www/includes/database/query.inc).
  • Deprecated function : Creation of dynamic property DatabaseCondition::$stringVersion is deprecated dans DatabaseCondition->compile() (ligne 1865 dans /home/laurentp/www/includes/database/query.inc).
  • Deprecated function : Creation of dynamic property SelectQuery::$alterTags is deprecated dans SelectQuery->addTag() (ligne 978 dans /home/laurentp/www/includes/database/select.inc).
  • Deprecated function : Creation of dynamic property DatabaseCondition::$stringVersion is deprecated dans DatabaseCondition->compile() (ligne 1865 dans /home/laurentp/www/includes/database/query.inc).
  • Deprecated function : Creation of dynamic property DatabaseCondition::$stringVersion is deprecated dans DatabaseCondition->compile() (ligne 1865 dans /home/laurentp/www/includes/database/query.inc).
  • Deprecated function : Creation of dynamic property DatabaseCondition::$stringVersion is deprecated dans DatabaseCondition->compile() (ligne 1865 dans /home/laurentp/www/includes/database/query.inc).
  • Deprecated function : Creation of dynamic property DatabaseCondition::$stringVersion is deprecated dans DatabaseCondition->compile() (ligne 1865 dans /home/laurentp/www/includes/database/query.inc).
  • Deprecated function : Creation of dynamic property SelectQuery::$alterTags is deprecated dans SelectQuery->addTag() (ligne 978 dans /home/laurentp/www/includes/database/select.inc).
  • Deprecated function : Creation of dynamic property DatabaseCondition::$stringVersion is deprecated dans DatabaseCondition->compile() (ligne 1865 dans /home/laurentp/www/includes/database/query.inc).
  • Deprecated function : Creation of dynamic property DatabaseCondition::$stringVersion is deprecated dans DatabaseCondition->compile() (ligne 1865 dans /home/laurentp/www/includes/database/query.inc).
  • Deprecated function : Creation of dynamic property DatabaseCondition::$stringVersion is deprecated dans DatabaseCondition->compile() (ligne 1865 dans /home/laurentp/www/includes/database/query.inc).
  • Deprecated function : Creation of dynamic property DatabaseCondition::$stringVersion is deprecated dans DatabaseCondition->compile() (ligne 1865 dans /home/laurentp/www/includes/database/query.inc).
  • Deprecated function : Creation of dynamic property SelectQuery::$alterTags is deprecated dans SelectQuery->addTag() (ligne 978 dans /home/laurentp/www/includes/database/select.inc).
  • Deprecated function : Creation of dynamic property DatabaseCondition::$stringVersion is deprecated dans DatabaseCondition->compile() (ligne 1865 dans /home/laurentp/www/includes/database/query.inc).
  • Deprecated function : Creation of dynamic property DatabaseCondition::$stringVersion is deprecated dans DatabaseCondition->compile() (ligne 1865 dans /home/laurentp/www/includes/database/query.inc).
  • Deprecated function : Creation of dynamic property DatabaseCondition::$stringVersion is deprecated dans DatabaseCondition->compile() (ligne 1865 dans /home/laurentp/www/includes/database/query.inc).
  • Deprecated function : Creation of dynamic property DatabaseCondition::$stringVersion is deprecated dans DatabaseCondition->compile() (ligne 1865 dans /home/laurentp/www/includes/database/query.inc).
  • Deprecated function : Creation of dynamic property SelectQuery::$alterTags is deprecated dans SelectQuery->addTag() (ligne 978 dans /home/laurentp/www/includes/database/select.inc).
  • Deprecated function : Creation of dynamic property DatabaseCondition::$stringVersion is deprecated dans DatabaseCondition->compile() (ligne 1865 dans /home/laurentp/www/includes/database/query.inc).
  • Deprecated function : Creation of dynamic property DatabaseCondition::$stringVersion is deprecated dans DatabaseCondition->compile() (ligne 1865 dans /home/laurentp/www/includes/database/query.inc).
  • Deprecated function : Creation of dynamic property DatabaseCondition::$stringVersion is deprecated dans DatabaseCondition->compile() (ligne 1865 dans /home/laurentp/www/includes/database/query.inc).
  • Deprecated function : Creation of dynamic property DatabaseCondition::$stringVersion is deprecated dans DatabaseCondition->compile() (ligne 1865 dans /home/laurentp/www/includes/database/query.inc).
  • Deprecated function : Creation of dynamic property SelectQuery::$alterTags is deprecated dans SelectQuery->addTag() (ligne 978 dans /home/laurentp/www/includes/database/select.inc).
  • Deprecated function : Creation of dynamic property DatabaseCondition::$stringVersion is deprecated dans DatabaseCondition->compile() (ligne 1865 dans /home/laurentp/www/includes/database/query.inc).
  • Deprecated function : Creation of dynamic property DatabaseCondition::$stringVersion is deprecated dans DatabaseCondition->compile() (ligne 1865 dans /home/laurentp/www/includes/database/query.inc).

Importer une base de données chez OVH mutualisé 16 Mio

Sur les hébergements mutualisés OVH l'importation de base de données via PHPmyadmin est limité à une taille de base de 16Mio, au delà de cette taille on peut utiliser la commande SSH quand elle est disponible,
pour les offres Plan ou pro par exemple. Uploadez votre fichier de sauvegarde de base de données typiquement avec un nom xyz.sql dans le répertoire racine de votre hébergement an amont du www, chez OVH. Puis vous vous connectez en ssh sur votre espace en tapant dans Putty par exemple l'adresse FTP de votre nom de domaine, puis vous vous dirigez dans le répertoire où vous avez placé le fichier à importer et vous tapez cette commande :

cat nom_de_la_base_sauvegardée.sql | mysql --host=serveur_sql --database=nom_de_la_base --user=nom_de_la_base --password=mot_de_passe nom_de_la_base

Remarque: par défaut chez OVH le nom de la base de données et votre login (user) sont identiques

Attention ceci peut être lent, plusieurs heures pour une base de 200Mo.

Uncaught exception thrown in session handler.

PDOException: SQLSTATE[42000]: Syntax error or access violation: 1142 INSERT command denied to user 'laurentpabcm'@'10.2.20.102' for table 'drupclonesessions': INSERT INTO {sessions} (sid, ssid, uid, cache, hostname, session, timestamp) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4, :db_insert_placeholder_5, :db_insert_placeholder_6); Array ( [:db_insert_placeholder_0] => FgRBGkrQObTJGX710jLigS_Yqhrmls2fZMzb2fzg7Zw [:db_insert_placeholder_1] => FgRBGkrQObTJGX710jLigS_Yqhrmls2fZMzb2fzg7Zw [:db_insert_placeholder_2] => 0 [:db_insert_placeholder_3] => 0 [:db_insert_placeholder_4] => 3.139.103.49 [:db_insert_placeholder_5] => messages|a:1:{s:5:"error";a:6:{i:0;s:300:"<em class="placeholder">Deprecated function</em> : Creation of dynamic property SelectQuery::$alterTags is deprecated dans <em class="placeholder">SelectQuery->addTag()</em> (ligne <em class="placeholder">978</em> dans <em class="placeholder">/home/laurentp/www/includes/database/select.inc</em>).";i:1;s:317:"<em class="placeholder">Deprecated function</em> : Creation of dynamic property DatabaseCondition::$stringVersion is deprecated dans <em class="placeholder">DatabaseCondition->compile()</em> (ligne <em class="placeholder">1865</em> dans <em class="placeholder">/home/laurentp/www/includes/database/query.inc</em>).";i:2;s:317:"<em class="placeholder">Deprecated function</em> : Creation of dynamic property DatabaseCondition::$stringVersion is deprecated dans <em class="placeholder">DatabaseCondition->compile()</em> (ligne <em class="placeholder">1865</em> dans <em class="placeholder">/home/laurentp/www/includes/database/query.inc</em>).";i:3;s:300:"<em class="placeholder">Deprecated function</em> : Creation of dynamic property SelectQuery::$alterTags is deprecated dans <em class="placeholder">SelectQuery->addTag()</em> (ligne <em class="placeholder">978</em> dans <em class="placeholder">/home/laurentp/www/includes/database/select.inc</em>).";i:4;s:317:"<em class="placeholder">Deprecated function</em> : Creation of dynamic property DatabaseCondition::$stringVersion is deprecated dans <em class="placeholder">DatabaseCondition->compile()</em> (ligne <em class="placeholder">1865</em> dans <em class="placeholder">/home/laurentp/www/includes/database/query.inc</em>).";i:5;s:317:"<em class="placeholder">Deprecated function</em> : Creation of dynamic property DatabaseCondition::$stringVersion is deprecated dans <em class="placeholder">DatabaseCondition->compile()</em> (ligne <em class="placeholder">1865</em> dans <em class="placeholder">/home/laurentp/www/includes/database/query.inc</em>).";}} [:db_insert_placeholder_6] => 1722048660 ) in _drupal_session_write() (line 209 of /home/laurentp/www/includes/session.inc).