sand_danser Posted December 30, 2005 Share Posted December 30, 2005 I've set my OC up and done all the neccessary requirements but am getting this error: Warning: The sessions directory does not exist: /usr/local/psa/home/vhosts/geordietackle.co.uk/httpdocs/catalog/includes/functions/sessions.php/tmp. Sessions will not work until this directory is created. I've set the sessions to "tmp" that used to be "/tmp" by default but nothings happened. It's telling me I need to create a "tmp" directory in the "sessions.php" file but that doesn't sound right to me ? can anyone guide me please :blink: Link to comment Share on other sites More sharing options...
♥Vger Posted December 30, 2005 Share Posted December 30, 2005 Change the last line of both configure.php files to read 'mysql' where indicated. This will store sessions in the database and not in files in a folder. Sessions stored in the database have a set expiry time, but sessions stored in files do not have a set expiry time and just accumulate. Vger Link to comment Share on other sites More sharing options...
sand_danser Posted December 30, 2005 Author Share Posted December 30, 2005 thanks for that Rhea, I edited the last line of the "includes/configure.php file to "define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' ?> and it's fixed it so I haven't edited the catalog/admin/configure.php file. This file doesn't have the option on the last line anyway so I thought I best leave it. Is this ok ? Link to comment Share on other sites More sharing options...
sand_danser Posted December 30, 2005 Author Share Posted December 30, 2005 There's still errors in admin so I guess I need to edit the other config file after all but where do I do it as I can't find anything to do with sessions in there ? Link to comment Share on other sites More sharing options...
♥Vger Posted December 30, 2005 Share Posted December 30, 2005 catalog/admin/includes/configure.php Vger Link to comment Share on other sites More sharing options...
sand_danser Posted December 30, 2005 Author Share Posted December 30, 2005 Sorted, thanks for that Rhea, I was looking at the wrong config file but it's fixed now B) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.