Thread: Logging in

Page 1 of 2 12 LastLast
Results 1 to 10 of 18
  1. #1
    Join Date
    Oct 2020
    Location
    South Yorkshire, UK.
    Posts
    28
    Plugin Contributions
    0

    Default Logging in

    V1.5.7
    PHP Version: 7.3.21
    Server Apache
    latest available ZCA Bootstrap Template
    Square payments
    https://www.jrcdesigns.co.uk/


    I am setting up the site and made an account once made it keeps me logged in for so long then it auto logged me out, when I went to log back in it takes me from the login page back to the home page and at the top it says log in it does not show my account or log out so it wont log me in for some reason, the details are all correct so am not sure what is happening.
    Any ideas would be welcome.
    Its a new site with few changes, and have not changed any settings for customers

  2. #2
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,403
    Plugin Contributions
    87

    Default Re: Logging in

    Using my browser's "Developers' Tools" (usually a click of the F12 key for Windows) and then checking the Console tab, I'm seeing the following on your login page:
    Code:
    Uncaught TypeError: document.loginForm is undefined
        onload https://www.jrcdesigns.co.uk/index.php?main_page=login:1
    index.php:1:42
    That's why you can't login, the HTML generated doesn't support the associated javascript/jQuery requirements.

  3. #3
    Join Date
    Oct 2020
    Location
    South Yorkshire, UK.
    Posts
    28
    Plugin Contributions
    0

    Default Re: Logging in

    Thankyou, but erm how do I fix this?

  4. #4
    Join Date
    Oct 2020
    Location
    South Yorkshire, UK.
    Posts
    28
    Plugin Contributions
    0

    Default Re: Logging in

    To add have just turned logging on and there are 48 debug logs all warnings showing,

  5. #5
    Join Date
    Oct 2020
    Location
    South Yorkshire, UK.
    Posts
    28
    Plugin Contributions
    0

    Default Re: Logging in

    Quote Originally Posted by lat9 View Post
    Using my browser's "Developers' Tools" (usually a click of the F12 key for Windows) and then checking the Console tab, I'm seeing the following on your login page:
    Code:
    Uncaught TypeError: document.loginForm is undefined
        onload https://www.jrcdesigns.co.uk/index.php?main_page=login:1
    index.php:1:42
    That's why you can't login, the HTML generated doesn't support the associated javascript/jQuery requirements.

    Please can someone explain how I fix this

    I am far from understanding code

    Thank you

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

    Default Re: Logging in

    Quote Originally Posted by Angie1 View Post
    Please can someone explain how I fix this

    I am far from understanding code

    Thank you
    In this case it appears as though you can probably just delete this file, because it's expecting things that your current template does not provide:
    /includes/modules/pages/login/on_load_main.js
    .

    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
    Oct 2020
    Location
    South Yorkshire, UK.
    Posts
    28
    Plugin Contributions
    0

    Default Re: Logging in

    Thank you DrByte have done that but it hasnt made any difference so am still stuck cna create an account but once logged out cannot log back in it doesnt show any error on the login page on the site

  8. #8
    Join Date
    Oct 2020
    Location
    South Yorkshire, UK.
    Posts
    28
    Plugin Contributions
    0

    Default Re: Logging in

    Is there any help available with this please
    The site is now completely upto date on the new version, I didnt upgrade I started completely from the begininning complete fresh database and fresh new install of zencart, no theme and the only thing set up is Square payments, but make an account and it lets you do that but as soon as you log out and go to log in again it just tells you to log in at the top of the page, this has been going on for days and days and if I cant have customers log in I cant keep using zencart which is my prefered choice.

  9. #9
    Join Date
    Jul 2012
    Posts
    16,719
    Plugin Contributions
    17

    Default Re: Logging in

    From my mobile, I was able to create an account, log out and then log in again... there are no product present to do any further testing of the cart, but again, on a mobile it seems to be working...

    And when I navigate, the top of the screen appears to show that I am still logged in.
    Last edited by mc12345678; 3 Nov 2020 at 12:48 PM.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  10. #10
    Join Date
    Oct 2020
    Location
    South Yorkshire, UK.
    Posts
    28
    Plugin Contributions
    0

    Default Re: Logging in

    Thank you MC12345678 will keep looking into it as I am using desktop

    Edit to add I can log in using my mobile hmmm strange

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. error logging: does ZC generate any error logging anywhere?
    By cyberbaffled in forum General Questions
    Replies: 4
    Last Post: 12 Jul 2014, 07:08 PM
  2. v151 Logging in twice - only after logging out
    By SarahL in forum Bug Reports
    Replies: 4
    Last Post: 1 Nov 2013, 07:53 PM
  3. Problems logging in.
    By siltea in forum General Questions
    Replies: 2
    Last Post: 1 Sep 2009, 12:47 AM
  4. logging in
    By starlady in forum General Questions
    Replies: 3
    Last Post: 24 Feb 2007, 08:08 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