Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Unusual error message in admin


go2pub

Recommended Posts

Hi,

This error has suddenly appeared at the bottom of most of the pages in my admin area.

 

 

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 (/tmp) in Unknown on line 0

 

I'm also having trouble uploading images bigger than about 8k file size, wondering if this is related. Both problems apeared at the same time. Everything else seems to work fine.

 

Any help appreciated.

 

Using 2.2 ms2

 

Regards

 

Nigel

Link to comment
Share on other sites

What you need to do is go into configure.php in both you catalog and admin sections. Do not try to change using file manager, you will have problems. FTP it to your computer, edit them with a php editor, and ftp back to your site.

What you need to do is change the last line of each file to read mysgl, or add a file to the root directory named 'tmp'. making sure you have full read write permissions set.

Link to comment
Share on other sites

for mysgl read mysql slight typo

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

In both the configure.php file in catalog/ and admin/ add mysql to the following bottom line of the code;

 

define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'

Link to comment
Share on other sites

Hi all,

Thanks for the suggestions, I tried changing the last line of configure.php in both catalog and admin from ' ' to 'mysql' This didn't help so I checked the root of my account and I already have a tmp folder, I chmod it to 777 still no good. I'm starting to think it's something wrong with my server, any thoughts.

 

Thanks

 

Nigel

Link to comment
Share on other sites

Warning: Unknown(): write failed: No space left on device (28) in Unknown on line 0

 

Your /tmp partition (probably in root) has run out of space. Find out what's filling /tmp (maybe a core file or large message log files etc.) and remove those files so there is room to write.

 

HTH

Tom

Link to comment
Share on other sites

Thanks again,

I've tried deleting everything I can from my tmp folder but still no luck. It's a real pain as I can't upload images to my site. I'm going to contact my host but the usual response is we don't provide support for scripts!!!!

 

Any further suggestion appreciated.

 

Regards

 

Nigel

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...