Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    Join Date
    Oct 2007
    Posts
    8
    Plugin Contributions
    0

    help question confused, please help!

    Hi, I move my cart from a directory '/shop/' to my base folder '/' ... everyhing worked fine except now when i goto http://hemptent.com/admin it redirects to this: http://hemptent.comdir_ws_adminlogin.php/ which of course throws up a page load error...

    I guessed there must be something wrong in my /admin/includes/configure.php but I can't find anything.... so I'm really confused because I've never seen anything like this before.

    Any ideas???

    Thanks so much,
    Emily

  2. #2
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,157
    Plugin Contributions
    0

    Default Re: confused, please help!

    Did you change the sessions directory as outlined in http://tutorials.zen-cart.com/index.php?article=122?
    Mary Ellen
    I came; I saw; I Zenned
    Taking over the world... one website at a time
    Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

    Holzheimer
    Fan Odyssey

  3. #3
    Join Date
    Oct 2007
    Posts
    8
    Plugin Contributions
    0

    Default Re: confused, please help!

    Yes, before I started, I've also run the fix_cache_key file in the base directory.

  4. #4
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,157
    Plugin Contributions
    0

    Default Re: confused, please help!

    Hmmm.. can you post the admin/includes/configure.php removing any sensitive info (like passwords)?
    Mary Ellen
    I came; I saw; I Zenned
    Taking over the world... one website at a time
    Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

    Holzheimer
    Fan Odyssey

  5. #5
    Join Date
    Oct 2007
    Posts
    8
    Plugin Contributions
    0

    Default Re: confused, please help!

    Okay, thanks for the assistance...


    <?php
    /**
    * dist-configure.php
    *
    * @package Configuration Settings
    * @package Admin
    * @copyright Copyright 2003-2007 Zen Cart Development Team
    * @copyright Portions Copyright 2003 osCommerce
    * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
    * @version $Id: dist-configure.php 6329 2007-05-16 15:36:56Z drbyte $
    * @private
    */

    // Define the webserver and path parameters
    // 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
    /*
    * URL's 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
    *
    * If you desire your *entire* admin to be SSL-protected, make sure you use a "https:" URL for all 4 of the following:
    */
    define('HTTP_SERVER', 'http://hemptent.com');
    define('HTTPS_SERVER', 'https://hemptent.com');
    define('HTTP_CATALOG_SERVER', 'http://hemptent.com');
    define('HTTPS_CATALOG_SERVER', 'https://hemptent.com');

    // 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', '/admin/');
    define('DIR_WS_CATALOG', '/');
    define('DIR_WS_HTTPS_ADMIN', '/admin/');
    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', '/home/content/e/m/i/emijean/html/hemptent/admin/'); define('DIR_FS_CATALOG', '/home/content/e/m/i/emijean/html/hemptent/');

    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', 'zen_');
    define('DB_SERVER', 'p50mysql215.secureserver.net');
    define('DB_SERVER_USERNAME', '*****************');
    define('DB_SERVER_PASSWORD', '********');
    define('DB_DATABASE', '*************');
    define('USE_PCONNECT', 'false');
    define('STORE_SESSIONS', 'db');
    // 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', 'none');
    define('DIR_FS_SQL_CACHE', '/home/content/e/m/i/emijean/html/hemptent/cache');

    ?>

  6. #6
    Join Date
    Oct 2007
    Posts
    8
    Plugin Contributions
    0

    Default Re: confused, please help!

    Anyone?

  7. #7
    Join Date
    Sep 2008
    Location
    London UK
    Posts
    102
    Plugin Contributions
    0

    Default Re: confused, please help!

    probably a stupid reply but are you sure the admin folder was uploaded (and all other files/folders) ?

  8. #8
    Join Date
    Oct 2007
    Posts
    8
    Plugin Contributions
    0

    Default Re: confused, please help!

    yes. everything is there.

  9. #9
    Join Date
    Dec 2007
    Location
    Acton, California
    Posts
    427
    Plugin Contributions
    1

    Default Re: confused, please help!

    Quote Originally Posted by emijean View Post
    yes. everything is there.
    If you moved to base folder then this,

    define('DIR_FS_ADMIN', '/home/content/e/m/i/emijean/html/hemptent/admin/');
    define('DIR_FS_CATALOG', '/home/content/e/m/i/emijean/html/hemptent/');
    should be,

    Code:
    define('DIR_FS_ADMIN', '/home/content/e/m/i/emijean/html/admin/');
     define('DIR_FS_CATALOG', '/home/content/e/m/i/emijean/html/');
    That's assuming you're following some order such as

    /vhost/accountname/public_html/store/

    and changed to

    /vhost/accountname/public_html/

    That's the only thing I can see with your configure...
    Dave
    FourSaleBuyU.com (true Auction and 'Make-an-Offer' site)

  10. #10
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,151
    Plugin Contributions
    0

    Default Re: confused, please help!

    Adding to what Dave just posted, you also need to change the last line in both your config files.

    Incorrect
    define('DIR_FS_SQL_CACHE', '/home/content/e/m/i/emijean/html/hemptent/cache');

    Correct
    define('DIR_FS_SQL_CACHE', '/home/content/e/m/i/emijean/html/cache');
    The learning is in the doing.

    Potent Products

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Confused.
    By dglickler1234 in forum Built-in Shipping and Payment Modules
    Replies: 4
    Last Post: 8 Feb 2007, 05:52 AM
  2. still a bit confused
    By earmsby in forum Upgrading from 1.3.x to 1.3.9
    Replies: 1
    Last Post: 22 Dec 2006, 11:15 PM
  3. Confused!!!
    By shadez2270 in forum Setting Up Categories, Products, Attributes
    Replies: 5
    Last Post: 20 Dec 2006, 05:02 AM
  4. Confused...
    By Muddler in forum General Questions
    Replies: 5
    Last Post: 16 Oct 2006, 12:36 AM
  5. Help Im confused
    By smoked1 in forum Basic Configuration
    Replies: 3
    Last Post: 12 May 2006, 05:42 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
  •