« MODx Parse Error »

MODx encountered the following error while attempting to parse the requested resource:
« Execution of a query to the database failed - Can't create/write to file '/tmp/#sql_91d_0.MYI' (Errcode: 13) »
      SQL: SELECT DISTINCT sc.id, sc.menutitle, sc.pagetitle, sc.introtext, sc.menuindex, sc.published, sc.hidemenu, sc.parent, sc.isfolder, sc.description, sc.alias, sc.longtitle, sc.type,if(sc.type='reference',sc.content,'') as content, sc.template, sc.link_attributes FROM `lacarene_fr`.`modx_site_content` sc LEFT JOIN `lacarene_fr`.`modx_document_groups` dg ON dg.document = sc.id WHERE sc.published=1 AND sc.deleted=0 AND (sc.privateweb=0) AND sc.hidemenu=0 AND sc.id IN (97,148,26,31,33,32,35,9,51,52,104,107,28,1163,1167,1168,44,1440,36,1529,30,37,1395,2093,2263,2656,1609,1494,2257,103,40,42,2484,41,99,100,101,102,1251,1606,10,1870,2043,2221,2355,2581,1252,1256,1258,1270,1449,1473,1517,1489,1495,1501,1504,1607,1614,1611,1626,1816,1638,1775,1813,1814,1815,1817,56,1198,57,58,1176,1179,1181,1185,1212,55,1872,1873,1874,1902,1903,1904,1905,1906,1907,1908,1909,1998,2044,2045,2046,2047,2048,2049,2050,2051,2052,2053,2054,2055,2222,2223,2224,2225,2226,2227,2228,2229,2230,2231,2232,2233,2356,2357,2358,2359,2360,2361,2362,2363,2364,2365,2366,2367,2582,2583,2584,2585,2586,2587,2588,2589,2590,2591,2592,2593,29,43,2027,142,1246,1875,1832,2034,1441,1443,1447,1463,1464,1892,1895,1893,2415,1897,1898,1901,1945,2068,2105,2121,2171,2291,2330,2370,2643,2657,2644,2645,2646,2647,2648,2649,2650,2651,2652,2653,2654,2011,2012,112,2021,2022,2026,137,141,1194,1278,2485,1513,1515,1514,1516,2208,1977,1991,2005,2207,113,1808,116,2019,2015,2016,2020,1563,1944,1565,1567,2500,1558,1566,1131,1259,1554,1556,1557,1550,1551,1265,1569,1602,1564,2509,2510,2507,2505,2508,2506,2511,2512,2501,47,1162,48,49,50,1798,2191,1406,1417,1351,38,1836,2192,1407,1418,1373,1384,1428,1329,1318,2667) GROUP BY sc.id ORDER BY sc.menuindex ASC ;
      [Copy SQL to ClipBoard]
 
Parser timing
  MySQL: 0.0035 s(3 Requests)
  PHP: 0.1171 s 
  Total: 0.1206 s