Zen Cart Logo
Forums / General Questions / Site down - Can't create/write to file '/tmp/#sql_5351_0.MYI' error

Site down - Can't create/write to file '/tmp/#sql_5351_0.MYI' error

Locked

Views: 1,357

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
11 Apr 2008, 2:22 PM
#1
nadsab avatar

nadsab

Totally Zenned

Join Date:
Sep 2004
Posts:
496
Plugin Contributions:
0

Site down - Can't create/write to file '/tmp/#sql_5351_0.MYI' error

Hi,

I have a site that was working just fine for over a month, and now all of the sudden, none of the products are clickable and I'm getting the error on the front page of the store :

1 Can't create/write to file '/tmp/#sql_5351_0.MYI' (Errcode: 13)
in:
[select banners_id, banners_title, banners_image, banners_html_text, banners_open_new_windows, banners_url from banners where status = 1 and ( banners_group = 'SideBox-Banners') order by rand()]

Can anyone give me a hint or idea as to what may be wrong - how to troubleshoot? I'm using version Zen Cart 1.3.8a

Thanks.

11 Apr 2008, 2:34 PM
#2
nadsab avatar

nadsab

Totally Zenned

Join Date:
Sep 2004
Posts:
496
Plugin Contributions:
0

Re: Site down - Can't create/write to file '/tmp/#sql_5351_0.MYI' error

OK I found the problem but that leads to another question -

Does Zen Cart require write and execute permissions on the /tmp directory? I'm talking about the temp directory off root - /

11 Apr 2008, 3:56 PM
#3
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Site down - Can't create/write to file '/tmp/#sql_5351_0.MYI' error

nadsab:

OK I found the problem but that leads to another question -

Does Zen Cart require write and execute permissions on the /tmp directory? I'm talking about the temp directory off root - /

Zen Cart itself does not require it.
MySQL may require it, but that's a database and server config issue, not a Zen Cart issue.