[mythtv-commits] Ticket #12713: Mythweb fails with mysql Server version: 5.7.11-0ubuntu5

MythTV noreply at mythtv.org
Wed Apr 13 08:41:45 UTC 2016


#12713: Mythweb fails with mysql Server version: 5.7.11-0ubuntu5
----------------------------------+----------------------------
 Reporter:  jksjdevelop@…         |          Owner:  dekarl
     Type:  Bug Report - General  |         Status:  infoneeded
 Priority:  minor                 |      Milestone:  0.28.1
Component:  Plugin - MythWeb      |        Version:  0.28.0
 Severity:  medium                |     Resolution:
 Keywords:                        |  Ticket locked:  0
----------------------------------+----------------------------

Comment (by jksjdevelop@…):

 Trace back when trying to create a
 recording.http://192.168.1.108/mythweb/tv/detail/1101/1460546100

 {{{
     datetime:  2016-04-13 09:38:54 (BST)
     errornum:  256
   error type:  User Error
 error string:  !!NoTrans: SQL Error: Incorrect datetime value: '00:00:00'
 for column 'next_record' at row 1 [#1292]!!
     filename:
 /home/tv/MythSource/mythweb/classes/Database/Query/mysqlicompat.php
   error line:  98

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

 Backtrace:

     file:
 /home/tv/MythSource/mythweb/classes/Database/Query/mysqlicompat.php
     line:  98
    class:
 function:  trigger_error
     type:
     args:  Array
 (
     [0] => SQL Error: Incorrect datetime value: '00:00:00' for column
 'next_record' at row 1 [#1292]
     [1] => 256
 )

     file:  /home/tv/MythSource/mythweb/classes/Database.php
     line:  261
    class:  Database_Query_mysqlicompat
 function:  execute
     type:  ->
     args:  Array
 (
     [0] => Array
         (
             [0] => 0
             [1] => 1
             [2] => 1101
             [3] => 1460546100
             [4] => 1460546100
             [5] => 1460548800
             [6] => 1460548800
             [7] => 0
             [8] => Bargain Hunt
             [9] => Newark
             [10] => Antiques challenge. Newark Antiques and Collectors
 Fair plays host to Tim Wonnacott and experts Philip Serrell and Anita
 Manning as the red and blue teams scour the grounds.
             [11] => Default
             [12] => 0
             [13] => Leisure/Hobbies
             [14] => 0
             [15] => 0
             [16] => 0
             [17] => 0
             [18] => 0
             [19] => 5
             [20] => Default
             [21] => 8
             [22] => 15
             [23] => BBC ONE HD
             [24] => fp.bbc.co.uk/kr1tn8
             [25] => fp.bbc.co.uk/23v6jb
             [26] => 0
             [27] => 4
             [28] => 12:15:00
             [29] => 719528
             [30] => 0
             [31] => 0
             [32] => 0
             [33] => 0
             [34] => 0
             [35] => 0
             [36] => 0
             [37] => 1
             [38] => Default
             [39] => Default
             [40] => 0
             [41] => 00:00:00
             [42] => 00:00:00
             [43] => 00:00:00
             [44] =>
             [45] => 0
             [46] => 0
             [47] => 0
             [48] => 1
         )

 )

     file:  /home/tv/MythSource/mythweb/modules/tv/classes/Schedule.php
     line:  385
    class:  Database
 function:  query
     type:  ->
     args:  Array
 (
     [0] => REPLACE INTO record
 (recordid,type,chanid,starttime,startdate,endtime,enddate,search,
 title,subtitle,description,profile,recpriority,category,
 maxnewest,inactive,maxepisodes,autoexpire,startoffset,endoffset,
 recgroup,dupmethod,dupin,station,seriesid,programid,autocommflag,
 findday,findtime,findid,autotranscode,parentid,transcoder,
 autouserjob1,autouserjob2,autouserjob3,autouserjob4,autometadata,
 playgroup,storagegroup,prefinput,
 next_record,last_record,last_delete,inetref,season,episode,filter,recgroupid)
                                        VALUES (?,?,?,
 FROM_UNIXTIME(?),FROM_UNIXTIME(?),FROM_UNIXTIME(?),FROM_UNIXTIME(?),
 ?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)
     [1] => 0
     [2] => 1
     [3] => 1101
     [4] => 1460546100
     [5] => 1460546100
     [6] => 1460548800
     [7] => 1460548800
     [8] => 0
     [9] => Bargain Hunt
     [10] => Newark
     [11] => Antiques challenge. Newark Antiques and Collectors Fair plays
 host to Tim Wonnacott and experts Philip Serrell and Anita Manning as the
 red and blue teams scour the grounds.
     [12] => Default
     [13] => 0
     [14] => Leisure/Hobbies
     [15] => 0
     [16] => 0
     [17] => 0
     [18] => 0
     [19] => 0
     [20] => 5
     [21] => Default
     [22] => 8
     [23] => 15
     [24] => BBC ONE HD
     [25] => fp.bbc.co.uk/kr1tn8
     [26] => fp.bbc.co.uk/23v6jb
     [27] => 0
     [28] => 4
     [29] => 12:15:00
     [30] => 719528
     [31] => 0
     [32] => 0
     [33] => 0
     [34] => 0
     [35] => 0
     [36] => 0
     [37] => 0
     [38] => 1
     [39] => Default
     [40] => Default
     [41] => 0
     [42] => 00:00:00
     [43] => 00:00:00
     [44] => 00:00:00
     [45] =>
     [46] => 0
     [47] => 0
     [48] => 0
     [49] => 1
 )

     file:  /home/tv/MythSource/mythweb/modules/tv/detail.php
     line:  250
    class:  Schedule
 function:  save
     type:  ->
     args:  Array
 (
     [0] => 1
 )

     file:  /home/tv/MythSource/mythweb/modules/tv/handler.php
     line:  82
    class:
 function:  require_once
     type:
     args:  Array
 (
     [0] => /home/tv/MythSource/mythweb/modules/tv/detail.php
 )

     file:  /home/tv/MythSource/mythweb/mythweb.php
     line:  35
    class:
 function:  require_once
     type:
     args:  Array
 (
     [0] => /home/tv/MythSource/mythweb/modules/tv/handler.php
 )


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

 $_GET: Array
 (
     [chanid] => 1101
     [starttime] => 1460546100
     [manualid] => 0
 )

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

 $_POST: Array
 (
     [record] => 1
     [profile] => Default
     [transcoder] => 0
     [recgroup] => Default
     [storagegroup] => Default
     [playgroup] => Default
     [recpriority] => 0
     [dupmethod] => 8
     [dupin] => 15
     [prefinput] => 0
     [inetref] =>
     [season] =>
     [episode] =>
     [autometadata] => 1
     [maxepisodes] => 0
     [startoffset] => 0
     [endoffset] => 5
     [save] => Update Recording Settings
 )

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

 $_SESSION: Array
 (
     [cache_engine] => Cache_Null
     [stream] => Array
         (
             [include_user_and_password] =>
         )

     [prefer_channum] => 1
     [recorded_pixmaps] => 1
     [guide_favonly] =>
     [timeslot_size] => 600
     [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
     [recorded_paging] => null
     [genre_colors] => 1
     [show_video_covers] => 1
     [settings] => Array
         (
             [screens] => Array
                 (
                     [tv] => Array
                         (
                             [upcoming recordings] => Array
                                 (
                                     [title] => on
                                     [channel] => on
                                     [record date] => on
                                     [length] => on
                                 )

                         )

                 )
 }}}

--
Ticket URL: <https://code.mythtv.org/trac/ticket/12713#comment:11>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list