Full service web hosting, great prices and support. Starts at $1.99/month!
Results 1 to 4 of 4

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

  1. #1
    abacususer
    Guest


    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


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


    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    23,134
    Contribute If you enjoy reading the
    content here, click the below
    image to support our site.
    Click Here To Contribute To Our Site

    Total Contributions For

    michael_s     $ 10.00
    Rep Power
    597


    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.

  3. #3
    abacususer
    Guest


    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
    abacususer
    Guest


    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, 10:49 PM
  2. 2 osCMax-2.0RC2 issues
    By macfionn in forum osCMax v2 Features Discussion
    Replies: 7
    Last Post: 01-02-2006, 09: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, 01: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, 10:40 AM

Bookmarks

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
  •