Closed (fixed)
Project:
Copyright
Version:
5.x-1.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Jun 2007 at 08:38 UTC
Updated:
27 Jun 2007 at 15:52 UTC
I just checked out the 5.x-1.1 version and ran update.php to perform the 5 update. The update goes all fine, no errors are returned.
But, somehow, the copyright_user table which is supposed to be created in this update, has not been made. I'm still investigating what causes this problem.
Can anyone reproduce this?
Comments
Comment #1
toemaz commentedI forgot to mention my configuration: I'm using PHP 5.2.0 and MySQL 5.0.38
I will now try to reproduce the problem on a MySQL 4.1
Comment #2
toemaz commentedThe same problem with mysql 4.1.10, but I think I might have found the problem: $_GLOBALS['db_type'] is empty in the copyright_update_5 function, so there is no switch.
This might be a Drupal problem, or it just might be that $_GLOBALS['db_type'] can not be called from update functions.
Comment #3
Robrecht Jacques commentedThe problem is that I needed to use
$GLOBALSinstead of$_GLOBALS. Idiotic typo, sorry about that.Please try 5.x-1.2.
Note that you need to run the update.php again.
If you upgrade from 5.x-1.0 update script #5 will now correctly create the table.
If you upgrade from 5.x-1.1 (and already run update script #5), update script #6 will create the table if it wasn't created before.
Comment #4
ksoonson commentedhey... what a coincidence...
I just installed 1.1 and had the same problem (table not created) and as soon as I go to update status page(a module which automatically checks new contrib module release), I found that 1.2 is released. :-)
Comment #5
toemaz commentedJust the way it should be: fast reviewing, fast fix, fast redeployment. Well done.
Comment #6
(not verified) commented