Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 40
  1. #11
    Join Date
    Jun 2005
    Posts
    37
    Plugin Contributions
    0

    Default Re: Can't access my admin after updagre 1.3.7 > 1.3.8

    Hi everyone, many thanks for the quick help :)

    Quote Originally Posted by ebusinessman View Post
    the upgrade is not complete.
    check if you have function zen_get_languages() in this file:
    admin\includes\functions\general.php
    Fact is, I don't have that file at all

    And now I'm wondering: 1.3.8 isn't a patch, it's a new version, right?
    and "patch 1.3.8" is something to apply after having upgraded?

    Because I considered that 1.3.8 patch as the new version... but maybe I'm right. If not, that is most probably the problem?

  2. #12
    Join Date
    Jun 2009
    Posts
    13
    Plugin Contributions
    0

    Default Re: Can't access my admin after renaming

    After doing the admin change and the security path when logging into zencart I get the thank you for loading zencart screen. I've read this post and yes in the general.pho I do have

    function zen_get_languages() {

    global $db;

    $languages = $db->Execute("select languages_id, name, code, image, directory

    from " . TABLE_LANGUAGES . " order by sort_order");



    while (!$languages->EOF) {

    $languages_array[] = array('id' => $languages->fields['languages_id'],

    'name' => $languages->fields['name'],

    'code' => $languages->fields['code'],

    'image' => $languages->fields['image'],

    'directory' => $languages->fields['directory']);

    $languages->MoveNext();

    }



    return $languages_array;

    }

    Is there something in this file that needed to be modified?
    I also installed zen cart though fantastico and in MySql I have a listing for admin with the name admin, could that be a problem?

    Thanks

    Evan

  3. #13
    Join Date
    Jun 2009
    Posts
    13
    Plugin Contributions
    0

    Default Re: Can't access my admin after renaming

    Ok I fixed it, Im not sure if it's because I installed zencart thought fantastico or not but I deleted the

    define('DIR_FS_ADMIN', '/home/mystore.com/www/public/admin/');
    define('DIR_FS_CATALOG', '/home/mystore.com/www/public/');

    from admin/includes/config.php and I was able to log into my admin

    Again dont ask me why but could be something to be tried.

  4. #14
    Join Date
    Jan 2004
    Posts
    66,419
    Blog Entries
    7
    Plugin Contributions
    277

    Default Re: Can't access my admin after renaming

    That's odd. Sounds like you have a double set of definitions in that file ... which is not good. Better double-check to be sure that everything in that file, from beginning to end, is your own stuff, and not someone else's.
    .

    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.

  5. #15
    Join Date
    Jun 2005
    Posts
    37
    Plugin Contributions
    0

    Default Re: Can't access my admin after updagre 1.3.7 > 1.3.8

    Quote Originally Posted by Corinne View Post
    And now I'm wondering: 1.3.8 isn't a patch, it's a new version, right?
    and "patch 1.3.8" is something to apply after having upgraded?
    Because I considered that 1.3.8 patch as the new version... but maybe I'm right. If not, that is most probably the problem?
    Could anyone please point me to the right direction?
    Thank you!

  6. #16
    Join Date
    Jan 2004
    Posts
    66,419
    Blog Entries
    7
    Plugin Contributions
    277

    Default Re: Can't access my admin after updagre 1.3.7 > 1.3.8

    Corinne,

    You said you're using v1.3.7, so you need to apply the patch based on using v1.3.7.

    Or, you could upgrade your entire site to v1.3.8, and then apply the patch for 1.3.8. Yes, 1.3.8 is a whole new version compared to 1.3.7.


    Related Thread: Security Patches To Be Applied To Each Version
    .

    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. #17
    Join Date
    Sep 2008
    Location
    Toronto, Ontario, Canada
    Posts
    469
    Plugin Contributions
    0

    Default Re: Can't access my admin after renaming

    Hey - Think I got this right - I'm adding in my post here because the title matches my issue and thus other searchers may have less stuff to read through.

    Same issue - I renamed the admin folder to TonySpumoni (ok it's not the real name) but you needed something for a refernce.

    When I look at the config code it’s something like this – not real but give you the idea:

    Pub-html/JacksStore/TonySpumoni – where jackstore is the store and Tony is the admin.

    Now I have gone through both the admin/config and the includes/config to make sure that all are referencing the right path. They seem to be but it doesn’t work.

    Old login: JacksStore/Admin
    New Login: JacksStore/TonySpumoni

    Any ideas?

    Running on 1.3.8a with security patches installed.

  8. #18
    Join Date
    Jan 2004
    Posts
    66,419
    Blog Entries
    7
    Plugin Contributions
    277

    Default Re: Can't access my admin after renaming

    The detailed steps for the required edits when renaming your admin folder are discussed in the FAQ article on the topic: https://www.zen-cart.com/tutorials/index.php?article=33
    .

    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. #19
    Join Date
    Feb 2009
    Posts
    419
    Plugin Contributions
    0

    Default Re: Can't access my admin after renaming

    Ok, now I have this problem.

    I have a fully functioning store ... so the install went fine ... 100% functioning store.

    I went and did the new security patch and renamed the admin folder - let's call it "abc123".

    In admin/includes .... I changed the admin folder name in the configure.php file in the 3 places to abc123.

    Now when I try to log into admin at, www.site.com/store/abc123 I get a 404 error.

    I reversed the security patch and still nothing.

    So, rename admin folder and change the admin folder name in 3 spots in the admin/includes configure.php file .... what else is there to do to rename the admin folder and have access ????

    Yes, I changed the permissions on the configure.php file.
    Renaming back to admin fixes things.

  10. #20
    Join Date
    Feb 2009
    Posts
    419
    Plugin Contributions
    0

    Default Re: Can't access my admin after renaming

    Out of 5 zencarts I've installed in the last 5 months, only one was I able to successfully rename the admin folder. All of them are fully functioning stores with sales and everything.

    It's almost as if there is a missing step that I somehow found out about in the one successfully renamed of store, but can't remember now.

    1) admin/includes/configure.php

    change permissions
    3 spots: change name of admin folder to new name (123abc)
    save and upload
    change permissions back

    2) rename the admin folder to new name (123abc)

    3) go to log into admin

    What am I missing?

 

 
Page 2 of 4 FirstFirst 1234 LastLast

Similar Threads

  1. v153 Can't login to admin after SSl was disabled, How to restore admin access?
    By alpheus in forum Installing on a Linux/Unix Server
    Replies: 8
    Last Post: 20 Dec 2014, 09:34 PM
  2. Cannot Access Admin Area After Renaming
    By games4gamers in forum Basic Configuration
    Replies: 7
    Last Post: 12 Apr 2010, 03:46 PM
  3. Can not access Admin anymore after renaming the folder
    By krystalplayer in forum Customization from the Admin
    Replies: 1
    Last Post: 13 Feb 2010, 11:45 AM
  4. I can't get my admin login to work after renaming the folder.
    By jenpen in forum Upgrading from 1.3.x to 1.3.9
    Replies: 3
    Last Post: 29 Jun 2009, 02:33 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