Topic: Php Error
I received this error after trying to move item from one location to another using the portable from my blackberry.
Using TracMor 0.3.0
Error in PHP Script
/stock/portable/inventory_move.php PHP Version: 5.3.3-7+squeeze3; Zend Engine Version: 2.3.0; Qcodo Version: 0.3.32 (Qcodo Beta 3)
Application: Apache/2.2.16 (Debian); Server Name: spacecoastpal.dyndns.biz
HTTP User Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/5.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; BRI/2; .NET CLR 1.1.4322; InfoPath.2)
Function split() is deprecated
Error Type: Unknown
Rendered Page: Click here to view contents able to be rendered
Source File: /var/www/stock/portable/inventory_move.php Line: 29
Line 24: $blnError = false;
Line 25: $arrCheckedInventoryCodeLocationQuantity = array();
Line 26:
Line 27: foreach ($arrInventoryCodeLocationQuantity as $strInventoryCodeLocationQuantity) {
Line 28: $blnErrorCurrentInventory = false;
Line 29: list($strInventoryModelCode, $strSourceLocation, $intQuantity) = split('[|]',$strInventoryCodeLocationQuantity,3);
Line 30: if ($strInventoryModelCode && $strSourceLocation && $intQuantity) {
Line 31: $intNewInventoryLocationId = 0;
Line 32: // Begin error checking
Line 33: // Load the inventory model object based on the inventory_model_code submitted
Line 34: $objInventoryModel = InventoryModel::LoadByInventoryModelCode($strInventoryModelCode);
Call Stack:
#0 (): QcodoHandleError()
#1 /var/www/stock/portable/inventory_move.php(29): split()
Last edited by pkeeney (2011-07-09 13:05:53)