Page 1 of 2 12 LastLast
Results 1 to 10 of 16
  1. #1
    Join Date
    Aug 2006
    Location
    portlandish, oregon
    Posts
    799
    Plugin Contributions
    0

    Default Errors on Orders pages after installing mods. How do I fix?

    I'm getting an error when trying to view order invoices

    Fatal error: Call to undefined function zen_address_format() in ..../store/admin/invoice.php on line 113

    and line 113 says
    <td class="main"><?php echo zen_address_format($order->customer['format_id'], $order->billing, 1, '', '<br>'); ?></td>
    (I was getting the same error for the Order Details page and Edit Order page, but upgraded my Edit Orders Mod, and now that error is gone)

    I don't know what to do. I've tried replacing the invoice.php, but I still get the error. I upgraded to Zencart 1.3.8 a few weeks ago and installed Google Checkout recently. Not sure if either of those would cause the error....

  2. #2
    Join Date
    Sep 2007
    Location
    Dublin, Ireland
    Posts
    1,288
    Plugin Contributions
    8

    Default Re: Errors on Orders pages...

    Check to see if the following file exists:

    ...admin/includes/functions/functions_customers.php

    zen_address_format should be on line 34
    Andrew

    Andrew Moore
    Omnicia Agile Development
    www.omnicia.com

  3. #3
    Join Date
    Aug 2006
    Location
    portlandish, oregon
    Posts
    799
    Plugin Contributions
    0

    Default Re: Errors on Orders pages...

    Hmmm...the file does exist and lines 34-39 are

    // TABLES: address_format
    function zen_address_format($address_format_id, $address, $html, $boln, $eoln) {
    global $db;
    $address_format_query = "select address_format as format
    from " . TABLE_ADDRESS_FORMAT . "
    where address_format_id = '" . (int)$address_format_id . "'";

  4. #4
    Join Date
    Aug 2006
    Location
    portlandish, oregon
    Posts
    799
    Plugin Contributions
    0

    Default Re: Errors on Orders pages...

    Even if I delete the functions_customer, I still get the error. I've tried replacing the invoice.php with the original v1.3.8 AND v1.3.7 and all it does is change what line number ther error is on. v1.3.8 the line number is 104 and v1.3.7 the line number is 91.

    I really need to figure this out because I'm getting a ton of ordrers via Google and can't get an invoice for the customer....

  5. #5
    Join Date
    Aug 2006
    Location
    portlandish, oregon
    Posts
    799
    Plugin Contributions
    0

    Default Re: Errors on Orders pages...

    I don't wanna start a new thread, but I'm noticing alot of things not working in my admin....

    The customer and orders area in particular...When I go to look at new customers under ID# it says "TEXT_INFO_ADDRESS_BOOK_COUNT1" and over on the right panel where it has options for the customer (edit, orders, delete...) it says " TEXT_INFO_GV_AMOUNT $0.00" on one line.

    Obviously something somewhere needs to be fixed? Also, the only mod I have installed since the upgrade to v1.3.8 has been GoogleCheckout...

    I'm pretty lost as to how to fix this...

  6. #6
    Join Date
    Aug 2006
    Location
    portlandish, oregon
    Posts
    799
    Plugin Contributions
    0

    Default Re: Errors on Orders pages...

    Well, never could figure out what the actual problem was so I re-uploaded the entire admin folder from v1.3.8 and now everything works perfect...

  7. #7
    Join Date
    Dec 2007
    Location
    Texas
    Posts
    9
    Plugin Contributions
    0

    Default Re: Errors on Orders pages...

    I'm not sure where to ask this question, but my error message is similar. I am running 1.3.7 at flagstore.flagsbay.com.

    Last night I started getting an error message on my orders page.
    Fatal error: Call to undefined function zen_get_orders_comments() in ...admin/orders.php on line 871
    Also the title bar on the page, just above the error message shows this:
    TABLE_HEADING_CUSTOMER_COMMENTS
    I don't remember that being the title before last night.

    If I click on the error message, it takes me to the order with all the information, like it should.

    I have installed two items since I know this was working, Google Checkout and the upgraded Google Analytics (which isn't working correctly, but that's on another thread.
    The orders are PayPal orders, if that helps. Thanks a bunch.

  8. #8
    Join Date
    Dec 2007
    Location
    Texas
    Posts
    9
    Plugin Contributions
    0

    Default Re: Errors on Orders pages after installing mods. How do I fix?

    Update with more information:
    The orders page only displays the last order placed (no others) with the above error message showing for only the last customer.

    If I go to customers, click orders, it does bring up the customers orders, but with the same error message as above.

    thanks again

  9. #9
    Join Date
    Dec 2007
    Location
    Texas
    Posts
    9
    Plugin Contributions
    0

    Default Re: Errors on Orders pages...

    Quote Originally Posted by Larry Hendrick View Post
    I'm not sure where to ask this question, but my error message is similar. I am running 1.3.7 at flagstore.flagsbay.com.

    Last night I started getting an error message on my orders page.
    Fatal error: Call to undefined function zen_get_orders_comments() in ...admin/orders.php on line 871
    Also the title bar on the page, just above the error message shows this:
    TABLE_HEADING_CUSTOMER_COMMENTS
    I don't remember that being the title before last night.

    If I click on the error message, it takes me to the order with all the information, like it should.

    I have installed two items since I know this was working, Google Checkout and the upgraded Google Analytics (which isn't working correctly, but that's on another thread.
    The orders are PayPal orders, if that helps. Thanks a bunch.
    It was a Google Checkout module problem from user error. I am running 1.3.7 and downloaded the latest Google checkout module for installation, 1.4.7. In digging around the Google Checkout support forum, I found that 1.4.7 will NOT work with 1.3.7, only 1.3.8.

    After downloading 1.4.6a and installing it on the server, the problems disappeared and everything is working properly.

    To REPEAT ... version 1.4.7 of Google Checkout is NOT compatible with Zencart 1.3.7.

  10. #10
    Join Date
    Jun 2004
    Posts
    61
    Plugin Contributions
    0

    Default Re: Errors on Orders pages after installing mods. How do I fix?

    I've got a brand new install of 1.3.8, and mine has the above error?

    Also installed the At A Glance, Quick Updates, USPS Click'n'Ship, and Stock By Attribute mods.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. 1064 Error after installing Time Zone Fix addon
    By HFProjekte in forum General Questions
    Replies: 3
    Last Post: 6 Aug 2011, 11:01 AM
  2. Orders are not saving in orders table after installing fast and easy checkout!
    By srivats in forum Managing Customers and Orders
    Replies: 0
    Last Post: 29 Jun 2010, 08:18 AM
  3. Replies: 0
    Last Post: 30 Sep 2009, 08:18 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR