bugganesha - Bugs: bug #10459, l'installation manuelle de la 2.1...

 
 

bug #10459: l'installation manuelle de la 2.1 installe la BDD de la 2.0

Submitted by:  Pierre Gosset <pyg>
Submitted on:  Tue 21 Sep 2004 09:11:11 AM UTC  
 
Category: InstallationSeverity: 3 - Normal
Item Group: NoneRelease: 2.1.0.2
Status: FixedPrivacy: Public
Assigned to: Pierre Gosset <pyg>Percent Complete: 0%
Originator Name: pygOpen/Closed: Closed
URL: http://www.anemalab.org/phorum/read.php?f=2&i=9350&t=9350

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Thu 11 Nov 2004 09:07:59 AM UTC, comment #3:

fixée dans la 2.1.0.4

Pierre Gosset <pyg>
Project AdministratorIn charge of this item.
Tue 21 Sep 2004 09:21:28 AM UTC, comment #2:

hum, boulette : dans le message précédent, le code de départ est le code d'arrivé et inversement.

Bref, utilisez le fichier à télécharger, pas la modif manuelle...

Pierre Gosset <pyg>
Project AdministratorIn charge of this item.
Tue 21 Sep 2004 09:15:31 AM UTC, comment #1:

Patch temporaire :

  • Telechargez le patch attaché ci dessous

OU

  • faites la modif suivante :

- editez /install/manual.php
- ligne 20, remplacez :
switch($vers) {
case 12 :
case 13 :
case 14 : ConnectBdd();
InsertFile("./mysql/update".$vers.".sql") ;
Update();
break ;
case 20 : ConnectBdd();
DeletePhorum() ;
InsertFile("./mysql/ganesha20.sql") ;
break ;
case 21 : ConnectBdd();
DeletePhorum() ;
InsertFile("./mysql/ganesha21.sql") ;
break ;
}
Header("Location: ./step4.php?type=manual") ;
exit();
}

par
switch($vers) {
case 12 :
case 13 :
case 14 : ConnectBdd();
InsertFile("./mysql/update".$vers.".sql") ;
Update();
break ;
case 20 : ConnectBdd();
DeletePhorum() ;
InsertFile("./mysql/ganesha20.sql") ;
break ;
}
Header("Location: ./step4.php?type=manual") ;
exit();
}

Pierre Gosset <pyg>
Project AdministratorIn charge of this item.
Tue 21 Sep 2004 09:11:11 AM UTC, original submission:

Lors de l'installation manuelle de la 2.1, un script SQL est executé, mais c'est en fait la creation de la BDD de la version de 2.0 qui est faite, générant un message de type :

Database error: Invalid SQL: SELECT * FROM gasp ORDER BY name;
MySQL Error: 1146 (Table 'gasp' doesn't exist)
Ganesha halted.

Pierre Gosset <pyg>
Project AdministratorIn charge of this item.

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #1788:  manual.php added by pyg (13KiB - application/octet-stream - fichier manual.php patch pour la 2.1.0.2)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 5 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Thu 11 Nov 2004 09:07:59 AM UTCpygStatusNone=>Fixed
  Open/ClosedOpen=>Closed
Tue 21 Sep 2004 09:22:04 AM UTCpygAttached File-=>Added manual.php, #1693
Tue 21 Sep 2004 09:21:39 AM UTCpygAttached File#1692=>Removed
Tue 21 Sep 2004 09:15:31 AM UTCpygAttached File-=>Added manual.php, #1692

Back to the top


Powered by Savane 3.1-cleanup1