Results 1 to 3 of 3

Hybrid View

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

    session_save_path() [function.session-save-path]:

    www.caytech.net

    i got this error 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
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: session_save_path() [function.session-save-path]:

    I don't see any session-save-path errors on your site.
    Perhaps your problem is that you need to update your Session Write Directory in Admin->Configuration->Sessions, as per the documented server-move instructions:
    http://www.zen-cart.com/wiki/index.p...Switch_Servers


    Additionally, I notice that you're missing the / in these definitions, which should not be blank:
    Code:
    define('DIR_WS_CATALOG', '');
    define('DIR_WS_HTTPS_CATALOG', '');
    .

    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
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: session_save_path() [function.session-save-path]:

    This appears to be the same as you reported elsewhere ...

    http://www.zen-cart.com/forum/showth...524#post284524
    .

    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.

 

 

Similar Threads

  1. v139h Session save path - What does it do please ?
    By rustwood in forum General Questions
    Replies: 1
    Last Post: 31 Mar 2014, 09:00 PM
  2. function.session-save-path Error Cache Folder was 170mb!!
    By wdd49 in forum Installing on a Linux/Unix Server
    Replies: 3
    Last Post: 22 Aug 2011, 11:59 PM
  3. error in path (function.session-save-path) after switching servers
    By stitch in forum Installing on a Linux/Unix Server
    Replies: 7
    Last Post: 16 Feb 2010, 09:37 AM
  4. Replies: 2
    Last Post: 31 May 2009, 11:20 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