Page 5 of 5 FirstFirst ... 345
Results 41 to 50 of 50
  1. #41
    Join Date
    Feb 2009
    Posts
    738
    Plugin Contributions
    0

    Default Re: User cannot log in nor reset password

    Quote Originally Posted by mc12345678 View Post
    Now that have seen the site, the answer to this question is/was basically that the whole site is https: however I note a minor variation.


    As dbltoe pointed out, the site is accessible by both www. and non-www.

    When accessed without www. all of the internal links point to https: and the page is redirected to https: when accessed with http:. *BUT* if the page is accessed with the www. prefix, then the internal links are http: as if the page is not recognized to be loaded with the SSL. At the same time, a mixed content message is provided... This is something I've not seen before. Usually even if the site has been reachable with www. and the certificate expected non-www. the links would still be https: but the page format may be text on white... (CSS not loaded)
    OK I KIND of understand that. Interestingly, I never had the www enabled or used. I have always used the url without it. How would I prevent that?

    Yet, the client was NOT using www when she was trying to access the site, so why would she have those issues? I know she was not using it because i was doing the remote session with her so I could actually see it.

    It looks like we are making progress, but I feel like I am getting deeper into the jungle and it is getting darker for me!

  2. #42
    Join Date
    Feb 2009
    Posts
    738
    Plugin Contributions
    0

    Default Re: User cannot log in nor reset password

    I had a chat with someone at CloudFlare where I did set up my SSL. They gave me some directions to address this mixed content issue.
    I just followed their instructions, but don't really understand too much. Would you mind rechecking the same way you did earlier?

  3. #43
    Join Date
    Feb 2009
    Posts
    738
    Plugin Contributions
    0

    Default Re: User cannot log in nor reset password

    I did the changes recommended by Cloudflare to address the www issue.
    I don't know if it changes anything where you "tested" it, but the customer said she tried again last night and got the same message when trying to log in.

    Maybe it was not the issue? Or maybe it is compounded with something else?

    Oh, and i also did the tracert thing on my site also.

  4. #44
    Join Date
    Jul 2012
    Posts
    14,559
    Plugin Contributions
    17

    Default Re: User cannot log in nor reset password

    Quote Originally Posted by CaroleAs View Post
    I did the changes recommended by Cloudflare to address the www issue.
    I don't know if it changes anything where you "tested" it, but the customer said she tried again last night and got the same message when trying to log in.

    Maybe it was not the issue? Or maybe it is compounded with something else?

    Oh, and i also did the tracert thing on my site also.
    I just tested it again: test was enter the url with https: and www. prefix. This time the address redirected to https: without the www. prefix. The verification portion of the testing was to view the page source and search for "http:". The minimal number of occurrences were discovered and those do not yet cause browsers to flag the page as having mixed content.

    So on the issue of this user. Have mentioned that are using cloudflare. I thought that "service" offered caching of pages to speed up load time. Considering that the ssl certificate has changed and although the pages are served all https:, two things. One) are you able to either request cloudflare to clear their cache or temporarily disable cloudflare for testing purposes, and now two) based on the possibility that cloudflare offers https regardless of site configuration, could you please provide your includes/configure.php file down to the DB_ related information and as necessary obscure anything considered necessary to "hide"? As part of that posting could you please first press the # button in the quick reply message box to provide code tags between which the content is pasted?
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...
    Upgraded to Zen Cart V1.5.3 from V1.5.1 from V1.5.0 from V1.3.9h

  5. #45
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    7,282
    Plugin Contributions
    8

    Default Re: User cannot log in nor reset password

    ARGH! No mention of Cloudflare till last night. It's things like this that make me want to force answers to all posting tips.

    If the IPs of customer and son are in the same group, they may be accessing a delegation that has not changed. Cloudflare can take up to 24 hours to completely update data.

    Cloudflare is like adding additional cache all around the world. Expecting all servers to change immediately (or at all) is the epitome of assume.

    Let's see what happens after the 24.
    Did you read the posting tips?!?
    Responsive Color Changes for 155-156c demo here.
    Zen Cart PCI Compatible Hosting

  6. #46
    Join Date
    Feb 2009
    Posts
    738
    Plugin Contributions
    0

    Default Re: User cannot log in nor reset password

    Quote Originally Posted by mc12345678 View Post
    So on the issue of this user. Have mentioned that are using cloudflare. I thought that "service" offered caching of pages to speed up load time. Considering that the ssl certificate has changed and although the pages are served all https:, two things. One) are you able to either request cloudflare to clear their cache or temporarily disable cloudflare for testing purposes, and now two) based on the possibility that cloudflare offers https regardless of site configuration, could you please provide your includes/configure.php file down to the DB_ related information and as necessary obscure anything considered necessary to "hide"? As part of that posting could you please first press the # button in the quick reply message box to provide code tags between which the content is pasted?
    I will wait until tomorrow and/or until the member can retry again as suggested by dbltoe.
    In the mean time, I will also check with Cloudflare what can be done from your suggestions.

    Will report back.

  7. #47
    Join Date
    Feb 2009
    Posts
    738
    Plugin Contributions
    0

    Default Re: User cannot log in nor reset password

    Code:
    As for the Configure.php file, here it is:
    
    
    application/x-httpd-php configure.php ( PHP script text )
    <?php
    /**
     * @package Configuration Settings
     * @copyright Copyright 2003-2016 Zen Cart Development Team
     * @copyright Portions Copyright 2003 osCommerce
     * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
     * File Built by Zen Cart Installer on Sun Sep 10 2017 19:17:43
     */
    
    /*************** NOTE: This file is VERY similar to, but DIFFERENT from the "admin" version of configure.php. ***********/
    /***************       The 2 files should be kept separate and not used to overwrite each other.              ***********/
    
    /**
     * Enter the domain for your store
     * HTTP_SERVER is your Main webserver: eg-http://www.yourdomain.com
     * HTTPS_SERVER is your Secure/SSL webserver: eg-https://www.yourdomain.com
     */
    define('HTTP_SERVER', 'http://creationcassel.com');
    define('HTTPS_SERVER', 'https://creationcassel.com');
    
    /**
     *  If you want to tell Zen Cart to use your HTTPS URL on sensitive pages like login and checkout, set this to 'true'. Otherwise 'false'. (Keep the quotes)
     */
    define('ENABLE_SSL', 'false');
    
    /**
     * These DIR_WS_xxxx values refer to the name of any subdirectory in which your store is located.
     * These values get added to the HTTP_CATALOG_SERVER and HTTPS_CATALOG_SERVER values to form the complete URLs to your storefront.
     * They should always start and end with a slash ... ie: '/' or '/foldername/'
     */
    define('DIR_WS_CATALOG', '/store/');
    define('DIR_WS_HTTPS_CATALOG', '/store/');
    
    /**
     * This is the complete physical path to your store's files.  eg: /var/www/vhost/accountname/public_html/store/
     * Should have a closing / on it.
     */
    define('DIR_FS_CATALOG', '/home/creat419/public_html/creationcassel.com/store/');
    
    /**
     * The following settings define your database connection.
     * These must be the SAME as you're using in your non-admin copy of configure.php
     */
    define('DB_TYPE', 'mysql'); // always 'mysql'
    define('DB_PREFIX', 'zen_'); // prefix for database table names -- preferred to be left empty
    define('DB_CHARSET', 'utf8'); // 'utf8' or 'latin1' are most common
    define('DB_SERVER', 'localhost');  // address of your db server
    define('DB_SERVER_USERNAME', 'xxxxxxx');
    define('DB_SERVER_PASSWORD', 'xxxxxx');
    define('DB_DATABASE', 'xxxxx');
    
    /**
     * This is an advanced setting to determine whether you want to cache SQL queries.
     * Options are 'none' (which is the default) and 'file' and 'database'.
     */
    define('SQL_CACHE_METHOD', 'database');
    
    /**
     * Reserved for future use
     */
    define('SESSION_STORAGE', 'reserved for future use');
    
    /**
     * Advanced use only:
     * The following are OPTIONAL, and should NOT be set unless you intend to change their normal use. Most sites will leave these untouched.
     * To use them, uncomment AND add a proper defined value to them.
     */
    // define('DIR_FS_SQL_CACHE' ...
    // define('DIR_FS_DOWNLOAD' ...
    // define('DIR_FS_LOGS' ...
    
    // End Of File
    You can obscure any part that I might have forgotten.

  8. #48
    Join Date
    Feb 2009
    Posts
    738
    Plugin Contributions
    0

    Default Re: User cannot log in nor reset password

    My customer emailed me this morning with this message:

    I found one other spot where it was collecting cookies. I specifically deleted the file there went back to log in and it WORKED!!!. Did a happy dance. I suspect something happened and I got a bad cookie (I don't know if that is a real thing. I am going to try and make a purchase but I can see my account and the shopping cart so I think we are good.
    She logged in and completed a purchase. So, I am still unsure if that is the only issue that was affecting her (that other cookie) or if the other things we tried helped. She did try the Tracert and although it kept saying "timed out", it ended with a completed message.

    So far, so good.
    Thank you for your suggestions and patience.

  9. #49
    Join Date
    Jul 2012
    Posts
    14,559
    Plugin Contributions
    17

    Default Re: User cannot log in nor reset password

    Quote Originally Posted by CaroleAs View Post
    My customer emailed me this morning with this message:



    She logged in and completed a purchase. So, I am still unsure if that is the only issue that was affecting her (that other cookie) or if the other things we tried helped. She did try the Tracert and although it kept saying "timed out", it ended with a completed message.

    So far, so good.
    Thank you for your suggestions and patience.
    Proof in the "cookie" pudding would be: how about the other devices? Able to access without clearing any other "bad" cookies on those two other devices?
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...
    Upgraded to Zen Cart V1.5.3 from V1.5.1 from V1.5.0 from V1.3.9h

  10. #50
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    7,282
    Plugin Contributions
    8

    Default Re: User cannot log in nor reset password

    Cloudflare will impose cookies even if you attempt to present a site without them.

    On the configure.php note, I would suggest you do the following changes in red to both configure.php files:
    Code:
    /**
     * Enter the domain for your store
     * HTTP_SERVER is your Main webserver: eg-http://www.yourdomain.com
     * HTTPS_SERVER is your Secure/SSL webserver: eg-https://www.yourdomain.com
     */
    define('HTTP_SERVER', 'https://creationcassel.com');
    define('HTTPS_SERVER', 'https://creationcassel.com');
    /** *  If you want to tell Zen Cart to use your HTTPS URL on sensitive pages like login and checkout, set this to 'true'. Otherwise 'false'. (Keep the quotes)
     */
    define('ENABLE_SSL', 'true');
    Most modern browsers now prefer that all content be presented in https mode.

    Good look at DNS flush info at http://tinyurl.com/y6aslrol
    Last edited by dbltoe; 1 Jun 2019 at 09:02 PM. Reason: add info
    Did you read the posting tips?!?
    Responsive Color Changes for 155-156c demo here.
    Zen Cart PCI Compatible Hosting

 

 
Page 5 of 5 FirstFirst ... 345

Similar Threads

  1. Replies: 6
    Last Post: 2 Dec 2017, 11:10 PM
  2. v151 Cannot log into the admin page, or reset the password... any help?
    By brandi_jo in forum General Questions
    Replies: 3
    Last Post: 13 Jan 2014, 03:36 AM
  3. Cannot reset admin password
    By bishoptech in forum Customization from the Admin
    Replies: 23
    Last Post: 16 Feb 2012, 01:51 AM
  4. Cannot reset password
    By europod in forum General Questions
    Replies: 2
    Last Post: 27 Nov 2006, 04:47 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