Retix Posted September 20, 2010 Posted September 20, 2010 Hi guys any idea on how to fix : Warning: The sessions directory does not exist: SESSION_WRITE_DIRECTORY. Sessions will not work until this directory is created. thanks remmy
♥mdtaylorlrim Posted September 20, 2010 Posted September 20, 2010 Hi guys any idea on how to fix : Warning: The sessions directory does not exist: SESSION_WRITE_DIRECTORY. Sessions will not work until this directory is created. thanks remmy Usually this is a result of your host not aliasing /tmp to a directory in your own web space path. Remove the / before /tmp and create the directory and it will probably start working. On the other hand, my sessions are stored in the database but for the life of me I cannot find the setting that tells osC to use the database instead of the directory. Hopefully someone else will correct me. Community Bootstrap Edition, Edge Avoid the most asked question. See How to Secure My Site and How do I...?
chadcloman Posted September 21, 2010 Posted September 21, 2010 This error message will go away if you use the MySQL database as the session store. To configure osCommerce to use the MySQL store, change the following line in both of the configure.php files: define('STORE_SESSIONS', ''); to be this: define('STORE_SESSIONS', 'mysql'); Note that this will have the effect of logging everyone out and aborting any checkouts that were in progress. It will also empty any temporary shopping carts for customers who were not logged in. . Check out Chad's News.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.