Results 1 to 10 of 10

Hybrid View

  1. #1
    Join Date
    Jul 2010
    Posts
    5
    Plugin Contributions
    0

    Default lost ability to delete customer please help

    version 1.3.9d

    I was adding the simple admin create order addon and I lost the ability to see the box on the right of the customer page in admin that has the customer info and the delete button. Can anyone help me figure out how to return this and possibly keep the addon. I have put a new customer.php in admin from an untouched test site and still didnt work. Here is an image of what I am missing

  2. #2
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: lost ability to delete customer please help

    https://www.zen-cart.com/tutorials/index.php?article=82

    What are the debug logs telling you as the cause of the blank page? That will usually tell you which PHP file is reporting the problem, and often also the one that contains the problem.
    .
    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.

  3. #3
    Join Date
    Jul 2010
    Posts
    5
    Plugin Contributions
    0

    Default Re: lost ability to delete customer please help

    can you tell me where I need to be looking ? (what .php file)
    I have replaced the module a few times and the problem is there with the mod and without, so I am lost as to what file I need to be looking in for the customer delete code.

    I did read your reply and the all of the page you sent me to.
    Thanks for helping me
    Kev

  4. #4
    Join Date
    Jul 2010
    Posts
    5
    Plugin Contributions
    0

    Default Re: lost ability to delete customer please help

    Ok the logs said

    [08-Jul-2010 23:53:56] PHP Fatal error: Call to undefined function: zen_user_has_gv_balance() in /home/content/k/e/v/kev122275/html/backend/customers.php on line 1188


    I went and commented out zen_user_has_gv_balance
    and I have my box back and can delete customers.

    But what does the error refer to and how can I fix it so my GV system will work?


    Thanks
    Kev

  5. #5
    Join Date
    Jul 2010
    Posts
    5
    Plugin Contributions
    0

    Default Re: lost ability to delete customer please help

    ok I think I figured it out.
    I think the error was in my general.php
    I added
    function zen_user_has_gv_balance($c_id) {
    global $db;

    ** CODE REMOVED BY MODERATOR **
    return 0;
    }


    to the general.php at the end before ?>
    and then I uncommented

    $customer_gv_balance = zen_user_has_gv_balance($cInfo->customers_id);

    in customer.php and all seems good now. I think

  6. #6
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: lost ability to delete customer please help

    So, basically you're saying that your /admin/functions/general.php file was damaged/incomplete, presumably because you overwrote it with a much older version from some addon you installed?
    .
    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.

 

 

Similar Threads

  1. Lost Image insert ability after add-ons
    By robrem in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 23 Mar 2009, 04:29 PM
  2. Lost ability to add more sideboxes?
    By Courage9 in forum Templates, Stylesheets, Page Layout
    Replies: 14
    Last Post: 15 Mar 2009, 03:23 PM
  3. Lost all customer and order data, please help!
    By smallpigpig in forum Managing Customers and Orders
    Replies: 9
    Last Post: 13 Jan 2008, 08:27 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