Page 2 of 2 FirstFirst 12
Results 11 to 17 of 17
  1. #11
    Join Date
    Feb 2009
    Location
    Landrum SC
    Posts
    141
    Plugin Contributions
    0

    Default Re: Admin login problems

    my bad [ typo ]. It is configure. config would have popped up the dreaded error page.

    The site is up (http://www.thedumbdog.com/cat-1-5-4/) and so is the admin page; it just wants me to log in for ever page click, then does nothing when I enter data (reverts back to the admin home page).

    When I do get it going, I will try to switch databases and see if the old one still works.

  2. #12
    Join Date
    Feb 2009
    Location
    Landrum SC
    Posts
    141
    Plugin Contributions
    0

    Default Re: Admin login problems

    > Thing in that list of items seems to be a show stopper to using the existing database as part of the upgrade

    Which is why I created a new DB, then let zc_install 1.5.4 format it.

  3. #13
    Join Date
    Jul 2012
    Posts
    16,733
    Plugin Contributions
    17

    Default Re: Admin login problems

    Quote Originally Posted by xcergy View Post
    > NoThing in that list of items seems to be a show stopper to using the existing database as part of the upgrade

    Which is why I created a new DB, then let zc_install 1.5.4 format it.
    Looks like I typed faster than my mobile browser registered me typing. It missed the first two characters...

    Shows proof that the software works, yes, and of course will need to do the db only upgrade once the old database is loaded, but I would based on this discussion and what appears to be the facts of the situation look through this faq on sessions as originally dconsidered to be a culprit.m

    https://www.zen-cart.com/content.php...working-for-me

    Fyi, found by search of faqs on the word sessions.
    Last edited by mc12345678; 8 Jan 2016 at 04:18 AM.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  4. #14
    Join Date
    Feb 2009
    Location
    Landrum SC
    Posts
    141
    Plugin Contributions
    0

    Default Re: Admin login problems

    Well I found one error .... a double // rather than a single / .... fixed but no go.

    was reading https://www.zen-cart.com/content.php...that-directory

    And it would be wonderful to see a dummy example w full URLs.

    For example in

    // * DIR_FS_* = Filesystem directories (local/physical)
    define('DIR_FS_ADMIN', preg_replace('#.includes$#', '', realpath(dirname(__FILE__) . '/../') . '/'));

    where/what do I insert the path? http is my domain www.mydomin.com https is accountname.hostname.com And should I fill in the complete path? http://www.fullpath/ https://fullpath?

    I'm not php savvy, and don't know the rules between '/../' and '/'.

    As I said, a full 'dummy' version of configure.php would be helpful.

    it's one of those "learn to set it" and "forget it" kind of deals .... like setting up a router .... when it crashes 8 years later, I have to re-learn or google how to do it again.

    And yea, I started computing w a TI994A ... moved to Commadore .... an XT .... and 300 baud And Yes, I still know DOS basics :-) Twitter? not so much :-(

  5. #15
    Join Date
    Jul 2012
    Posts
    16,733
    Plugin Contributions
    17

    Default Re: Admin login problems

    Quote Originally Posted by xcergy View Post
    Well I found one error .... a double // rather than a single / .... fixed but no go.

    was reading https://www.zen-cart.com/content.php...that-directory

    And it would be wonderful to see a dummy example w full URLs.

    For example in

    // * DIR_FS_* = Filesystem directories (local/physical)
    define('DIR_FS_ADMIN', preg_replace('#.includes$#', '', realpath(dirname(__FILE__) . '/../') . '/'));

    where/what do I insert the path? http is my domain www.mydomin.com https is accountname.hostname.com And should I fill in the complete path? http://www.fullpath/ https://fullpath?

    I'm not php savvy, and don't know the rules between '/../' and '/'.

    As I said, a full 'dummy' version of configure.php would be helpful.

    it's one of those "learn to set it" and "forget it" kind of deals .... like setting up a router .... when it crashes 8 years later, I have to re-learn or google how to do it again.

    And yea, I started computing w a TI994A ... moved to Commadore .... an XT .... and 300 baud And Yes, I still know DOS basics :-) Twitter? not so much :-(
    Oh my gosh, haven't seen anyone use those computer terms in quite a while... I always wanted a Commodore 128, but between being too pricey and it being found to be too buggy never got one.. And even after I had made it possible to have four REAL floppy drives plugged in to a single computer... Okay was basically second generation floppy (5 1/4"), but none-the-less...

    So that full "dummy" version? In following the instructions that I think were provided above, one of the steps is to let ZC do the install... No moving of configure.php files or any other modifications necessary. Truly just set it and forget it... The file is created and you can walk away... Doing the "edit" of the dist-configure.php file is taking the whole process into your own hands, what might work might work...

    As to the admin path above (DIR_FS_ADMIN)... That whole thing is written so that you never have to tell the admin/includes/configure.php where the admin directory is stored. Further, if you post the file, you don't give away any admin details... Further, if you do accidentally post your admin directory path, "fixing" it is really as simple as renaming the directory.. Don't have to modify the admin/includes/configure.php file...

    The http part is to go in the HTTP_SERVER setting though... if you plan to use your SSL certificate on your admin side, then the first two HTTP... paths should have https://, the third have http:// and the fourth as https:// At least that is what would also be necessary to use one or the other Authorize.net payment modules and if nothing else ensures that there is no going back and forth of http/https while navigating the admin site... Sorry that at the moment I don't recall the designations for each of the four server paths, but when they are generated they have "always" been in the same sequence.
    Talk about set it and forget it... Now, how to get the green turtle to turn right and draw a line for 20 pixels... :)

    Snap chat? How about an Atari 800?
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  6. #16
    Join Date
    Feb 2009
    Location
    Landrum SC
    Posts
    141
    Plugin Contributions
    0

    Default Re: Admin login problems

    > Snap chat? How about an Atari 800?

    Never got that far, but writing in BASIC? Learned it back in the day, and saved the typed in programs on a CASSETTE drive!!!! Back in the day .... 20Mb hard drive? I can store EVERYTHING on a 20Mb hard drive!!!!! Remember 8" floppies? I do! and I have the 5.25 clipper so that you could use data on BOTH sides!!

    All said, I would still like an example of full path dummie configure.php file ( both)

    please Please PLEASE!!!!

    Keith

  7. #17
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Admin login problems

    Quote Originally Posted by xcergy View Post
    As I said, a full 'dummy' version of configure.php would be helpful.
    That's what the /includes/dist-configure.php and /admin/includes/dist-configure.php files are.

    (And, unlike v1.3.x, in v1.5x you don't need to supply the admin foldername in the admin configure.php file ... that weird code you were trying to insert a foldername into is actually the folder-auto-detection code.)



    Your perpetual-request-to-log-in problem is almost certainly a cookie problem ... caused when the domain name you're using for non-SSL doesn't match the name you're using with SSL. Or caused by the server having a misconfiguration related to PHP and session handling.
    Related articles:
    I can't login to the Admin after installing Zen Cart
    I can't stay logged in to my Admin area -- or -- PHP Session Handling isn't working for me.
    .

    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 2 of 2 FirstFirst 12

Similar Threads

  1. v150 Admin Login Problems
    By shop2drop in forum General Questions
    Replies: 1
    Last Post: 17 Aug 2014, 12:09 AM
  2. v150 Had to reset admin login details in DB now problems in admin area
    By aliali81 in forum General Questions
    Replies: 2
    Last Post: 15 May 2013, 05:32 PM
  3. Admin Login Problems
    By mark8261 in forum General Questions
    Replies: 26
    Last Post: 28 Sep 2008, 10:25 PM
  4. Admin login problems
    By sadesigns in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 17 Feb 2007, 11:53 PM
  5. Admin Login Problems
    By wickedklown in forum General Questions
    Replies: 5
    Last Post: 11 Sep 2006, 09:09 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