Results 1 to 3 of 3
  1. #1
    Join Date
    Jul 2012
    Posts
    60
    Plugin Contributions
    0

    Default GOB Package Trackers syntax error - help?

    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

  2. #2
    Join Date
    Jul 2012
    Posts
    60
    Plugin Contributions
    0

    Default Re: GOB Package Trackers syntax error - help?

    Figured it out.

  3. #3
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: GOB Package Trackers syntax error - help?

    It is proper etiquette to post what you found as your answer to your issue

    For the community searching for like issues
    Zen-Venom Get Bitten

 

 

Similar Threads

  1. GOB Package Tracker
    By sensualpalace in forum Addon Shipping Modules
    Replies: 0
    Last Post: 29 Sep 2012, 10:22 PM
  2. GOB Package Tracker 1136 Error
    By BrooklynArtist in forum Addon Shipping Modules
    Replies: 1
    Last Post: 3 Feb 2012, 07:21 PM
  3. GOB Package Trackers module - Support Thread
    By gob33 in forum Addon Shipping Modules
    Replies: 39
    Last Post: 15 Dec 2010, 02:39 PM
  4. GOB Package Tracker
    By jorsara in forum Addon Templates
    Replies: 0
    Last Post: 26 Feb 2010, 05:48 PM
  5. PLEASE HELP, I did something DUMB -- Parse error: syntax error, unexpected ')'
    By mfsuchta in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 29 Aug 2008, 02:16 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg