Opened 12 years ago

Closed 12 years ago

#3869 closed defect (invalid)

MythWeb TV listings

Reported by: anonymous Owned by: xris
Priority: critical Milestone: unknown
Component: mythweb Version: head
Severity: high Keywords:
Cc: amaisonneuve@… Ticket locked: no

Description

I just updated to latest SVN (14249)

From MythWeb i attempted to click on the Listings menu item

I get the following backtrace:


Backtrace:

datetime: 2007-08-22 00:52:19 (EDT) errornum: 256

error type: User Error

error string: SQL Error: Can't open file: 'program.MYI' (errno: 145) #1016

filename: /usr/share/mythtv/mythweb/includes/objects/Database/Query/mysql.php

error line: 83

==========================================================================

Backtrace:

file: /usr/share/mythtv/mythweb/includes/objects/Database/Query/mysql.php line: 83

class:

function: trigger_error

type: args: Array

(

[0] => SQL Error: Can't open file: 'program.MYI' (errno: 145) #1016 [1] => 256

)

file: /usr/share/mythtv/mythweb/includes/objects/Database.php line: 261

class: database_query_mysql

function: execute

type: -> args: Array

(

[0] => Array ( )

)

file: /usr/share/mythtv/mythweb/modules/tv/includes/programs.php line: 162

class: database_mysql

function: query

type: -> args: Array

(

[0] => SELECT program.*,

UNIX_TIMESTAMP(program.starttime) AS starttime_unix, UNIX_TIMESTAMP(program.endtime) AS endtime_unix, IFNULL(programrating.system, "") AS rater, IFNULL(programrating.rating, "") AS rating, channel.callsign, channel.channum

FROM program

LEFT JOIN programrating USING (chanid, starttime) LEFT JOIN channel ON program.chanid = channel.chanid

WHERE program.chanid IN (1001,1002,1003,1004,1005,1006,1007,1008,1009,1010,1011,1012,1013,1014,1015,1016,1017,1018,1019,1020,1021,1022,1023,1024,1025,1026,1714,1027,1028,1029,1030,1031,1032,1033,1034,1035,1036,1037,1038,1039,1040,1041,1042,1043,1044,1045,1046,1047,1048,1959,1049,1050,1051,1052,1053,1054,1055,1960,1056,1057,1058,1060,1061,1062,1063,1065,1066,1067,1068,1069,1070,1071,1080,1081,1082,1086,1087,1095,1097,1100,1101,1102,1103,1105,1106,1107,1108,1109,1110,1111,1113,1114,1115,1116,1117,1118,1119,1121,1123,1124,1125,1127,1128,1129,1130,1131,1132,1133,1134,1135,1136,1138,1139,1140,1141,1142,1143,1144,1145,1146,1147,1148,1149,1150,1151,1152,1153,1154,1155,1156,1157,1158,1159,1160,1161,1163,1164,1165,1166,1167,1170,1171,1173,1174,1178,1180,1181,1182,1183,1184,1185,1186,1187,1188,1189,1713,1190,1191,1192,1193,1194,1195,1197,1198,1199,1220,1221,1222,1223,1224,1225,1226,1227,1228,1230,1231,1241,1242,1243,1244,1245,1246,1247,1248,1249,1250,1255,1256,1257,1258,1259,1260,1261,1263,1264,1265,1266,1267,1268,1269,1270,1271,1272,1273,1274,1275,1276,1277,1278,1279,1280,1281,1282,1285,1286,1287,1288,1290,1291,1292,1293,1294,1295,1298,1299,1300,1301,1302,1303,1304,1305,1306,1307,1308,1309,1310,1312,1313,1314,1315,1316,1961,1317,1318,1319,1320,1321,1322,1323,1324,1325,1326,1327,1328,1329,1330,1331,1332,1333,1756,1334,1338,1339,1340,1341,1342,1343,1344,1345,1346,1347,1348,1349,1350,1351,1757,1352,1353,1354,1355,1356,1357,1358,1359,1360,1361,1362,1363,1364,1365,1366,1367,1368,1369,1370,1371,1374,1390,1392,1394,1395,1396,1397,1400,1401,1402,1403,1404,1405,1406,1407,1408,1409,1410,1411,1412,1413,1414,1415,1416,1417,1418,1419,1420,1421,1423,1426,1427,1428,1431,1432,1433,1434,1435,1436,1437,1438,1439,1440,1441,1442,1443,1444,1453,1454,1455,1456,1457,1458,1459,1460,1461,1462,1463,1464,1465,1466,1467,1468,1469,1473,1502,1503,1505,1507,1508,1509,1512,1513,1514,1515,1517,1519,1522,1523,1524,1525,1526,1527,1528,1529,1530,1531,1533,1534,1535,1537,1538,1539,1540,1541,1559,1560,1562,1563,1565,1566,1569,1570,1571,1712,1572,1958,1573,1575,1576,1577,1580,1755,1581,1583,1584,1585,1586,1587,1599,1601,1602,1603,1604,1605,1606,1607,1610,1612,1613,1614,1615,1617,1620,1621,1623,1624,1625,1627,1628,1629,1630,1631,1634,1635,1636,1637,1638,1639,1641,1642,1643,1644,1648,1649,1651,1652,1654,1655,1666,1670,1671,1672,1673,1675,1676,1677,1678,1679,1681,1682,1683,1684,1685,1686,1687,1691,1701,1702,1703,1704,1705,1706,1707,1708,1709,1710,1711,1751,1754,1752,1715,1716,1717,1718,1719,1720,1721,1722,1723,1724,1725,1726,1727,1728,1729,1730,1731,1732,1733,1734,1735,1736,1737,1738,1739,1740,1741,1742,1743,1744,1745,1746,1747,1748,1749,1750,1753,1901,1902,1903,1904,1905,1906,1925,1926,1927,1928,1929,1930,1931,1932,1933,1934,1941,1942,1943,1944,1945,1946,1947,1948,1951,1952,1957) AND (program.endtime > FROM_UNIXTIME('1187757900') AND program.starttime < FROM_UNIXTIME('1187768700') AND program.starttime != program.endtime)

GROUP BY channel.callsign, program.chanid, program.starttime ORDER BY program.starttime )

