Results 1 to 10 of 13

Hybrid View

  1. #1
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Customers and Orders Lost

    Quote Originally Posted by iheartguts View Post
    Fatal error: Call to undefined function zen_get_customers_address_book() in shop/admin/customers.php on line 1120
    That means you're using an older version of the /admin/includes/functions/functions_general.php file.

    Perhaps your addon contains an old version and isn't doing you any favors .... you'll have to manually merge its customizations into your correct original copy of the file.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  2. #2
    Join Date
    Aug 2007
    Posts
    32
    Plugin Contributions
    0

    Default Re: Customers and Orders Lost

    hmm, i replaced that file (although in the latest zc version that file was inclues/functions not admin/includes/functions -- maybe this is also a source of trouble?) and now i get this error:

    Parse error: syntax error, unexpected T_CASE in /home/iheartgu/public_html/shop/admin/orders.php on line 195

    i don't even care about the new module anymore, just want to get my orders back. thank you so much for your help, you rock!

  3. #3
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Customers and Orders Lost

    Quote Originally Posted by DrByte View Post
    That means you're using an older version of the /admin/includes/functions/functions_general.php file.
    Quote Originally Posted by iheartguts View Post
    hmm, i replaced that file (although in the latest zc version that file was inclues/functions not admin/includes/functions -- maybe this is also a source of trouble?)
    Sorry - typo on my part.
    I should have said: /admin/includes/functions/general.php
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  4. #4
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Customers and Orders Lost

    Quote Originally Posted by iheartguts View Post
    Parse error: syntax error, unexpected T_CASE in /home/iheartgu/public_html/shop/admin/orders.php on line 195
    Um ... well ... it means that your /shop/admin/orders.php is bad.
    Again, putting back the original one using the backups you have from before making your changes would normally solve that problem.

    When you added that contribution, did it add any "new" files that you haven't also removed?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    Aug 2007
    Posts
    32
    Plugin Contributions
    0

    Default Re: Access to my Customers and Orders broken after installing a mod

    right, right, of course i need to remove the "new" files frm the module. so, like an idiot i committed the cardinal sin of not backing up the original before trying to install the module. very very dumb. so how can i get the orders.php back without wrecking orders that have come in the meantime (i'm not really clear on how this whole thing works, so forgive my stupid questions)? i can get a day-old backup from my hosts, but someone wrote something about the info being stored in the database (but i have no idea how to get access to the database -- again, forgive my fuzziness on this). thank you thank you!

  6. #6
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Access to my Customers and Orders broken after installing a mod

    Your error appears to be coming from /admin/orders.php and not from the database.
    So, replacing that file with the original should be a good starting point.
    If you didn't make a backup, then use the original one from your original set of Zen Cart files.
    If you don't have a set, then you really ought to start making backups! and then get the original files from the Zen Cart site, for your currently-installed version.


    You still need to remove any extra files that you installed as part of the mod, if you haven't already.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  7. #7
    Join Date
    Jan 2006
    Posts
    420
    Plugin Contributions
    0

    Default Re: Access to my Customers and Orders broken after installing a mod

    Did you guys solve this one ?

    I have exactly the same issue on a 1.3.7 install .

    Checked my orders.php with the original and with the modded one , all looks OK .

    confused at the moment
    Various Zen cart sites !

  8. #8
    Join Date
    Jan 2006
    Posts
    420
    Plugin Contributions
    0

    Default Re: Access to my Customers and Orders broken after installing a mod

    Just to update anyone that is reading this thread ,

    I have put in the original 1.3.7. file and now works ok .

    I am not sure what the modded file from the How did you hear about us 1.3.7. mod differs

    This is the only bit of code that is new in the mod around those line numbers :
    181 to 195
    PHP Code:
        }
      }

      if ((
    $action == 'edit') && isset($_GET['oID'])) {
        
    $oID zen_db_prepare_input($_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;
          
    $messageStack->add(sprintf(ERROR_ORDER_DOES_NOT_EXIST$oID), 'error'); 
    any help to solve appreciated. May be worth me posting in the how did you hear.... thread !
    Various Zen cart sites !

 

 

Similar Threads

  1. admin menu broken after installing many conflicting plugins
    By joem83 in forum Customization from the Admin
    Replies: 21
    Last Post: 9 Oct 2012, 06:15 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. Duplicate Orders after installing abandon cart mod
    By cshart in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 11 Dec 2009, 04:25 PM
  4. Delete Button in Orders > Customers Broken
    By bgroup99 in forum General Questions
    Replies: 2
    Last Post: 24 Sep 2009, 06:20 AM
  5. Replies: 3
    Last Post: 22 Aug 2007, 03:26 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