Results 1 to 5 of 5
  1. #1
    Join Date
    Apr 2006
    Posts
    136
    Plugin Contributions
    0

    how to configure my configure.php file

    www.caytech.net

    i got this warning when i configure my files.. from other server

    what is main reason.? how i can solve this.

    my config file
    --------------------------------------------------------------------------------
    define('HTTP_SERVER', 'http://www.caytech.net');
    define('HTTPS_SERVER', 'https://www.caytech.net');

    // 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', '/usr/local/apache2/misc/23/699/532/568/user/web/caytech.net/');

    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', '8888888');
    define('DB_SERVER_USERNAME', 'xxxxx);
    define('DB_SERVER_PASSWORD', 'xxxxxxxx');
    define('DB_DATABASE', xxxxx');
    define('USE_PCONNECT', 'false'); // use persistent connections?
    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', '/usr/local/apache2/misc/23/699/532/568/user/web/caytech.net/cache');

    ?>
    -------------------------------------------------------------------

    my functions/sessions.php:145 code:
    ************************************************************

    function zen_session_save_path($path = '')
    {
    if (!empty($path))
    {
    return session_save_path($path);
    } else {
    return session_save_path();
    }
    }
    ************************************************************

    to see my php info file :

    www.caytech.net/phpinfo.php


    seeking for any one urgent help

    vishal.comp######################
    [email protected]

  2. #2
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: how to configure my configure.php file

    Compare the following with your file, you should see what you are missing.

    define('DIR_WS_CATALOG', '/');
    define('DIR_WS_HTTPS_CATALOG', '/');

  3. #3
    Join Date
    Apr 2006
    Posts
    136
    Plugin Contributions
    0

    Default Re: how to configure my configure.php file

    thanks man

    its done

    thanks one more time

  4. #4
    Join Date
    Apr 2006
    Posts
    136
    Plugin Contributions
    0

    Default Re: how to configure my configure.php file

    man it still saw error on this pages:

    http://www.caytech.net/index.php?mai...=shopping_cart

    add any prdouct and then see "Backtoshopping"


    hope you help me soon just like previos one

  5. #5
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: how to configure my configure.php file

    I posted the fix to this in one of the three other posts on this,

    you need to add a / to the defines
    in your includes configure.php you have this

    define('DIR_WS_CATALOG', '');
    define('DIR_WS_HTTPS_CATALOG', '');

    and you need to make it like this

    define('DIR_WS_CATALOG', '/');
    define('DIR_WS_HTTPS_CATALOG', '/');
    Zen cart PCI compliant Hosting

 

 

Similar Threads

  1. I trashed my configure.php file. How do I recover?
    By John Vieth in forum General Questions
    Replies: 10
    Last Post: 11 May 2010, 02:46 PM
  2. How to set right user permisssons configure.php file?
    By ngocnguyen in forum Basic Configuration
    Replies: 14
    Last Post: 18 Jul 2009, 04:02 PM
  3. Can't rename dist-configure.php because there is already a configure.php
    By mamasylvia in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 17 Mar 2008, 06:57 AM
  4. How to change location of configure.php file ?
    By zax80 in forum General Questions
    Replies: 3
    Last Post: 21 Dec 2007, 04:42 PM

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