Results 1 to 10 of 14

Hybrid View

  1. #1
    Join Date
    Aug 2006
    Posts
    13
    Plugin Contributions
    0

    Default Can't find admin page me too

    Hi

    I have the same problem as a previous poster, but having read the thread I still do not know what to do. However, since this is evidently part of the process, I am posting below the admin/includes/configure.php file

    I have asked my web hosters for help on this, and they have "
    modified the configuration slightly so that your secure link (ie.
    https://serve-ssl.co.uk/computerhypnosis/) points at the public_html
    folder rather than the secure folder in your FTP area."

    They also say, in response to my sending them the 404 error url, that "
    The admin folder does not exist at the level in your example url. It
    should say
    https://serve-ssl.co.uk/computerhypn...min/login.php? not
    https://serve-ssl.co.uk/computerhypn...dmin/login.php
    "

    contents of admin/includes/configure.php file

    <?php
    //
    /**
    *
    * @package Configuration Settings
    * @copyright Copyright 2003-2006 Zen Cart Development Team
    * @copyright Portions Copyright 2003 osCommerce
    * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
    */


    // Define the webserver and path parameters
    // Main webserver: eg, http://localhost - should not be empty for productive servers
    // HTTP_SERVER is your Main webserver: eg, http://www.yourdomain.com
    // HTTPS_SERVER is your Secure webserver: eg, https://www.yourdomain.com
    // HTTP_CATALOG_SERVER is your Main webserver: eg, http://www.yourdomain.com
    // HTTPS_CATALOG_SERVER is your Secure webserver: eg, https://www.yourdomain.com
    /*
    * URLs for your site will be built via:
    * HTTP_SERVER plus DIR_WS_ADMIN or
    * HTTPS_SERVER plus DIR_WS_HTTPS_ADMIN or
    * HTTP_SERVER plus DIR_WS_CATALOG or
    * HTTPS_SERVER plus DIR_WS_HTTPS_CATALOG
    * ...depending on your system configuration settings
    */
    define('HTTP_SERVER', 'http://computeraidedselfhypnosis.com');
    define('HTTPS_SERVER', 'https://serve-ssl.co.uk');
    define('HTTP_CATALOG_SERVER', 'http://computeraidedselfhypnosis.com');
    define('HTTPS_CATALOG_SERVER', 'https://serve-ssl.co.uk');

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

    // 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', '/catalog/admin/');
    define('DIR_WS_CATALOG', '/catalog/');
    define('DIR_WS_HTTPS_ADMIN', '/computerhypnosis/admin/');
    define('DIR_WS_HTTPS_CATALOG', '/computerhypnosis/');

    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', '/home/computerhypnosis/public_html/catalog/admin/');
    define('DIR_FS_CATALOG', '/home/computerhypnosis/public_html/catalog/');

    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', '');
    define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty



    define('USE_PCONNECT', 'false'); // use persistent connections?
    define('STORE_SESSIONS', 'db'); // leave empty '' for default handler or set to 'db'

    // 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', '/home/computerhypnosis/public_html/catalog/cache');

    ?>

    I'd be very grateful for help on resolving this because I have no database experience and I am totally lost.

    Thanks

    EDITED: Never, ever post the zen_id or zenAdminID (session id) in a forum, email, newsgroup, newsletter, advertisement, etc. etc. etc. or you will be doomed ...
    Last edited by Ajeh; 1 Aug 2006 at 07:36 PM.

  2. #2
    Join Date
    Jun 2003
    Posts
    33,721
    Plugin Contributions
    0

    Default Re: Can't find admin page me too

    Code:
    * URLs for your site will be built via:
    * HTTP_SERVER plus DIR_WS_ADMIN or
    * HTTPS_SERVER plus DIR_WS_HTTPS_ADMIN or
    * HTTP_SERVER plus DIR_WS_CATALOG or
    * HTTPS_SERVER plus DIR_WS_HTTPS_CATALOG
    * ...depending on your system configuration settings
    */
    define('HTTP_SERVER', 'http://computeraidedselfhypnosis.com');
    define('HTTPS_SERVER', 'https://serve-ssl.co.uk/computerhypnosis');
    define('HTTP_CATALOG_SERVER', 'http://computeraidedselfhypnosis.com');
    define('HTTPS_CATALOG_SERVER', 'https://serve-ssl.co.uk/computerhypnosis/');
    
    // Use secure webserver for catalog module and/or admin areas?
    define('ENABLE_SSL_CATALOG', 'true');
    define('ENABLE_SSL_ADMIN', 'true');
    
    // 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', '/catalog/admin/');
    define('DIR_WS_CATALOG', '/catalog/');
    define('DIR_WS_HTTPS_ADMIN', '/catalog/admin/');
    define('DIR_WS_HTTPS_CATALOG', '/catalog/');

    Make the changes above- note you need to do BOTH the admin/includes/configure.php and the catalog/includes/configure.php.

  3. #3
    Join Date
    Aug 2006
    Posts
    13
    Plugin Contributions
    0

    Default Re: Can't find admin page me too

    Thanks very much indeed. Greatly appreciated.

  4. #4
    Join Date
    Aug 2006
    Posts
    13
    Plugin Contributions
    0

    Default Re: Can't find admin page me too

    Tnanks also Ajeh for editing away my senstive info. I only knew not to post the database name, user name and password, I'd no idea about zen_id or zenAdminID. Now I know.

  5. #5
    Join Date
    Aug 2006
    Posts
    13
    Plugin Contributions
    0

    Default Re: Can't find admin page me too

    Er, now that I have gone and looked through my configure.php file I can't find 'zen_id', 'zenAdminID', or 'session id' in the file. I'm not sure what I posted that I should not have, or perhaps I didn't and the message from Ajeh is just a warning. Please could someone enlighten me as I don't want to repeat a mistake I have made, or make a different one in the future, especially when the warning is so drastic! Apologies if this is all terribly obvious, I really am totally new to this kind of thing! Thanks.

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

    Default Re: Can't find admin page me too

    Depending on the URL you are looking at when you grab it ... some have the zenid or zenAdminID in the URL ...

    What you need to be sure of is that when copying and pasting an URL anywhere, that you cut that peice off ...
    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!]
    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!

 

 

Similar Threads

  1. Can't find admin login page after new installation
    By Solfant in forum Installing on a Linux/Unix Server
    Replies: 4
    Last Post: 17 Jun 2015, 05:17 PM
  2. Can't find login page admin cPanel
    By gabrielmulino in forum General Questions
    Replies: 1
    Last Post: 13 Sep 2011, 01:38 PM
  3. Random tweaks I can't seem to find answers too
    By stlnyc in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 19 Mar 2009, 12:19 AM
  4. Can't find Admin Page
    By eliciacw in forum Installing on a Linux/Unix Server
    Replies: 7
    Last Post: 21 Jul 2006, 06:59 PM
  5. Replies: 3
    Last Post: 28 May 2006, 09:00 AM

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