Forums / General Questions / Error....1016 Can't open file: 'sessions.MYI'

Error....1016 Can't open file: 'sessions.MYI'

Views: 8,819

Results 1 to 15 of 15
24 May 2006, 11:21 PM
#1
enchantedone avatar

enchantedone

Zen Follower

Join Date:
Nov 2005
Posts:
119
Plugin Contributions:
0

Error....1016 Can't open file: 'sessions.MYI'

hi i hope I'm putting this in the right forum. I'm having a bit of a problem, i was doing last minute things to my cart today and all of a sudden i get this message

1226 User 'enchante' has exceeded the 'max_questions' resource (current value: 50000)
in:
[select value from sessions where sesskey = 'f98108328df1cd55fd04ed95' and expiry > '1148489993']

so i look here and find out that its a problem with my host "startlogic" limiting me so i contact them through chat and he clears the catch for me. As if this is not a big enough problem that they limit me this much it happens again in 1 hour so i contact them again and once again they fix it, but this time after they fix it i get this message

1016 Can't open file: 'sessions.MYI'. (errno: 145)
in:
[select value from sessions where sesskey = '5bb9cc794bbc5fda10af6e082' and expiry > '1148512101']

so i contact startlogic again and they actually cant help me as he doesn't know whats going on so i email support and still no reply, my site has been down all day. so i looked here and found a few threads that said to try and repair it but so i go to php my admin and it shows that there is in fact an error, but there is no where to repair it, i have looked everywhere. that was the only thing i could find about fixing this.

does anyone know how i can fix this or do ineed to reupload my database.
i made a bunch of changes today to the database so i'm afraid of losing it all, i was going to back up the database as soon as i finished but this happened in the mean time.

any help would be so appreciated.

thanks so much

24 May 2006, 11:41 PM
#2
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,684
Plugin Contributions:
0

Re: Error....1016 Can't open file: 'sessions.MYI'

Empty your sessions table in the database, then run the repair tool in phpmyadmin.

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

25 May 2006, 12:07 AM
#3
enchantedone avatar

enchantedone

Zen Follower

Join Date:
Nov 2005
Posts:
119
Plugin Contributions:
0

Re: Error....1016 Can't open file: 'sessions.MYI'

kim,

thanks for the help.

thats what i have been trying to do but for some reason i cant find the sessions table or the repair tool.

maybe im doing something wrong.
would you mind explaining how to go about it.

this seems like it would be easy to do, but i cannot for the life of me find how to delet the sessions contents

thanks so much

25 May 2006, 12:16 AM
#4
enchantedone avatar

enchantedone

Zen Follower

Join Date:
Nov 2005
Posts:
119
Plugin Contributions:
0

Re: Error....1016 Can't open file: 'sessions.MYI'

after looking again i notice its not showing the sessions table and all the other table after the sessions table

25 May 2006, 1:02 AM
#5
enchantedone avatar

enchantedone

Zen Follower

Join Date:
Nov 2005
Posts:
119
Plugin Contributions:
0

Re: Error....1016 Can't open file: 'sessions.MYI'

i got it. i wasnt able to empty the table so i backed it up deleted the whole database and reuploaded it then added the sessions table.

thanks

25 May 2006, 2:52 AM
#6
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Error....1016 Can't open file: 'sessions.MYI'

Thanks for the update on how you were able to repair your damaged database ... it will be of help to others in the future ...

Be sure to keep good backups! :smile:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

11 Jun 2006, 2:45 PM
#7
pinkbeef avatar

pinkbeef

New Zenner

Join Date:
Apr 2006
Posts:
10
Plugin Contributions:
0

Re: Error....1016 Can't open file: 'sessions.MYI'

I had the same problem but managed to get PHPmyadmin to repair the table. but the repair message i got from PHPMy Admin was that there was now 7 entrys and not 6, is that a problem

11 Jun 2006, 2:57 PM
#8
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Error....1016 Can't open file: 'sessions.MYI'

The sessions table cleans out on a regular basis ...

You could actually empty it ... but note that if anyone is online it will delete their session ...

Usually this error is the result of the MySQL server crashing ...

This should not happen, and as long as it is not a recurring problem you should be okay ...

Check with your hosting site to see if they can shed any light on why this may have happened ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

18 Oct 2006, 8:38 PM
#9
stevehare avatar

stevehare

Zen Follower

Join Date:
Dec 2005
Posts:
108
Plugin Contributions:
0

Re: Error....1016 Can't open file: 'sessions.MYI'

I know this thread is a bit old but I encountered the problem today.

Yesterday the site was down (as were several others on the same server), so I'm assuming their servers crashed. Then today the sites were back up but when I went to the cart I got the 1016 Can't open file: 'sessions.MYI' error.

After talking with my hosts tech support team, I was very frustrated and searched and of course I come across this thread and the solution...though I used another source too.

Here's what I did to EASILY fix the problem:

From phpMyAdmin I clicked the SQL tab and typed in this:

REPAIR TABLE sessions;

I clicked go and the table was repaired and my cart was again in business.

19 Oct 2006, 12:42 AM
#10
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Error....1016 Can't open file: 'sessions.MYI'

Glad you are up and running ...

Might want to be running for a new hosting site that has a clue such as our Certified Hosting sites ... :smartass:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

20 Oct 2006, 3:53 PM
#11
stevehare avatar

stevehare

Zen Follower

Join Date:
Dec 2005
Posts:
108
Plugin Contributions:
0

Re: Error....1016 Can't open file: 'sessions.MYI'

We're in the process now...I just don't look forward to the task of "moving."

21 Oct 2006, 12:45 AM
#12
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Error....1016 Can't open file: 'sessions.MYI'

Our Certified Hosting sites usually will help you with that move if you talk to them ... :smile:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

26 Oct 2006, 3:30 PM
#13
stevehare avatar

stevehare

Zen Follower

Join Date:
Dec 2005
Posts:
108
Plugin Contributions:
0

Re: Error....1016 Can't open file: 'sessions.MYI'

Thanks...we're getting ready to make the switch to one of the hosts listed on this site! I'll let them know you sent me!

28 Oct 2006, 6:01 PM
#14
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Error....1016 Can't open file: 'sessions.MYI'

Thanks for the update ... and good luck with your site! :smile:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!