Results 1 to 3 of 3
  1. #1
    Join Date
    Jun 2008
    Posts
    627
    Plugin Contributions
    0

    Default Add Customer - Call to undefined function w/ blank page

    Add Customer in Admin module is installed on a 139h cart

    When trying to add a customer a blank page comes up. In the cache folder the debug file says this.


    PHP Code:
    PHP Fatal error:  Call to undefined function  zen_create_random_value() in /home/username/public_html/admin/add_customers_backend.php on line 547 

    I've looked through language files for blank lines at the bottom of the file and closed any blank lines that I found. This didn't help.
    This is what is on line 547

    PHP Code:
    $customers_password zen_create_random_value(ENTRY_PASSWORD_MIN_LENGTH); 
    Any ideas on what to do with this?

    thanks

  2. #2
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,524
    Plugin Contributions
    127

    Default Re: Add Customer - Call to undefined function w/ blank page

    The file admin/includes/functions/password_funcs.php should have a "zen_create_random_value" function. You should check your copy of this file and restore/merge from a known good copy of your version of Zen Cart.
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  3. #3
    Join Date
    Jun 2008
    Posts
    627
    Plugin Contributions
    0

    Default Re: Add Customer - Call to undefined function w/ blank page

    Thank you very much swguy. That's exactly what it was. I have no clue how that file got changed.

 

 

Similar Threads

  1. Replies: 4
    Last Post: 10 Nov 2018, 01:32 PM
  2. Replies: 27
    Last Post: 20 Nov 2012, 04:04 AM
  3. Blank pages in admin: Call to undefined function: tep_not_null()
    By DontBlink7 in forum General Questions
    Replies: 13
    Last Post: 10 Mar 2011, 05:19 AM
  4. Call to undefined function
    By Forum5 in forum General Questions
    Replies: 10
    Last Post: 14 Sep 2010, 02:43 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