file: /usr/share/mythtv/mythweb/modules/tv/list.php line: 49

class:

function: load_all_program_data

type: args: Array

(

[0] => 1187757900 [1] => 1187768700

)

file: /usr/share/mythtv/mythweb/modules/tv/handler.php line: 75

class:

function: require_once

type: args: Array

(

[0] => /usr/share/mythtv/mythweb/modules/tv/list.php

)

file: /usr/share/mythtv/mythweb/mythweb.php line: 28

class:

function: require_once

type: args: Array

(

[0] => /usr/share/mythtv/mythweb/modules/tv/handler.php

)

==========================================================================

$_SESSION: Array (

[language] => English [tmpl] => default [skin] => default [prefer_channum] => 1 [date_statusbar] => %a %b %e, %Y, %I:%M %p [date_scheduled] => %a %b %e, %Y (%I:%M %p) [date_scheduled_popup] => %a %b %e, %Y [date_recorded] => %a %b %e, %Y (%I:%M %p) [date_search] => %a %b %e, %Y, %I:%M %p [date_listing_key] => %a %b %e, %Y, %I:%M %p [date_listing_jump] => %a %b %e, %Y [date_channel_jump] => %a %b %e, %Y [date_job_status] => %a %b %e, %Y, %I:%M %p [time_format] => %I:%M %p [use_myth_uri] => 1 [recorded_pixmaps] => 1 [guide_favonly] => [timeslot_size] => 300 [num_time_slots] => 36 [timeslot_blocks] => 3 [timeslotbar_skip] => 20 [max_stars] => 4 [star_character] => &diams; [tv] => Array

(

[last] => Array

(

[0] => list

)

)

[list_time] => 1187757900 [recorded_title] => [recorded_recgroup] => [recorded_sortby] => Array

(

[0] => Array

(

[field] => airdate [reverse] => 1

)

[1] => Array

(

[field] => title [reverse] =>

)

)

[schedules_sortby] => Array

(

[0] => Array

(

[field] => airdate [reverse] =>

)

[1] => Array

(

[field] => title [reverse] =>

)

)

[scheduled_recordings] => Array

(

[disp_scheduled] => 1 [disp_duplicates] => 1 [disp_deactivated] => [disp_conflicts] => 1

)

[scheduled_sortby] => Array

(

[0] => Array

(

[field] => airdate [reverse] =>

)

[1] => Array

(

[field] => title [reverse] =>

)

)

[search] => Array

(

[s] => canned:New Titles, Premieres [type] => q

)

)

==========================================================================

$_SERVER: Array (

[REDIRECT_STATUS] => 200 [HTTP_HOST] => 192.168.1.25 [HTTP_USER_AGENT] => Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6 [HTTP_ACCEPT] => text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 [HTTP_ACCEPT_LANGUAGE] => en-us,en;q=0.5 [HTTP_ACCEPT_ENCODING] => gzip,deflate [HTTP_ACCEPT_CHARSET] => ISO-8859-1,utf-8;q=0.7,*;q=0.7 [HTTP_KEEP_ALIVE] => 300 [HTTP_CONNECTION] => keep-alive [HTTP_REFERER] => http://192.168.1.25/mythweb/tv/searches [HTTP_COOKIE] => mythweb_id=2492604edba2f8c4172dfbfb624804f2 [PATH] => /usr/local/bin:/usr/bin:/bin [SERVER_SIGNATURE] => <address>Apache/2.0.55 (Ubuntu) DAV/2 SVN/1.3.2 PHP/4.4.2-1.1 Server at 192.168.1.25 Port 80</address>

[SERVER_SOFTWARE] => Apache/2.0.55 (Ubuntu) DAV/2 SVN/1.3.2 PHP/4.4.2-1.1 [SERVER_NAME] => 192.168.1.25 [SERVER_ADDR] => 192.168.1.25 [SERVER_PORT] => 80 [REMOTE_ADDR] => 192.168.1.146 [DOCUMENT_ROOT] => /var/www [SERVER_ADMIN] => webmaster@localhost [SCRIPT_FILENAME] => /var/www/mythweb/mythweb.php [REMOTE_PORT] => 63391 [REDIRECT_URL] => /mythweb/tv/list [GATEWAY_INTERFACE] => CGI/1.1 [SERVER_PROTOCOL] => HTTP/1.1 [REQUEST_METHOD] => GET [QUERY_STRING] => [REQUEST_URI] => /mythweb/tv/list [SCRIPT_NAME] => /mythweb/mythweb.php [PATH_INFO] => /tv/list [PATH_TRANSLATED] => /var/www/tv/list [PHP_SELF] => /mythweb/mythweb.php/tv/list [argv] => Array ( ) [argc] => 0 [STATUS] => 200 [URL] => /mythweb/tv/list

)

Change History (1)

comment:1 Changed 12 years ago by xris

Resolution: invalid
Status: newclosed

Your MySQL database is corrupt. This is not a mythweb issue. Google on your MYI error and you should find some help (hint: repair table....)

Note: See TracTickets for help on using tickets.