[mythtv-commits] Ticket #8473: Fatal Error at /usr/share/mythtv/mythweb/objects/Database/Query/mysql.php, line 83: SQL Error: Table './mythconverg/credits' is marked as crashed and last (automatic?) repair failed [#144]
MythTV
mythtv at cvs.mythtv.org
Wed May 19 01:17:17 UTC 2010
#8473: Fatal Error at /usr/share/mythtv/mythweb/objects/Database/Query/mysql.php,
line 83: SQL Error: Table './mythconverg/credits' is marked as crashed and
last (automatic?) repair failed [#144]
--------------------------------+-------------------------------------------
Reporter: chaplijt@… | Owner: ijr
Type: defect | Status: closed
Priority: minor | Milestone: unknown
Component: MythTV - General | Version: Unspecified
Severity: medium | Resolution: invalid
Mlocked: 0 |
--------------------------------+-------------------------------------------
Old description:
> Fatal Error at
> /usr/share/mythtv/mythweb/objects/Database/Query/mysql.php, line 83:
> SQL Error: Table './mythconverg/credits' is marked as crashed and last
> (automatic?) repair failed [#144]
>
> If you choose to submit a bug report, please make sure to include a
> brief description of what you were doing, along with the following
> backtrace as an attachment (please don't paste the whole thing into
> the ticket).
> Backtrace:
>
> datetime: 2010-05-18 20:55:35 (EDT)
> errornum: 256
> error type: User Error
> error string: SQL Error: Table './mythconverg/credits' is marked as
> crashed and last (automatic?) repair failed [#144]
> filename: /usr/share/mythtv/mythweb/objects/Database/Query/mysql.php
> error line: 83
>
> ==========================================================================
>
> Backtrace:
>
> file: /usr/share/mythtv/mythweb/objects/Database/Query/mysql.php
> line: 83
> class:
> function: trigger_error
> type:
> args: Array
> (
> [0] => SQL Error: Table './mythconverg/credits' is marked as crashed
> and last (automatic?) repair failed [#144]
> [1] => 256
> )
>
> file: /usr/share/mythtv/mythweb/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: 169
> class: Database
> 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
> LEFT JOIN credits ON (program.chanid =
> credits.chanid AND program.starttime = credits.starttime)
> LEFT JOIN people ON (credits.person =
> people.person)
> WHERE program.chanid='1025' AND program.starttime =
> FROM_UNIXTIME('1274241600')
> GROUP BY channel.callsign, program.chanid, program.starttime ORDER BY
> program.starttime
> LIMIT 1
> )
>
> file: /usr/share/mythtv/mythweb/modules/tv/includes/programs.php
> line: 78
> class:
> function: load_all_program_data
> type:
> args: Array
> (
> [0] => 1274241600
> [1] => 1274241600
> [2] => 1025
> [3] => 1
> )
>
> file: /usr/share/mythtv/mythweb/modules/tv/upcoming.php
> line: 32
> class:
> function: load_one_program
> type:
> args: Array
> (
> [0] => 1274241600
> [1] => 1025
> [2] => 0
> )
>
> file: /usr/share/mythtv/mythweb/modules/tv/handler.php
> line: 85
> class:
> function: require_once
> type:
> args: Array
> (
> [0] => /usr/share/mythtv/mythweb/modules/tv/upcoming.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
> )
>
> ==========================================================================
>
> $_GET: Array
> (
> [dontrec] => yes
> [chanid] => 1025
> [starttime] => 1274241600
> [manualid] => 0
> )
>
> ==========================================================================
>
> $_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
> [recorded_pixmaps] => 1
> [guide_favonly] =>
> [timeslot_size] => 300
> [num_time_slots] => 36
> [timeslot_blocks] => 3
> [timeslotbar_skip] => 20
> [max_stars] => 4
> [star_character] => ♦
> [show_popup_info] => 1
> [show_channel_icons] => 1
> [sortby_channum] => 1
> [show_video_covers] => 1
> [tv] => Array
> (
> [last] => Array
> (
> [0] => upcoming
> [1] => 1025
> [2] => 1274241600
> )
>
> [show_advanced_schedule] => 1
> )
>
> [list_time] => 1273869000
> [recording_details] => Array
> (
> [show_Conflict] => 1
> [show_PreviousRecording] => 1
> [show_EarlierShowing] => 1
> [show_CurrentRecording] => 1
> [show_WillRecord] => 1
> )
>
> [scheduled_recordings] => Array
> (
> [disp_scheduled] => 1
> [disp_duplicates] =>
> [disp_deactivated] =>
> [disp_conflicts] => 1
> )
>
> [scheduled_sortby] => Array
> (
> [0] => Array
> (
> [field] => airdate
> [reverse] =>
> )
>
> [1] => Array
> (
> [field] => title
> [reverse] =>
> )
>
> )
>
> [] => Array ( )
> [recorded_title] =>
> [recorded_recgroup] =>
> [recorded_sortby] => Array
> (
> [0] => Array
> (
> [field] => title
> [reverse] =>
> )
>
> [1] => Array
> (
> [field] => airdate
> [reverse] =>
> )
>
> )
>
> [settings] => Array
> (
> [last] => Array
> (
> [0] => weather
> [1] => screen
> )
>
> [host] => mythbuntu
> )
>
> [weather] => Array
> (
> [active] => Array
> (
> [0] => 1
> [1] => 6
> )
>
> [inactive] => Array
> (
> [0] => 18 Hour Forecast
> [1] => Animated Map
> [2] => Current Conditions
> [3] => Severe Weather Alerts
> [4] => Six Day Forecast
> [5] => Static Map
> [6] => Three Day Forecast
> )
>
> )
>
> [remote] => Array
> (
> [frontends] => Array ( )
> [type] => keys
> )
>
> [search] => Array
> (
> [type] => a
> [s] => ^Yachting$
> [ctype] => Array
> (
> [0] => series
> [1] => tvshow
> )
>
> [stars_gt] => 0
> [stars_lt] => 1
> [starttime] => now
> [endtime] => + 1 weeks
> [as] => Array
> (
> [0] => stargate universe
> [1] => 49
> )
>
> [af] => Array
> (
> [0] => Array
> (
> [0] => title
> [1] => channum
> )
>
> [1] => Array
> (
> [0] => channum
> )
>
> )
>
> [aj] => Array
> (
> [0] => AND
> [1] => OR
> )
>
> [hd] =>
> [commfree] =>
> [airdate_start] =>
> [airdate_end] =>
> )
>
> [search_sortby] => Array
> (
> [0] => Array
> (
> [field] => airdate
> [reverse] =>
> )
>
> [1] => Array
> (
> [field] => title
> [reverse] =>
> )
>
> )
>
> [schedules_sortby] => Array
> (
> [0] => Array
> (
> [field] => airdate
> [reverse] =>
> )
>
> [1] => Array
> (
> [field] => title
> [reverse] =>
> )
>
> )
>
> )
>
> ==========================================================================
>
> $_SERVER: Array
> (
> [REDIRECT_STATUS] => 200
> [HTTP_HOST] => 192.168.1.6
> [HTTP_USER_AGENT] => Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US;
> rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7
> [HTTP_ACCEPT] =>
> text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
> [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.6/mythweb/tv/upcoming
> [HTTP_COOKIE] => mythweb_id=169394dbfc907c7f63e3d9bd4705d4e2
> [PATH] => /usr/local/bin:/usr/bin:/bin
> [SERVER_SIGNATURE] => <address>Apache/2.2.11 (Ubuntu)
> PHP/5.2.6-3ubuntu4.5 with Suhosin-Patch Server at 192.168.1.6 Port
> 80</address>
>
> [SERVER_SOFTWARE] => Apache/2.2.11 (Ubuntu) PHP/5.2.6-3ubuntu4.5 with
> Suhosin-Patch
> [SERVER_NAME] => 192.168.1.6
> [SERVER_ADDR] => 192.168.1.6
> [SERVER_PORT] => 80
> [REMOTE_ADDR] => 192.168.1.11
> [DOCUMENT_ROOT] => /var/www
> [SERVER_ADMIN] => webmaster at localhost
> [SCRIPT_FILENAME] => /var/www/mythweb/mythweb.php
> [REMOTE_PORT] => 51573
> [REMOTE_USER] => john
> [AUTH_TYPE] => Digest
> [REDIRECT_QUERY_STRING] => dontrec=yes
> [REDIRECT_URL] => /mythweb/tv/upcoming/1025/1274241600
> [GATEWAY_INTERFACE] => CGI/1.1
> [SERVER_PROTOCOL] => HTTP/1.1
> [REQUEST_METHOD] => GET
> [QUERY_STRING] => dontrec=yes
> [REQUEST_URI] => /mythweb/tv/upcoming/1025/1274241600?dontrec=yes
> [SCRIPT_NAME] => /mythweb/mythweb.php
> [PATH_INFO] => /tv/upcoming/1025/1274241600
> [PATH_TRANSLATED] => /var/www/tv/upcoming/1025/1274241600
> [PHP_SELF] => /mythweb/mythweb.php/tv/upcoming/1025/1274241600
> [PHP_AUTH_DIGEST] => username="john", realm="MythTV",
> nonce="Uvty2eeGBAA=9a8e731ceb5bd56c6810142efc8590e126389c31",
> uri="/mythweb/tv/upcoming/1025/1274241600?dontrec=yes", algorithm=MD5,
> response="a0e44071bcbc138c6211884c6050fa2c", qop=auth, nc=00000004,
> cnonce="b7c8450db54340d3"
> [REQUEST_TIME] => 1274230535
> [argv] => Array
> (
> [0] => dontrec=yes
> )
>
> [argc] => 1
> [STATUS] => 200
> [URL] => /mythweb/tv/upcoming/1025/1274241600
New description:
Fatal Error at /usr/share/mythtv/mythweb/objects/Database/Query/mysql.php,
line 83:
SQL Error: Table './mythconverg/credits' is marked as crashed and last
(automatic?) repair failed [#144]
If you choose to submit a bug report, please make sure to include a
brief description of what you were doing, along with the following
backtrace as an attachment (please don't paste the whole thing into
the ticket).
--
Comment(by wagnerrp):
Cleanup. Moving backtrace to file.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/8473#comment:2>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list