osCmax v2.5 User Manual
Results 1 to 4 of 4

moved oscmax to new server, still LIVE...issues

This is a discussion on moved oscmax to new server, still LIVE...issues within the osCMax v1.7 Installation forums, part of the osCmax v1.7 Forums category; Hello people, This is my first post in here and I hope it's an easy one for you gurus. I ...

      
  1. #1
    New Member
    Join Date
    Jul 2005
    Posts
    7
    Rep Power
    0


    Default moved oscmax to new server, still LIVE...issues

    Hello people,
    This is my first post in here and I hope it's an easy one for you gurus. I left a hosting company that used windows servers and went to lunarpages.com and they use unix, which is fine except I am having some directory issues and cannot find where to change some paths. First error

    Warning: session_start() [function.session-start]: open(/var/www/vhost/crowerpower.com/httpdocs/sessions/sess_551645b948920401bc2348d20f174d85, O_RDWR) failed: No such file or directory (2) in /home/crowe5/public_html/estore/includes/functions/sessions.php on line 67

    Warning: The sessions directory does not exist: /var/www/vhost/crowerpower.com/httpdocs/sessions. Sessions will not work until this directory is created.
    This looks very easy but it is created...

    Warning: session_write_close() [function.session-write-close]: open(/var/www/vhost/crowerpower.com/httpdocs/sessions/sess_551645b948920401bc2348d20f174d85, O_RDWR) failed: No such file or directory (2) in /home/crowe5/public_html/estore/includes/functions/sessions.php on line 106

    Under the admin
    Warning: session_start() [function.session-start]: open(/var/www/vhost/crowerpower.com/httpdocs/sessions/sess_9b1681791df6156fc87a6b24c2c8dbdb, O_RDWR) failed: No such file or directory (2) in /home/crowe5/public_html/estore/admin/includes/functions/sessions.php on line 67

    Now I have gone to both configure.php files one under the store and the other in admin to change the path and I still get the error. Any help please...
    Thanks

  2. #2
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    Default Re: moved oscmax to new server, still LIVE...issues

    That looks like a session directory permissions issue. Make sure you either store the sessions in mysql (edit your configure.php files, you will see a sessions entry, change it from blank to mysql) or change the sessions save path in the admin panel from it's current setting to something valid and writable.
    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  3. #3
    New Member
    Join Date
    Jul 2005
    Posts
    7
    Rep Power
    0


    Default Re: moved oscmax to new server, still LIVE...issues

    Here is the config file under store...
    // * DIR_FS_* = Filesystem directories (local/physical)
    // * DIR_WS_* = Webserver directories (virtual/URL)
    define('HTTP_SERVER', 'http://www.crowerpower.com'); // eg, cPanel® - should not be empty for productive servers
    define('HTTPS_SERVER', 'https://crowerpower.com'); // eg, https://localhost - should not be empty for productive servers
    define('ENABLE_SSL', true); // secure webserver for checkout procedure?
    define('HTTP_COOKIE_DOMAIN', 'www.crowerpower.com');
    define('HTTPS_COOKIE_DOMAIN', 'crowerpower.com');
    define('HTTP_COOKIE_PATH', '/estore/');
    define('HTTPS_COOKIE_PATH', '/estore/');
    define('DIR_WS_HTTP_CATALOG', '/estore/');
    define('DIR_WS_HTTPS_CATALOG', '/estore/');
    define('DIR_WS_IMAGES', 'images/');
    define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
    define('DIR_WS_INCLUDES', 'includes/');
    define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
    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', 'pub/');
    define('DIR_FS_CATALOG', 'home/******/public_html/estore');
    define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
    define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

    // define our database connection
    define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers
    define('DB_SERVER_USERNAME', '*********');
    define('DB_SERVER_PASSWORD', '*******');
    define('DB_DATABASE', '**********');
    define('USE_PCONNECT', 'false'); // use persistent connections?
    define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql'
    ?>

    here it is for the admin

    // * DIR_WS_* = Webserver directories (virtual/URL)
    define('HTTP_SERVER', 'http://www.crowerpower.com'); // eg, cPanel® - should not be empty for productive servers
    define('HTTP_CATALOG_SERVER', 'http://www.crowerpower.com');
    define('HTTPS_CATALOG_SERVER', 'https://www.crowerpower.com');
    define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module
    define('DIR_FS_DOCUMENT_ROOT', '/home/*****/public_html/crowerpower.com/estore/'); // where the pages are located on the server
    define('DIR_WS_ADMIN', '/estore/admin/'); // absolute path required
    define('DIR_FS_ADMIN', '/home/******/public_html/crowerpower.com/estore/admin/'); // absolute pate required
    define('DIR_WS_CATALOG', '/estore/'); // absolute path required
    define('DIR_FS_CATALOG', '/home/*****/public_html/crowerpower.com/estore/'); // absolute path required
    define('DIR_WS_IMAGES', 'images/');
    define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
    define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/');
    define('DIR_WS_INCLUDES', 'includes/');
    define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
    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_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/');
    define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');
    define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');
    define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');
    define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');
    define('DIR_FCKEDITOR', DIR_FS_CATALOG . 'FCKeditor/');
    define('DIR_WS_FCKEDITOR', DIR_WS_CATALOG . 'FCKeditor/');

    // define our database connection
    define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers
    define('DB_SERVER_USERNAME', '********');
    define('DB_SERVER_PASSWORD', '******');
    define('DB_DATABASE', '*******');
    define('USE_PCONNECT', 'false'); // use persisstent connections?
    define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql'
    ?>

  4. #4
    New Member
    Join Date
    Jul 2005
    Posts
    7
    Rep Power
    0


    Default Re: moved oscmax to new server, still LIVE...issues

    Thank you, adding the 'mysql' worked.

Similar Threads

  1. osCMax Member Blogs now live
    By michael_s in forum Announcement Discussions
    Replies: 0
    Last Post: 12-22-2006, 09:49 PM
  2. 2 osCMax-2.0RC2 issues
    By macfionn in forum osCMax v2 Features Discussion
    Replies: 7
    Last Post: 01-02-2006, 08:43 PM
  3. OscMax V2.0 and IIS 6.0 Installation Issues
    By lswonger in forum osCmax v2 Installation issues
    Replies: 4
    Last Post: 11-04-2005, 12:35 PM
  4. Download Issues OSCMax RC2
    By Cisco in forum osCmax v2 Installation issues
    Replies: 1
    Last Post: 10-01-2005, 07:35 AM
  5. moved to new server and experiencing set-up errors.
    By innovations in forum osCMax v1.7 Installation
    Replies: 2
    Last Post: 11-28-2003, 09:40 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •