Does anyone know what could cause this error in my admin, orders.php? I have followed the install directions several times (which is very difficult since all the line numbers are incorrect since I have another module already installed there for USPS autofill) and I can not seem to figure this one out:
Parse error: syntax error, unexpected T_STRING in /hsphere/local/home/heteromo/heteromorphic.com/zencart/conf/orders.php on line 82
Here is the code around there:
if (isset($_GET['oID'])) {
$oID = zen_db_prepare_input(trim($_GET['oID']));
$orders = $db->Execute("select orders_id from " . TABLE_ORDERS . "
where orders_id = '" . (int)$oID . "'");
$order_exists = true;
if ($orders->RecordCount() <= 0) {
$order_exists = false;
if ($action != '') $messageStack->add_session(ERROR_ORDER_DOES_NOT_EXIST . ' ' . $oID, 'error'); zen_redirect(zen_href_link(FILENAME_ORDERS, zen_get_all_get_params(array('oID', 'action')), 'NONSSL'));
}
}
if (zen_not_null($action) && $order_exists == true)
Thanks in advanced!
Kristen
http://www.heteromorphic.com


Reply With Quote
