Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Error in commit
01-24-2014, 09:03 PM, (This post was last modified: 01-24-2014, 09:21 PM by Forums.)
#1
Error in commit
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
Reply


Messages In This Thread
Error in commit - by Forums - 01-24-2014, 09:03 PM
RE: Error in commit - by phil - 01-25-2014, 06:30 AM
RE: Error in commit - by Forums - 01-25-2014, 07:37 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)