X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=installer%2Fdata%2Fmysql%2Fupdate22to30.pl;h=d38f080bcccc389b30e41419ac992b0536c2c538;hb=13faff1250ed3ede712c405821f3ad9187e892b6;hp=23d7a757083c7d128e78ba7c8a5101df2a80d2d8;hpb=b7b92a4c812570894286bbd2094ff0377c35221f;p=koha.git diff --git a/installer/data/mysql/update22to30.pl b/installer/data/mysql/update22to30.pl index 23d7a75708..d38f080bcc 100755 --- a/installer/data/mysql/update22to30.pl +++ b/installer/data/mysql/update22to30.pl @@ -12,7 +12,6 @@ # NOTE: If you do something more than once in here, make it table driven. use strict; -#use warnings; FIXME - Bug 2505 # CPAN modules use DBI; @@ -3443,7 +3442,7 @@ my $DBversion = "3.00.00.000"; $dbh->do($sql); if ($dbh->err) { print "==================== - An error occured during : + An error occurred during : \t$sql It probably means there is something wrong in your DB : a row ($table.$row->{key}) refers to a value in $row->{foreigntable}.$row->{foreignkey} that does not exist. solve the problem and run updater again (or just the previous SQL statement). You can find those values with select