Dotclear

Ticket #1511 (closed defect: worksforme)

Opened 12 years ago

Last modified 8 years ago

Install failed silently if tables already exists

Reported by: nikrou Owned by: team
Priority: normal Milestone:
Component: module:core Version: 2.5
Severity: normal Keywords:
Cc:

Description

Automatic installation failed silently (without error message) if tables already exists.

It can hapen when user begun with a classic install that failed.

Change History

comment:1 Changed 12 years ago by JcDenis

  • Owner changed from team to nikrou

comment:2 Changed 12 years ago by franck

  • Milestone changed from A definir to 2.7

comment:3 Changed 11 years ago by franck

  • Milestone changed from 2.7 to 2.7.2

comment:4 Changed 11 years ago by franck

  • Milestone changed from 2.7.2 to 2.9

comment:5 Changed 10 years ago by franck

  • Milestone changed from 2.9 to 2.10

comment:6 Changed 9 years ago by franck

  • Owner changed from nikrou to team

comment:7 Changed 9 years ago by franck

Bizarre ça, parce qu'on check (install/index.php et install/wizard.php) si les tables existent déjà et il y a un message dans ce cas :

# Check if dotclear is already installed
$schema = dbSchema::init($con);
if (in_array($DBPREFIX.'version',$schema->getTables())) {
	throw new Exception(__('Dotclear is already installed.'));
}

comment:8 Changed 9 years ago by franck

  • Milestone changed from 2.10 to 2.11

comment:9 Changed 9 years ago by JcDenis

J'ai testé plusieurs fois en local et distant, je n'arrive pas à le reproduire, il me dit effectivement que Dotclear est déjà installé. (Ce qui par contre n'est pas forcement le meilleur message ici, il faudrait plutôt écrire Les tables existent déjà, mais passons.) Pour info, on check deux fois l’existence des tables, une fois dans wiazrd.php sur la table version et une fois dans index.php sur la table post... Le problème ne doit pas venir de la base de données.

comment:10 Changed 9 years ago by franck

  • Milestone changed from 2.11 to 2.12

comment:11 Changed 9 years ago by franck

  • Milestone changed from 2.12 to A definir

Bon, un bug étrange, difficile à reproduire, on va garder ça sous le coude, mais pas pour la 2.12

comment:12 Changed 8 years ago by franck

  • Status changed from new to closed
  • Resolution set to worksforme
  • Milestone A definir deleted
Note: See TracTickets for help on using tickets.

Sites map