01-24-2014, 09:03 PM
There was a commit done last night under the commit message "Tim: selection of purchase orders by order date". Apart from the fact that there is a lot of stuff in there that is unrelated to this commit message there is an error in the sql file upgrade4.11.2-4.11.3.sql. Line 4 should read
ALTER TABLE `emailsettings` CHANGE `username` `username` VARCHAR( 50 ) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL;
as all sql statements should end with a semi colon.
Thanks
Tim
Another error in this commit (again a script that has nothing to do with the commit message - perhaps all these files with errors were accidentally committed??) is in the script SelectOrderItems.php. The assignment statement
$QuantityAlreadyDelivered = $_SESSION['Items'.$identifier]->Some_Already_Delivered($_GET['Delete']);
has been removed, but that variable is then used in line 1089 and so will throw an error.
Thanks
Tim
ALTER TABLE `emailsettings` CHANGE `username` `username` VARCHAR( 50 ) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL;
as all sql statements should end with a semi colon.
Thanks
Tim
Another error in this commit (again a script that has nothing to do with the commit message - perhaps all these files with errors were accidentally committed??) is in the script SelectOrderItems.php. The assignment statement
$QuantityAlreadyDelivered = $_SESSION['Items'.$identifier]->Some_Already_Delivered($_GET['Delete']);
has been removed, but that variable is then used in line 1089 and so will throw an error.
Thanks
Tim