Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Help - store stopped working!


dobsy

Recommended Posts

Posted

One of our Oscommerce sites suddenly stopped working today - the homepage now only displays the following error message - any ideas?

 

1016 - Can't open file: 'sessions.MYD'. (errno: 145)

 

select value from sessions where sesskey = '7be14ed3a8953faf5ca9c1067706995c' and expiry > '1124532153'

 

[TEP STOP]

Posted
Use PHPMyAdmin to repair the sessions table.

 

 

Thanks - I'm getting an error message in PHPmyadmin

 

"MySQL said: Documentation

#1016 - Can't open file: 'sessions.MYD'. (errno: 145) "

 

What do you suggest? Delete the table and remake it - (if so, what's it's structure?)

 

Could this have had anything to do with my server reaching 100% diskspace?

 

thanks for your help,

 

 

Rob

Posted

Sessions are only active for 20 or so minutes, but the information on those sessions remain stored in the database. Take a look and see just how much session data you have stored there!

 

Vger

Posted
Take a look and see just how much session data you have stored there!

 

Vger

 

I can't - looks like the table's corrupted! Is it ok to delete the table and set up a new one from scratch? - I think the fact it's corrupted is preventing the entire shop from working, because on entry the site cannot write a session to the db.

 

thanks,

 

Rob

Posted

via phpMyAdmin:

 

DROP TABLE IF EXISTS sessions;

CREATE TABLE sessions (

sesskey varchar(32) NOT NULL,

expiry int(11) unsigned NOT NULL,

value text NOT NULL,

PRIMARY KEY (sesskey)

);

 

Vger

Posted
via phpMyAdmin:

 

DROP TABLE IF EXISTS sessions;

CREATE TABLE sessions (

  sesskey varchar(32) NOT NULL,

  expiry int(11) unsigned NOT NULL,

  value text NOT NULL,

  PRIMARY KEY (sesskey)

);

 

Vger

 

THANKYOU! That worked. You are a lifesaver.

 

thanks again,

 

Rob

Archived

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

×
×
  • Create New...