Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 2010
    Posts
    1
    Plugin Contributions
    0

    Default physical path problem on install

    I am getting a blank page for my store and my admin. I ran the debugger and all problems point to the physical path which zen cart automatically picked for me. It seems to copy the path from these lines from includes/configure.php "define('DIR_FS_CATALOG', '/customers/scrolldesign.co.uk/scrolldesign.co.uk/httpd.www/zencart/'); "

    Can anyone please tell me what these lines should read so that I can change them and re-install or does anyone know a way to fix my problem without reinstalling?

    Here is what my includes/configure.php file reads:-



    <?php
    /**
    * @package Configuration Settings circa 1.3.8
    * @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
    */


    /*************** NOTE: This file is similar, but DIFFERENT from the "admin" version of configure.php. ***********/
    /*************** The 2 files should be kept separate and not used to overwrite each other. ***********/

    // 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://www.scrolldesign.co.uk');
    define('HTTPS_SERVER', 'https://www.scrolldesign.co.uk');

    // 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', '/zencart/');
    define('DIR_WS_HTTPS_CATALOG', '/zencart/');

    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', '/customers/scrolldesign.co.uk/scrolldesign.co.uk/httpd.www/zencart/');

    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', 'scrolldesign.co.uk.mysql');


    define('DB_DATABASE', 'scrolldesign_co');
    define('USE_PCONNECT', 'false');
    define('STORE_SESSIONS', '');
    // 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', '/customers/scrolldesign.co.uk/scrolldesign.co.uk/httpd.www/zencart/cache');

    // EOF



    Thankyou for any help you can offer!

  2. #2
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: physical path problem on install

    Sorry, but there's no way *we* can guess the physical path details of how your hosting company chose to set up their server. You'll need to ask *them* what the correct paths should be.
    .

    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
    Nov 2004
    Location
    Norfolk, United Kingdom
    Posts
    3,036
    Plugin Contributions
    2

    Default Re: physical path problem on install

    Or you could do this:

    1. Create a new text document on your desktop and name it cwd.php. Ignore the warning about changing the file type.

    2. Put this code into it:
    Code:
    <?php
    $p = getcwd();
    echo $p;
    ?>
    3. Upload it to the root of your domain via FTP.

    4. Go to http://www.yourdomain.com/cwd.php via your browser and printed on the screen will be the full pathway to the root of your domain.

    5. Write down that pathway and then delete the cwd.php file from your hosting.

    Vger

 

 

Similar Threads

  1. Install will not accept my Physical Path!
    By evanlydigital in forum Installing on a Windows Server
    Replies: 6
    Last Post: 30 Mar 2011, 09:04 PM
  2. New Install 1.3.9 Physical Path Incorrect
    By Agent4bid in forum Installing on a Linux/Unix Server
    Replies: 9
    Last Post: 18 Nov 2010, 06:33 PM
  3. Zencart Install> System Setup> Physical path is incorrect
    By dsydius in forum General Questions
    Replies: 2
    Last Post: 9 Aug 2010, 03:50 PM
  4. new install, physical path is incorrect
    By engravee in forum Installing on a Linux/Unix Server
    Replies: 4
    Last Post: 10 Apr 2007, 03:19 PM
  5. physical path problem on install
    By everlost in forum Installing on a Windows Server
    Replies: 6
    Last Post: 13 Aug 2006, 05:05 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