Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2009
    Location
    Wimberley, TX
    Posts
    49
    Plugin Contributions
    0

    Default Want to confirm proper new directory coding...

    Hey, everyone!

    I did this once before and locked myself out of the admin panel...want to make sure what I'm doing so I don't foul up again!

    Using zc v1.3.9h w/Glacial Age template

    I have read the tutorial on moving the cart to another directory:

    I have been building in a directory under shannonwestongifts called "newswgstore". Currently, the Sessions Directory part of admin config shows

    /home/content/a/n/d/andycowboy/html/newswgstore/cache.

    I ftp'd all files in the "newswgstore"to my local server, then uploaded them into shannonwestongifts. I'm thinking all I have to do in the Sessions Directory is remove the newswgstore portion.

    Here's what the configure php shows in shannonwestongifts (based on what the tutorial indicates needs to be changed):

    // 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://shannonwestongifts.com');
    define('HTTPS_SERVER', 'https://shannonwestongifts.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', '/');


    Do I need to put "/home/content/a/n/d/andycowboy/html/cache/" in those two blank spaces?


    // * 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', 'D:/Hosting/4651002/html/');


    define('DIR_FS_SQL_CACHE', 'D:/Hosting/4651002/html/cache');

    In admin:

    define('DIR_WS_ADMIN', '/shows proper folder name/');
    define('DIR_WS_CATALOG', '/');
    define('DIR_WS_HTTPS_ADMIN', '/shows proper folder name/');
    define('DIR_WS_HTTPS_CATALOG', '/');


    Do I need to put "/home/content/a/n/d/andycowboy/html/cache/" in those two blank spaces?


    // * 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', 'D:\Hosting\4651002\html\shows proper folder name/');
    define('DIR_FS_CATALOG', 'D:\Hosting\4651002\html/');


    As always, guidance from y'all is greatly appreciated - I'm having one heck of a time trying to figure out .php!

    Have a very Merry Christmas, Happy Chanukah, or Happy Kwaanza - whatever you're celebrating this month - and a very properous New Yaer!
    Andy
    The Ole Cowboy - Getting Older, But Not Aging
    Shannon Weston Gifts and Decor

  2. #2
    Join Date
    May 2010
    Location
    WA State
    Posts
    1,678
    Plugin Contributions
    3

    Default Re: Want to confirm proper new directory coding...

    Change this to true:

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

    This appears to be wrong:

    define('DIR_FS_CATALOG', 'D:/Hosting/4651002/html/');

    Should be something like:

    define('DIR_FS_CATALOG', '/home/your_username/public_html/');

    Same with this:

    define('DIR_FS_SQL_CACHE', 'D:/Hosting/4651002/html/cache');

    Unless you have some kind of weird hosting. You should verify that path.

    These should be forward slashes, not back slashes:

    define('DIR_FS_ADMIN', 'D:\Hosting\4651002\html\shows proper folder name/');
    define('DIR_FS_CATALOG', 'D:\Hosting\4651002\html/');

    And same potential issue with the path.

 

 

Similar Threads

  1. New items and no clue how to add proper shipping
    By DownRightNatural in forum Built-in Shipping and Payment Modules
    Replies: 8
    Last Post: 15 Jan 2016, 05:05 PM
  2. Proper place to store a new php function?
    By edwardtilbury in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 18 Aug 2009, 01:25 AM
  3. I want to Confirm PayPal email address after payment
    By SonicE in forum PayPal Website Payments Pro support
    Replies: 0
    Last Post: 17 Apr 2008, 07:32 AM
  4. Replies: 1
    Last Post: 28 Sep 2007, 03:43 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