Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    Join Date
    Aug 2007
    Posts
    32
    Plugin Contributions
    0

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

    Hi,

    I was trying to install a new bit of code (the "how did you hear about us?" thing) into my Zencart system and like an idiot forgot to back it up first. It didn't work and I couldn't access orders and customers. So I reinstalled the shop/admin/customers.php and shop/admin/orders.php files, but now all my customer/order info is lost. Now I get the following error:

    Fatal error: Call to undefined function zen_get_orders_comments() in /shop/admin/orders.php on line 802

    I contacted my host about retrieving the info -- is that all I can do, or is there some other fancy way to retrieve the info? Thanks in advance.

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

    Default Re: Customers and Orders Lost

    just to add infor, first i got this error:

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

    then after reloading a fresh orders.php, got the error listed above...

    Fatal error: Call to undefined function zen_get_customers_address_book() in shop/admin/customers.php on line 1120

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

    Default Re: Customers and Orders Lost

    and line 195 is this:

    case 'doRefund':

  4. #4
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,888
    Plugin Contributions
    0

    Default Re: Customers and Orders Lost

    you probably haven't lost the customer info or the orders as they are stored in the database.
    Mike
    AEIIA - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

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

    Default Re: Customers and Orders Lost

    good news! how do i retrieve the info?

  6. #6
    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.

  7. #7
    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!

  8. #8
    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.

  9. #9
    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.

  10. #10
    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!

 

 
Page 1 of 2 12 LastLast

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