Results 1 to 5 of 5
  1. #1
    Join Date
    Sep 2005
    Location
    Waikato, New Zealand
    Posts
    1,539
    Plugin Contributions
    3

    Default Can't create/write to file '/tmp/#sql_2d9_0.MYI' (Errcode: 13)

    Hi all

    Woke up this morning to grumpy emails from people, all their Zencarts have crashed over night with thsis error


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


    Now I realise this is probably something my hosting company has changed that has caused this, however has anyone come across anything like this before??

    Annd just for the record I am pretty sure they have all the banners turned off on these sites

    One of the store is v 1.3.7 the other is more recent

    and the server has PHP 5.2.10

  2. #2
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,267
    Plugin Contributions
    3

    Default Re: Can't create/write to file '/tmp/#sql_2d9_0.MYI' (Errcode: 13) - Zencarts Kaput

    Quote Originally Posted by nigelt74 View Post
    Can't create/write to file ...
    ... folder permissions issue... perhaps?
    20 years a Zencart User

  3. #3
    Join Date
    Sep 2005
    Location
    Waikato, New Zealand
    Posts
    1,539
    Plugin Contributions
    3

    Default Re: Can't create/write to file '/tmp/#sql_2d9_0.MYI' (Errcode: 13)

    Yes I thought that, but it seems to have fixed itself now

  4. #4
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Can't create/write to file '/tmp/#sql_2d9_0.MYI' (Errcode: 13)

    Here's the information schoolboy didn't bother to explain ...

    Error Code 13 means that MySQL cannot create a temporary file for the result set in the temporary directory. So, that means your hosting company's server config is either out of space or they have altered security/permission with respect to how MySQL is allowed to store its data and do its regular operations.
    In short, log an urgent ticket with your hosting company if the problem persists.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    Jul 2007
    Posts
    2,169
    Plugin Contributions
    16

    Default Re: Can't create/write to file '/tmp/#sql_2d9_0.MYI' (Errcode: 13)

    Quote Originally Posted by nigelt74 View Post
    Hi all

    Woke up this morning to grumpy emails from people, all their Zencarts have crashed over night with thsis error


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


    Now I realise this is probably something my hosting company has changed that has caused this, however has anyone come across anything like this before??

    Annd just for the record I am pretty sure they have all the banners turned off on these sites

    One of the store is v 1.3.7 the other is more recent

    and the server has PHP 5.2.10
    Well this is funny mine is doing the same thing this afternoon. I don't know whats going on, but I will take Dr Byte suggestion.
    Is your site Upgraded to the current version 1.5.4 Yet?
    zencart-upgrades-website-installation

 

 

Similar Threads

  1. Replies: 7
    Last Post: 3 Jun 2013, 02:18 PM
  2. Replies: 1
    Last Post: 22 Nov 2009, 11:26 PM
  3. Replies: 2
    Last Post: 30 Aug 2008, 10:31 PM
  4. Replies: 13
    Last Post: 20 Apr 2008, 08:42 PM
  5. Replies: 2
    Last Post: 3 Dec 2006, 04:02 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg