Orionsbelter Posted April 6, 2010 Share Posted April 6, 2010 Warning: Unknown: write failed: No space left on device (28) in Unknown on line 0 Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct () in Unknown on line 0 This PHP error has only just popped up on my script, there has been no changes to the script. However i recently reformatted my laptop and reinstalled Google Chrome. Can some please help me by telling me what this error means. Thank you Quote Link to comment Share on other sites More sharing options...
Orionsbelter Posted April 6, 2010 Author Share Posted April 6, 2010 Anyone? Quote Link to comment Share on other sites More sharing options...
Pikachu2000 Posted April 6, 2010 Share Posted April 6, 2010 It sounds as though directory quotas are enabled, and the directory is full. Is the web server running on your laptop, or is this a hosted site? Quote Link to comment Share on other sites More sharing options...
Mchl Posted April 6, 2010 Share Posted April 6, 2010 It says the disk you're writing to is full. Check the your session directory to see which disk it is. Also there's at least one report that says it was due to HD failure. Quote Link to comment Share on other sites More sharing options...
oni-kun Posted April 6, 2010 Share Posted April 6, 2010 A good rm -rf /tmp should do 'it. Try writing to a massive file, to see if it really is full though. Quote Link to comment Share on other sites More sharing options...
Orionsbelter Posted April 6, 2010 Author Share Posted April 6, 2010 This is a hosted site on freehostia.com, (it's also the top hosting package). I contacted them and they say they have not changes anything in the php.ini Quote Link to comment Share on other sites More sharing options...
Orionsbelter Posted April 6, 2010 Author Share Posted April 6, 2010 worked it out, session_register('username'); $_SESSION['username'] = $fetch->Username; CHANGED IT TO: session_register('username'); $_SESSION['username'] = "$fetch->Username"; It did work before with the "" but i had to add the " " for it too work. Thank you everybody Quote Link to comment Share on other sites More sharing options...
Pikachu2000 Posted April 6, 2010 Share Posted April 6, 2010 session_register() is deprecated as of php 5.3.0. Quote Link to comment Share on other sites More sharing options...
Mchl Posted April 6, 2010 Share Posted April 6, 2010 This should not have this effect. It might be that your session directory was filled up, but after some time Apache deleted unused sessions and now there's space available again. Quote Link to comment Share on other sites More sharing options...
Orionsbelter Posted April 6, 2010 Author Share Posted April 6, 2010 Yes its not working again!! Bloody hosting company! Quote Link to comment Share on other sites More sharing options...
Orionsbelter Posted April 6, 2010 Author Share Posted April 6, 2010 it seems to be working now they insist there is no error!, they always think they know best! lol Quote Link to comment Share on other sites More sharing options...
monkeytooth Posted April 6, 2010 Share Posted April 6, 2010 Well.. if its a shared hosting account, one of the shared accounts on the system could be abusing something causing the tmp folder to fill. It could also be just a fluke, I remember once that I had an Issue like that I think it was on godaddy of all hosting services, or yahoo, either way. The tmp directory was just refered to wrongly and just had to be added in through code as a quick fix. I also had a similar issue when i set up a WAMP on my home machine for developement. The case there was windows was blocking it somehow.. I forget how, but I had to redo a section of my php.ini to fix the issue Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.