cwipperman Posted December 2, 2004 Share Posted December 2, 2004 Had the cart running with no problems for over a year now... then all of a sudden... following error at the bottom of the pages..... Warning: session_write_close(): write failed: No space left on device (28) in /home/american/public_html/shop/includes/functions/sessions.php on line 106 Warning: session_write_close(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in /home/american/public_html/shop/includes/functions/sessions.php on line 106 I know a little bit about how to fix stuff - but I'm not super-advanced, so please let me know what is causing this in laymans terms. Thank You so much in advance for your assistance. Link to comment Share on other sites More sharing options...
3psilon Posted December 2, 2004 Share Posted December 2, 2004 I am voting for the database or hdd being full 'No space left on device'. This is unlikely though. Perhaps it is a temp cache folder (/tmp) that has a limit on it and it is full now. Perhaps flushing that would resolve the problem? Though I could be way out to lunch here, use my advice at your own risk. :-" Link to comment Share on other sites More sharing options...
cwipperman Posted December 2, 2004 Author Share Posted December 2, 2004 I have the hosting account set up with unliminted space on the disc (I have a dedicated server) - so I doubt it is an issue of running out of space - there is an 80 gig hd on the server. This is weird though... I went back to the site - and the error message was gone.... then.... I tried to do a test by adding an item to the cart - and the error is back. Link to comment Share on other sites More sharing options...
cwipperman Posted December 2, 2004 Author Share Posted December 2, 2004 OK, maybe this will give more info. Now, when I try to ad an item to the cart - I click on the "add to cart" button - and it takes me to the cart page - but says "your cart is empty". Link to comment Share on other sites More sharing options...
3psilon Posted December 2, 2004 Share Posted December 2, 2004 It sounds like a caching issue. The path that stores the temporary cookies or information of what is in the customers' shopping cart is full, or appears to be. I don't know the program thoroughly enough to give you specifics, but that sound like the problem. Hopefully an insightful admin will wander by and shed some light on the situation. Link to comment Share on other sites More sharing options...
cwipperman Posted December 2, 2004 Author Share Posted December 2, 2004 OK, I am by NO MEANS an expert.... and I'm very new at all of this PHP stuff. Here's a couple of observations I made - and maybe this will help someone figure out the problem. First, it is not giving the message at this particular minute. But.. it stopped earlier - and then came back. Second, I can usually tell by looking in the "who's online" section if there is a "bot" searching the site - because the cart for a specific IP address will show practically every item on the site. So, I know that something is crawling the site and viewing all of the pages. Third.... when I WAS having the message - I went to the "who's online" page. What I noticed was that instead of the 7 or 8 folks that are normally online - there was one IP that showed up on the page about 90 times. I have never seen that "who's online" page show so many enteries. So.... my thoughts (and remember... I know very little about this) is that something caused the temp cache file to "overload", or to get so backed up it couldn't write to the file. Is that possible? Has anyone ever seen a bot or crawler "clog" up the cache before? Is there something I can do to stop this (if this is possibly the problem). FYI... I'm pretty sure it is a "bot" because in the past when I've seen that IP I have done a whois on it and it comes back to "Microsoft MSN" as the registar. Link to comment Share on other sites More sharing options...
cwipperman Posted December 3, 2004 Author Share Posted December 3, 2004 ~HELP~ I still haven't had any responses - and the problem is back. Can someone tell me if I should "clean out" my "Temp Cache" file? If so - how do I do this safely? Anyone know why this is happening? Link to comment Share on other sites More sharing options...
OceanRanch Posted December 3, 2004 Share Posted December 3, 2004 Change catalog/includes/configure.php and catalog/admin/includes/configure.php Change the entry for sessions to define('STORE_SESSIONS', 'mysql'); HTH Tom Link to comment Share on other sites More sharing options...
cwipperman Posted December 3, 2004 Author Share Posted December 3, 2004 Tom, Thanks for the reply.... I just check and both of those are already set to define('STORE_SESSIONS', 'mysql'); Any other ideas? Link to comment Share on other sites More sharing options...
cwipperman Posted December 3, 2004 Author Share Posted December 3, 2004 I don't know if this is part of the issue - but my Temp Cache file is currently about 11.6 megs in size? Is this normal? Link to comment Share on other sites More sharing options...
cwipperman Posted December 3, 2004 Author Share Posted December 3, 2004 Anyone???? Link to comment Share on other sites More sharing options...
OceanRanch Posted December 4, 2004 Share Posted December 4, 2004 Yes, it sounds like your Host provider has a very small allocation of space for you and/or something else is filling it up. Unless you have a very large number of categories and products you should be able to run the shop with caching turned off. Administration->Configuration->Cache Set it to false. If you really need cache then change the Cache Directory to the full path of your root site and create a directory (maybe mycache) and set permission to 777 readable and rightable to all. Then check with your ISP on how much space you are allocated and monitor it. HTH Tom Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.