Page 1 of 2 12 LastLast
Results 1 to 10 of 14
  1. #1
    Join Date
    Mar 2006
    Location
    Jacksonville Fl
    Posts
    73
    Plugin Contributions
    0

    Default Error trying to Log Into Admin: Call to undefined function

    I used winmerge to maintain my text modifications to english.php, etc but had no modifications to function files.
    Used zc-install to update my config files and database
    After upgrade, I renamed the admin folder to sales_info and updated the config file
    Site works fine but cannot log into admin
    The Debug file shows: PHP Fatal error: Call to undefined function zen_validate_user_login() in /home1/xxx/xxx/xxx/sales_info/login.php on line 38
    I've checked the entire download file and this function does not exist.

    Help!

  2. #2
    Join Date
    May 2010
    Location
    WA State
    Posts
    1,678
    Plugin Contributions
    3

    Default Re: Unable to Log Into Admin after Upgrade to 1.5x

    With a 1.5 install you shouldn't have to edit the configure.php files to change the name of the admin directory. At least that's the way it is with a new install, not sure with an upgrade. Perhaps when editing the file you inadvertently created a coding error.

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

    Default Re: Unable to Log Into Admin after Upgrade to 1.5x

    The function should be declared in your sales_info/includes/functions/admin_access.php file.
    Kuroi Web Design and Development | Twitter

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

  4. #4
    Join Date
    Mar 2006
    Location
    Jacksonville Fl
    Posts
    73
    Plugin Contributions
    0

    Default Re: Unable to Log Into Admin after Upgrade to 1.5x

    My bad, found that the admin_access file had not been uploaded.

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

    Default Re: Unable to Log Into Admin after Upgrade to 1.5x

    I'm having the exact same problem and the debug file is giving me a similar error:

    PHP Fatal error: Call to undefined function zen_validate_user_login() in /home/digicig/public_html/zc_admin/login.php on line 38
    I have an "admin_access.php" file in the zc_admin/includes/functions directory.

    Am I missing something here?

    TIA
    Last edited by synwave; 5 Jan 2012 at 02:49 AM.

  6. #6
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Unable to Log Into Admin after Upgrade to 1.5x

    Could you check that you have the file:
    /yoursecretadmin/includes/auto_loaders/config.core.php

    And open it up and search for:
    admin_access.php

    You should find it 3 times ...

    NOTE: you will later want to change the name of your /admin directory as you told everyone your secret admin directory name ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  7. #7
    Join Date
    Jul 2010
    Posts
    12
    Plugin Contributions
    0

    Default Re: Error trying to Log Into Admin after Upgrade to 1.5x

    Thanks Ajeh,

    Yes, admin_access.php appears 3 times in /yoursecretadmin/includes/auto_loaders/config.core.php

  8. #8
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Error trying to Log Into Admin after Upgrade to 1.5x

    Evidently you're missing files from your server.
    .

    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
    Jul 2010
    Posts
    12
    Plugin Contributions
    0

    Default Re: Error trying to Log Into Admin after Upgrade to 1.5x

    Thanks Dr,

    I've re uploaded all the files again and still no joy

  10. #10
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Error trying to Log Into Admin after Upgrade to 1.5x

    What does the new error say?
    .

    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.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 4
    Last Post: 10 Nov 2018, 01:32 PM
  2. Fatal error: Call to undefined function:
    By Spdster in forum Built-in Shipping and Payment Modules
    Replies: 7
    Last Post: 10 May 2008, 05:17 AM

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