Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2007
    Posts
    61
    Plugin Contributions
    0

    Default Help! My orders wont update!

    Upon trying to update an order to processing, delivered or update and apply comments, I receive the following error:

    Fatal error: Cannot use object of type queryFactoryResult as array in /home/gourmets/public_html/admin/edit_orders.php on line 185

    The edit order page also will not update at the bottom in the table to show the new update or the comments.

    In the edit_orders.php file, lines 185-189 say this:

    $email = STORE_NAME . "\n" . EMAIL_SEPARATOR . "\n" . EMAIL_TEXT_ORDER_NUMBER . ' ' . $oID . "\n" . EMAIL_TEXT_INVOICE_URL . ' ' . zen_catalog_href_link(FILENAME_CATALOG_ACCOUNT_HISTORY_INFO, 'order_id=' . $oID, 'SSL') . "\n" . EMAIL_TEXT_DATE_ORDERED . ' ' . zen_date_long($check_status['date_purchased']) . "\n\n" . $notify_comments . sprintf(EMAIL_TEXT_STATUS_UPDATE, $orders_status_array[$status]);
    zen_mail($check_status['customers_name'], $check_status['customers_email_address'], EMAIL_TEXT_SUBJECT, $email, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS);
    $customer_notified = '1';
    }

    I do have the edit orders mod installed so I dont know if that is affecting things or not, but unfortunately I screwed up when I installed it and accidentally overwrote the core file instead of the override, so I cant just easily uninstall it.

    Can anyone help me with this problem? It's affecting customers being notified of their order updates or being able to login and get their order status! Thanks!

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

    Default Re: Help! My orders wont update!

    I do have the edit orders mod installed so I dont know if that is affecting things or not, but unfortunately I screwed up when I installed it and accidentally overwrote the core file instead of the override, so I cant just easily uninstall it.
    Replace the original file from a distribution of the same version as you are using after moving yours to an overide dir

    You can then check if this is the issue by switching to the classic template

    If so compare the mod file to the core file for version(date inside the file) and maybe merge if an update is necessary.

    If not check the mod support thread if there is one
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Feb 2008
    Posts
    29
    Plugin Contributions
    0

    Default Re: Help! My orders wont update!

    I get the exact same error, and have not found a solution in any threads, any other ideas for troubleshooting this issue (zen 1.7, edit orders mod, PHP5, mysql 5)?

 

 

Similar Threads

  1. linkpoint wont update configurations
    By maxilious in forum General Questions
    Replies: 0
    Last Post: 22 Jan 2011, 06:35 PM
  2. Products wont update! please help!!
    By nonni in forum General Questions
    Replies: 2
    Last Post: 19 Aug 2008, 05:01 PM
  3. MY orders wont stop PENDING!!! HELP!!!
    By martixfo in forum Built-in Shipping and Payment Modules
    Replies: 5
    Last Post: 4 Jun 2008, 12:48 PM
  4. Update Cart wont update
    By Ulysses in forum General Questions
    Replies: 2
    Last Post: 5 Sep 2007, 11:36 PM

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