Results 1 to 10 of 13

Hybrid View

  1. #1
    Join Date
    Nov 2010
    Posts
    8
    Plugin Contributions
    0

    Default Re: Moving store from one domain to another

    // Define the webserver and path parameters
    // HTTP_SERVER is your Main webserver: eg-http://www.your_domain.com
    // HTTPS_SERVER is your Secure webserver: eg-https://www.your_domain.com
    define('HTTP_SERVER', 'http://dorfab.com');
    define('HTTPS_SERVER', 'https://dorfab.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', '/homepages/11/d313267184/htdocs/DORFab/');

    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', '');
    define('DB_SERVER', *********);
    define('DB_SERVER_USERNAME', ************);
    define('DB_SERVER_PASSWORD', ********);
    define('DB_DATABASE', '************);
    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', 'none');
    define('DIR_FS_SQL_CACHE', '/homepages/11/d313267184/htdocs/DORFab/cache');

  2. #2
    Join Date
    Nov 2010
    Posts
    8
    Plugin Contributions
    0

    Default Re: Moving store from one domain to another

    whoops, I feel like a dummy now. I looked in the ftp program and saw the update of configure did not load. Loaded it and works great now.

  3. #3
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Moving store from one domain to another

    Great!!

    It is always the little things
    Zen-Venom Get Bitten

  4. #4
    Join Date
    Nov 2010
    Posts
    8
    Plugin Contributions
    0

    Default Re: Moving store from one domain to another

    Thanks for the help!


    On a side note (I am still fairly new the coding).

    I have our logo on the header but can't seem to locate a section of code that will allow me to center the logo. Anyone know where to look?

  5. #5
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Moving store from one domain to another

    Find in your stylesheet.css file
    Code:
    #logo, .centerBoxContents, .specialsListBoxContents, .categoryListBoxContents, .centerBoxContentsAlsoPurch, .attribImg {
    	float: left;
    	}
    Seperate out the logo to resemble this
    Code:
    #logo {
    	text-align: center;
    	}
    
    .centerBoxContents, .specialsListBoxContents, .categoryListBoxContents, .centerBoxContentsAlsoPurch, .attribImg {
    	float: left;
    	}
    Also edit this to be 288px for the height
    Code:
    #logoWrapper{
    	background-image: url(../images/header_bg.jpg);
    	background-repeat: repeat-x;
    	background-color: #ffffff;
    	height: 75px;
    	}
    Zen-Venom Get Bitten

  6. #6
    Join Date
    Nov 2010
    Posts
    8
    Plugin Contributions
    0

    Default Re: Moving store from one domain to another

    Thanks again

  7. #7
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Moving store from one domain to another

    Swapped those around but now I have a navigation bar under the logo
    And you don't want it or want it somewhere else?
    Zen-Venom Get Bitten

  8. #8
    Join Date
    Nov 2010
    Posts
    8
    Plugin Contributions
    0

    Default Re: Moving store from one domain to another

    You got me before the edit, I messed up my code but fixed it.

 

 

Similar Threads

  1. v139d Moving site from one domain/url to another
    By Omar Ramirez in forum General Questions
    Replies: 2
    Last Post: 22 Feb 2016, 11:19 PM
  2. v151 Moving store from one server to another
    By Wasim71 in forum General Questions
    Replies: 5
    Last Post: 16 Jun 2015, 05:27 PM
  3. Moving DB from one domain to another on same server
    By donzi in forum General Questions
    Replies: 10
    Last Post: 23 Mar 2013, 01:31 AM
  4. v150 Transfer current store from one domain to another?
    By gatorbows in forum General Questions
    Replies: 4
    Last Post: 18 Feb 2012, 07:34 AM
  5. Moving from one domain to another
    By FatGuyinAZ in forum General Questions
    Replies: 6
    Last Post: 27 Nov 2007, 06:18 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