Results 1 to 5 of 5
  1. #1
    Join Date
    Jul 2009
    Location
    Jaipur, India
    Posts
    12
    Plugin Contributions
    0

    help question Please Help :( Fatal error: Call to undefined function: zen_user_has_gv_balance()

    Hello All,
    I'm using Zencart Zen Cart 1.3.8a / Database Patch Level: 1.3.8. Dont know how but when i click on any custom to view his/her details the page reloads and show an error "Fatal error: Call to undefined function: zen_user_has_gv_balance() in admin/customers.php on line 1188 . Suddenly i tried logging to my website with a demo account and when i login it show an error like this:

    1054 Unknown column 'customers_whole' in 'field list'
    in:
    [SELECT customers_id, customers_firstname, customers_lastname, customers_password, customers_email_address, customers_default_address_id, customers_authorization, customers_referral, customers_whole FROM customers WHERE customers_email_address = 'sorry cant show']

    I did'nt installed any addon recently.. Please Help ASAP

    Thanks in Advance

  2. #2
    Join Date
    Nov 2007
    Location
    Woodbine, Georgia, United States
    Posts
    4,018
    Plugin Contributions
    61

    Default Re: Please Help :( Fatal error: Call to undefined function: zen_user_has_gv_balance()

    Quote Originally Posted by jewelsexports View Post
    Hello All,
    I'm using Zencart Zen Cart 1.3.8a / Database Patch Level: 1.3.8. Dont know how but when i click on any custom to view his/her details the page reloads and show an error "Fatal error: Call to undefined function: zen_user_has_gv_balance() in admin/customers.php on line 1188 .
    I believe this is your fix http://www.zen-cart.com/forum/showpo...3&postcount=27

    ~Melanie
    PRO-Webs, Inc. :: Recent Zen Cart Projects :: Zen Cart SEO – 12 Steps to Success
    **I answer questions in the forum, private messages are NOT answered. You are welcome to contact us via our website for professional engagements.

  3. #3
    Join Date
    Jul 2009
    Location
    Jaipur, India
    Posts
    12
    Plugin Contributions
    0

    Default Re: Please Help :( Fatal error: Call to undefined function: zen_user_has_gv_balance()

    Thanks i tried the solution and the error which use to come up in Admin area is now fixed but when i login into my website it show an error like this:

    1054 Unknown column 'customers_whole' in 'field list'
    in:
    [SELECT customers_id, customers_firstname, customers_lastname, customers_password, customers_email_address, customers_default_address_id, customers_authorization, customers_referral, customers_whole FROM customers WHERE customers_email_address = 'djgj68######################']


    PLEASE HELP ME IN FIX THIS ERROR.

  4. #4
    Join Date
    Nov 2007
    Location
    Woodbine, Georgia, United States
    Posts
    4,018
    Plugin Contributions
    61

    Default Re: Please Help :( Fatal error: Call to undefined function: zen_user_has_gv_balance()

    I would start by reinstalling the wholesale module you are running. Make certain to check and merge any missing code in to files as opposed to overwriting them

    ~Melanie
    PRO-Webs, Inc. :: Recent Zen Cart Projects :: Zen Cart SEO – 12 Steps to Success
    **I answer questions in the forum, private messages are NOT answered. You are welcome to contact us via our website for professional engagements.

  5. #5
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Please Help :( Fatal error: Call to undefined function: zen_user_has_gv_balance()

    Something has been done to your site. Databases and code don't suddenly get out of sync on their own.

    So either the code has been changed to reference a non-existent database column, or the database has been wound back to before the mod was installed and the database column added.

    Alternatively, it could be that the mod wasn't installed properly originally, but your site wasn't fully tested afterwards, so the problem has been there for a long time.

    As Melanie says, you need to go back to your wholesale mod and ensure that it gets installed properly. But I'd recommend also getting to bottom of what caused that since you've already seen who completely separate symptoms and there may more that you (or your customers) haven't spotted yet.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

 

 

Similar Threads

  1. Call to undefined function zen_user_has_gv_balance()
    By gaurav10feb in forum General Questions
    Replies: 9
    Last Post: 1 Jan 2011, 11:02 PM
  2. Call to undefined function zen_user_has_gv_balance()
    By Sawhorse in forum General Questions
    Replies: 9
    Last Post: 4 Dec 2010, 01:52 PM
  3. Fatal error: Call to undefined function
    By Brenda in forum General Questions
    Replies: 1
    Last Post: 9 Oct 2006, 08:44 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