Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 22
  1. #11
    Join Date
    Jul 2012
    Posts
    16,816
    Plugin Contributions
    17

    Default Re: Can't access admin panel at all

    Could try to hard code it, just to see...
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  2. #12
    Join Date
    Jun 2012
    Location
    USA
    Posts
    18
    Plugin Contributions
    0

    Default Re: Can't access admin panel at all

    Quote Originally Posted by mc12345678 View Post
    There is/was a fix identified for that line, which I apologize I don't have available at the moment. To also be clear, regarding the local directory issue, you had not only looked in includes/local, but also admin/includes/local correct?

    I think that line was corrected in 1.5.1, but I've seen a post about it on the site somewhere, having to do with an extra .. Or something. Did you say your new store location is in a sub-directory or at the root?
    Just to double check i checked /includes/local <-- there is no local file
    I checked again /admin/includes/local and there is only that one file I mentioned earlier - the skip version check file.

    It's weird - the site worked when I built it in a "hidden" directory.
    It worked when I moved it to the root.
    It does not work now that I moved it to store.mysite.com
    And just to be clear, the storefront works - it is ONLY the admin panel I cannot locate.

    Quote Originally Posted by mc12345678 View Post
    Could try to hard code it, just to see...
    I don't code. I'm not even going to attempt it.

    If I knew what that one line should be filled in as, I got a feeling that might work.

    I also read a later version had a fix for this but I just don't know what version I have anymore. I parked the store months ago and forgot about it. Now I have someone who wants one so I wanted to show him mine as an example so he can poke around since I dont' have inventory yet. This is when I discovered the issue with the ACP.

    I don't want to build it all over again. I spent weeks customizing the look and feel. Ugh.

  3. #13
    Join Date
    Jan 2014
    Location
    Ontario, Canada
    Posts
    252
    Plugin Contributions
    3

    Default Re: Can't access admin panel at all

    Below is your configure.php
    Yes they are the same. I still think it's this line that is the issue and I am unsure how to fill it out:

    PHP Code:
    define('DIR_FS_ADMIN', realpath(dirname(__FILE__) . '/../') . '/');
    This is my configure.php
    define('DIR_FS_ADMIN', realpath(dirname(__FILE__) . '/../') . '/');

    Not the issue :/

    Double check-> define('DB_SERVER', 'xxxxxxx');
    define('DB_SERVER_USERNAME', 'xxxxx');
    define('DB_SERVER_PASSWORD', 'xxxxxx');
    define('DB_DATABASE', 'xxx');

    Hope that helps too

  4. #14
    Join Date
    Jun 2012
    Location
    USA
    Posts
    18
    Plugin Contributions
    0

    Default Re: Can't access admin panel at all

    Quote Originally Posted by Trinity14 View Post
    Below is your configure.php
    This is my configure.php
    define('DIR_FS_ADMIN', realpath(dirname(__FILE__) . '/../') . '/');

    Not the issue :/

    Double check-> define('DB_SERVER', 'xxxxxxx');
    define('DB_SERVER_USERNAME', 'xxxxx');
    define('DB_SERVER_PASSWORD', 'xxxxxx');
    define('DB_DATABASE', 'xxx');

    Hope that helps too
    They're exactly the same in both config files.

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

    Default Re: Can't access admin panel at all

    Quote Originally Posted by Twitchin Kitten View Post
    Just to double check i checked /includes/local <-- there is no local file
    I checked again /admin/includes/local and there is only that one file I mentioned earlier - the skip version check file.

    It's weird - the site worked when I built it in a "hidden" directory.
    It worked when I moved it to the root.
    It does not work now that I moved it to store.mysite.com
    And just to be clear, the storefront works - it is ONLY the admin panel I cannot locate.



    I don't code. I'm not even going to attempt it.

    If I knew what that one line should be filled in as, I got a feeling that might work.

    I also read a later version had a fix for this but I just don't know what version I have anymore. I parked the store months ago and forgot about it. Now I have someone who wants one so I wanted to show him mine as an example so he can poke around since I dont' have inventory yet. This is when I discovered the issue with the ACP.

    I don't want to build it all over again. I spent weeks customizing the look and feel. Ugh.
    What about your .htaccess file? When it was in a "hidden" directory and then now moved, if you look at the .htaccess of the root of your store, do you see a reference to your old admin panel path? May need to update it to reflect your current admin panel.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  6. #16
    Join Date
    Jun 2012
    Location
    USA
    Posts
    18
    Plugin Contributions
    0

    Default Re: Can't access admin panel at all

    Quote Originally Posted by mc12345678 View Post
    What about your .htaccess file? When it was in a "hidden" directory and then now moved, if you look at the .htaccess of the root of your store, do you see a reference to your old admin panel path? May need to update it to reflect your current admin panel.
    the only thing in that file is this:

    ## Default .htaccess file

  7. #17
    Join Date
    Jan 2014
    Location
    Ontario, Canada
    Posts
    252
    Plugin Contributions
    3

    Default Re: Can't access admin panel at all

    Twitchin Kitten,
    The error says: includes/configure.php file contents invalid. ie: DIR_FS_CATALOG not valid or not set

    in your configure.php

    define('DIR_FS_CATALOG', '/var/www/clients/client2/web3/web/');

    is it possible that your path needs to say web10 like the one below?

    define('DIR_FS_SQL_CACHE', '/var/www/clients/client2/web10/web/cache/');

  8. #18
    Join Date
    Jul 2012
    Posts
    16,816
    Plugin Contributions
    17

    Default Re: Can't access admin panel at all

    Quote Originally Posted by Twitchin Kitten View Post

    PHP Code:
    <?php
      define
    ('HTTP_SERVER''http://shop.MYSITE.com');
      
    define('HTTPS_SERVER''https://shop.MYSITE.com');
      
    define('HTTP_CATALOG_SERVER''http://shop.MYSITE.com');
      
    define('HTTPS_CATALOG_SERVER''https://shop.MYSITE.com');

      
    define('DIR_FS_CATALOG''/var/www/clients/client2/web3/web/');

      
    // The next 2 "defines" are for SQL cache support.
      // For SQL_CACHE_METHOD, you can select from:  none, database, or file
      // If you choose "file", then you need to set the DIR_FS_SQL_CACHE to a directory where your apache 
      // or webserver user has write privileges (chmod 666 or 777). We recommend using the "cache" folder inside the Zen Cart folder
      // ie: /path/to/your/webspace/public_html/zen/cache   -- leave no trailing slash  
      
    define('SQL_CACHE_METHOD''none'); 
      
    define('DIR_FS_SQL_CACHE''/var/www/clients/client2/web10/web/cache/');
    Looking at the above, how does shop.MYSITE.com get to the path /var/www/clients/client2/web10/web or any other sub path to get there? (Ie. is there something that is setup with your host to redirect shop.MYSITE.com that isn't carried over when you append your admin directory?)

    Also, was going to comment that the final path supposedly doesn't/shouldn't affect the usage of the cart as the SQL_CACHE_METHOD is set to none... I could be wrong though about that, just thinking the little snippet of instruction above it would indicate that...
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  9. #19
    Join Date
    Jun 2012
    Location
    USA
    Posts
    18
    Plugin Contributions
    0

    Default Re: Can't access admin panel at all

    Quote Originally Posted by Trinity14 View Post
    Twitchin Kitten,
    The error says: includes/configure.php file contents invalid. ie: DIR_FS_CATALOG not valid or not set

    in your configure.php

    define('DIR_FS_CATALOG', '/var/www/clients/client2/web3/web/');

    is it possible that your path needs to say web10 like the one below?

    define('DIR_FS_SQL_CACHE', '/var/www/clients/client2/web10/web/cache/');
    Thank you! That was it.

    Looking at lines of this stuff makes me dizzy sometimes and when BOTH files were exactly the same, AND the cart itself was working, it got me confused, which isn't very hard to do!
    I had to edit this line in BOTH config files. Now the login page shows.

    Thank you everyone. The help was very much appreciated.

  10. #20
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,879
    Plugin Contributions
    96

    Default Re: Can't access admin panel at all

    Quote Originally Posted by lat9 View Post
    Check the following definition in /YOUR_ADMIN/includes/configure.php:
    Code:
    //the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/
      define('DIR_FS_CATALOG', '/var/www/clients/client2/web3/web/');
    Does it contain exactly the same setting as the like-named definition in /includes/configure.php?
    Quote Originally Posted by Twitchin Kitten View Post
    Thank you! That was it.

    Looking at lines of this stuff makes me dizzy sometimes and when BOTH files were exactly the same, AND the cart itself was working, it got me confused, which isn't very hard to do!
    I had to edit this line in BOTH config files. Now the login page shows.

    Thank you everyone. The help was very much appreciated.
    Sometimes, it's hard to see the tree for the forest!

 

 
Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. Can't Access Admin Panel?
    By wizer in forum Basic Configuration
    Replies: 13
    Last Post: 5 Jan 2012, 10:26 PM
  2. admin panel can't access
    By mrm_loader in forum General Questions
    Replies: 2
    Last Post: 18 Jul 2009, 11:00 AM
  3. can't access admin panel
    By zainisupplies in forum Basic Configuration
    Replies: 4
    Last Post: 16 Apr 2009, 07:04 PM

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