Page 1 of 2 12 LastLast
Results 1 to 10 of 20
  1. #1
    Join Date
    Aug 2010
    Posts
    77
    Plugin Contributions
    0

    Default Admin Not Accessible after SSL & Dedicated IP

    Hi - I purchased an SSL certificate and Dedicated IP for my site on Sunday. Site is hoopclothes dot com. We had begun using Paypal Pro so this was necessary.
    After the purchase I edited the config.php files as stated in the tutorial (though the admin/includes/config.php didn't match the directions). I then discovered that the site wasn't coming up, but I had put it in maintenance mode prior and figured it'd be up in 24 hours once everything 're-propagated'.
    The next day I find out it is going to take up to a week for the SSL to be installed. I attempt to get to admin thinking I could turn off maintenance mode, turn off paypal pro and turn off SSL again in the config files. But I get this note in the browser trying to get to admin:

    "You are seeing this page for one or more reasons:

    This is your first time using Zen Cart™ and you haven't yet completed the normal Installation procedure.
    If this is the case for you, you will need to upload the "zc_install" folder using your FTP program, and then run zc_install/index.php via your browser (or reload this page to see a link to it).

    Your /includes/configure.php and/or /admin/includes/configure.php file contains invalid path information and/or invalid database-connection information.
    If you recently edited your configure.php files for any reason, or maybe moved your site to a different folder or different server, then you'll need to review and update all your settings to the correct values for your server.
    See the Online FAQ and Tutorials area on the Zen Cart™ website for assistance."


    Obviously it is not the first time I've used the zencart since I've had the site up almost a year. I looked at the config files and turned the SSL off and re-loaded them.
    I still get the same message as above. I called the host (hostmonster) to check if this was something on their end and they said no. I did need to change my IP to get FTP access once I got the dedicated IP.
    The config files read like this now:
    includes/config.php

    define('HTTP_SERVER', 'http://www.hoopclothes.com');
    define('HTTPS_SERVER', 'https://www.hoopclothes.com');

    // Use secure webserver for checkout procedure?
    define('ENABLE_SSL', 'false');

    and admin/includes/config.php
    define('HTTP_SERVER', 'http://hoopclothes.com');
    define('HTTPS_SERVER', 'https://hoopclothes.com');
    define('HTTP_CATALOG_SERVER', 'http://hoopclothes.com');
    define('HTTPS_CATALOG_SERVER', 'https://hoopclothes.com');

    // Use secure webserver for catalog module and/or admin areas?
    define('ENABLE_SSL_CATALOG', 'false');
    define('ENABLE_SSL_ADMIN', 'false');

    I have tried adding www. to the domain names in the list above and it didn't make any difference.

    Does anyone have any idea what is wrong? Why I can't get to my admin? Help!

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

    Default Re: Admin Not Accessible after SSL & Dedicated IP

    Quote Originally Posted by yeah! View Post
    I edited the config.php files as stated in the tutorial (though the admin/includes/config.php didn't match the directions).
    If the file didn't match the directions, then it sounds like you might be editing the wrong file.

    And, the filename is "configure.php", not "config.php". If you're using the wrong filename, then you're most certainly going to be having problems.

    Quote Originally Posted by yeah! View Post
    But I get this note in the browser trying to get to admin:

    "You are seeing this page for one or more reasons:

    This is your first time using Zen Cart™ and you haven't yet completed the normal Installation procedure.
    If this is the case for you, you will need to upload the "zc_install" folder using your FTP program, and then run zc_install/index.php via your browser (or reload this page to see a link to it).

    Your /includes/configure.php and/or /admin/includes/configure.php file contains invalid path information and/or invalid database-connection information.
    If you recently edited your configure.php files for any reason, or maybe moved your site to a different folder or different server, then you'll need to review and update all your settings to the correct values for your server.
    See the Online FAQ and Tutorials area on the Zen Cart™ website for assistance."
    That message appears when your configure.php file(s) is/are missing, or has too-low permissions such that it's unreadable by Apache/PHP, or if the file contains mangled or invalid contents.
    Quote Originally Posted by yeah! View Post
    The config files read like this now:
    includes/config.php

    define('HTTP_SERVER', 'http://www.hoopclothes.com');
    define('HTTPS_SERVER', 'https://www.hoopclothes.com');

    // Use secure webserver for checkout procedure?
    define('ENABLE_SSL', 'false');

    and admin/includes/config.php
    define('HTTP_SERVER', 'http://hoopclothes.com');
    define('HTTPS_SERVER', 'https://hoopclothes.com');
    define('HTTP_CATALOG_SERVER', 'http://hoopclothes.com');
    define('HTTPS_CATALOG_SERVER', 'https://hoopclothes.com');

    // Use secure webserver for catalog module and/or admin areas?
    define('ENABLE_SSL_CATALOG', 'false');
    define('ENABLE_SSL_ADMIN', 'false');
    Again the note about filenames.
    And if that's *all* you've got in those files, then you're going to have all manner of problems, because all the rest of the regular content is still needed.
    Quote Originally Posted by yeah! View Post
    I have tried adding www. to the domain names in the list above and it didn't make any difference.
    Not surprising. It really should be set to include www. if your storefront does though.
    .

    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.

  3. #3
    Join Date
    Aug 2010
    Posts
    77
    Plugin Contributions
    0

    Default Re: Admin Not Accessible after SSL & Dedicated IP

    Hi - Thanks. Yes sorry the file names are configure.com I typed it wrong in my post. The permissions are set at 444. That was not all my configure.php files contained. Those were the only parts I edited. I will post the entire files below.

    includes>configure.php:

    define('HTTP_SERVER', 'http://www.hoopclothes.com');
    define('HTTPS_SERVER', 'https://www.hoopclothes.com');

    // Use secure webserver for checkout procedure?
    define('ENABLE_SSL', 'false');

    // NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!
    // * DIR_WS_* = Webserver directories (virtual/URL)
    // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
    define('DIR_WS_CATALOG', '/');
    define('DIR_WS_HTTPS_CATALOG', '/');

    define('DIR_WS_IMAGES', 'images/');
    define('DIR_WS_INCLUDES', 'includes/');
    define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
    define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
    define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
    define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
    define('DIR_WS_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/');
    define('DIR_WS_TEMPLATES', DIR_WS_INCLUDES . 'templates/');

    define('DIR_WS_PHPBB', '/');

    // * DIR_FS_* = Filesystem directories (local/physical)
    //the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/
    define('DIR_FS_CATALOG', '/home2/hoopclot/public_html/');

    define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
    define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
    define('DIR_WS_UPLOADS', DIR_WS_IMAGES . 'uploads/');
    define('DIR_FS_UPLOADS', DIR_FS_CATALOG . DIR_WS_UPLOADS);
    define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');

    // define our database connection
    define('DB_TYPE', 'mysql');
    define('DB_PREFIX', 'znc_');
    define('DB_SERVER', 'localhost');
    define('DB_SERVER_USERNAME', 'XXX');
    define('DB_SERVER_PASSWORD', 'XXX');
    define('DB_DATABASE', 'XXX');
    define('USE_PCONNECT', 'false');
    define('STORE_SESSIONS', 'db');
    // for STORE_SESSIONS, use 'db' for best support, or '' for file-based storage

    // 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', 'file');
    define('DIR_FS_SQL_CACHE', '/home2/hoopclot/public_html/cache');

    // EOF


    admin>includes>configure.php:

    define('HTTP_SERVER', 'http://hoopclothes.com');
    define('HTTPS_SERVER', 'https://hoopclothes.com');
    define('HTTP_CATALOG_SERVER', 'http://hoopclothes.com');
    define('HTTPS_CATALOG_SERVER', 'https://hoopclothes.com');

    // Use secure webserver for catalog module and/or admin areas?
    define('ENABLE_SSL_CATALOG', 'false');
    define('ENABLE_SSL_ADMIN', 'false');

    // NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!
    // * DIR_WS_* = Webserver directories (virtual/URL)
    // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
    define('DIR_WS_ADMIN', '/XXX/');
    define('DIR_WS_CATALOG', '/');
    define('DIR_WS_HTTPS_ADMIN', '/XXX/');
    define('DIR_WS_HTTPS_CATALOG', '/');

    define('DIR_WS_IMAGES', 'images/');
    define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
    define('DIR_WS_CATALOG_IMAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'images/');
    define('DIR_WS_CATALOG_TEMPLATE', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/templates/');
    define('DIR_WS_INCLUDES', 'includes/');
    define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
    define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
    define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
    define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
    define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
    define('DIR_WS_CATALOG_LANGUAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/languages/');

    // * DIR_FS_* = Filesystem directories (local/physical)
    //the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/
    define('DIR_FS_ADMIN', '/home2/hoopclot/public_html/XXX/');
    define('DIR_FS_CATALOG', '/home2/hoopclot/public_html/');

    define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');
    define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');
    define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');
    define('DIR_FS_CATALOG_TEMPLATES', DIR_FS_CATALOG . 'includes/templates/');
    define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');
    define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');
    define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

    // define our database connection
    define('DB_TYPE', 'mysql');
    define('DB_PREFIX', 'znc_');
    define('DB_SERVER', 'localhost');
    define('DB_SERVER_USERNAME', 'XXX');
    define('DB_SERVER_PASSWORD', 'XXX');
    define('DB_DATABASE', 'hoopclot_znc1');
    define('USE_PCONNECT', 'false');
    define('STORE_SESSIONS', 'db');
    // for STORE_SESSIONS, use 'db' for best support, or '' for file-based storage

    // 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', 'file');
    define('DIR_FS_SQL_CACHE', '/home2/hoopclot/public_html/cache');

    // EOF

    See anything that would be causing this?

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Admin Not Accessible after SSL & Dedicated IP

    Your Catalog uses the www in the URLs but your Admin does not ...

    You should really change them to match ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  5. #5
    Join Date
    Aug 2010
    Posts
    77
    Plugin Contributions
    0

    Default Re: Admin Not Accessible after SSL & Dedicated IP

    Hi - Thanks. I have changed the admin>includes>configure.php file to match with the www as suggested. It makes no difference. I still can't get to the admin pages.
    See anything else?

  6. #6
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Admin Not Accessible after SSL & Dedicated IP

    Try removing the file:
    /your_secret_admin/includes/configure.php

    from the server and then load a fresh copy ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  7. #7
    Join Date
    Aug 2010
    Posts
    77
    Plugin Contributions
    0

    Default Re: Admin Not Accessible after SSL & Dedicated IP

    If I do that it will delete the .htaccess doc since i can't download it.

    is that a problem?

  8. #8
    Join Date
    Aug 2010
    Posts
    77
    Plugin Contributions
    0

    Default Re: Admin Not Accessible after SSL & Dedicated IP

    Is it possible this issue has to do with the shift to a different server?
    Hostmonster says this should not change any of the paths, but maybe there is something somewhere that needs updating?

    This is so frustrating!! help...

  9. #9
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Admin Not Accessible after SSL & Dedicated IP

    I just want you to remove 1 file on the server:
    /your_secret_admin/includes/configure.php

    and re-load the file to the server to ensure it has the changes you are looking at in the file on your computer ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  10. #10
    Join Date
    Aug 2010
    Posts
    77
    Plugin Contributions
    0

    Default Re: Admin Not Accessible after SSL & Dedicated IP

    Oh, I have done that at least 10 times. Just did it again. No difference.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. installed demo now old admin not accessible
    By VDecalS in forum Upgrading from 1.3.x to 1.3.9
    Replies: 6
    Last Post: 25 Nov 2010, 12:54 AM
  2. My admin panel not accessible in 1.3.9g
    By Crunch in forum Upgrading from 1.3.x to 1.3.9
    Replies: 2
    Last Post: 30 Sep 2010, 10:28 PM
  3. SSL and Admin Login (config file) - only works with dedicated IP???
    By firstimpression in forum General Questions
    Replies: 6
    Last Post: 26 Jan 2007, 10:38 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