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 ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| 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
| ||||
| ||||
| 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
|
| The Following User Says Thank You to michael_s For This Useful Post: | ||
abacususer (02-08-2008) | ||
|
#3
| |||
| |||
| 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
| |||
| |||
| Thank you, adding the 'mysql' worked. |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| osCMax Member Blogs now live | michael_s | Announcement Discussions | 0 | 12-22-2006 10:49 PM |
| 2 osCMax-2.0RC2 issues | macfionn | osCMax v2 Features Discussion | 7 | 01-02-2006 09:43 PM |
| OscMax V2.0 and IIS 6.0 Installation Issues | lswonger | osCMax v2 Installation issues | 4 | 11-04-2005 01:35 PM |
| Download Issues OSCMax RC2 | Cisco | osCMax v2 Installation issues | 1 | 10-01-2005 07:35 AM |
| moved to new server and experiencing set-up errors. | innovations | osCMax v1.7 Installation | 2 | 11-28-2003 10:40 AM |