[mythtv-commits] Ticket #13034: new install with mythweb error

MythTV noreply at mythtv.org
Mon May 1 15:52:19 UTC 2017


#13034: new install with mythweb error
--------------------------------------+---------------------
     Reporter:  voissesinc@…          |      Owner:
         Type:  Bug Report - General  |     Status:  new
     Priority:  minor                 |  Milestone:  unknown
    Component:  MythTV - General      |    Version:  0.28.1
     Severity:  medium                |   Keywords:
Ticket locked:  0                     |
--------------------------------------+---------------------
 datetime:  2017-05-01 11:48:13 (EDT)
     errornum:  256
   error type:  User Error
 error string:  !!NoTrans: SQL Error: Expression #3 of SELECT list is not
 in GROUP BY clause and contains nonaggregated column
 'mythconverg.program.endtime' which is not functionally dependent on
 columns in GROUP BY clause; this is incompatible with
 sql_mode=only_full_group_by [#1055]!!
     filename:
 /usr/share/mythtv/mythweb/classes/Database/Query/mysqlicompat.php
   error line:  98

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

 Backtrace:

     file:
 /usr/share/mythtv/mythweb/classes/Database/Query/mysqlicompat.php
     line:  98
    class:
 function:  trigger_error
     type:
     args:  Array
 (
     [0] => SQL Error: Expression #3 of SELECT list is not in GROUP BY
 clause and contains nonaggregated column 'mythconverg.program.endtime'
 which is not functionally dependent on columns in GROUP BY clause; this is
 incompatible with sql_mode=only_full_group_by [#1055]
     [1] => 256
 )

     file:  /usr/share/mythtv/mythweb/classes/Database.php
     line:  261
    class:  Database_Query_mysqlicompat
 function:  execute
     type:  ->
     args:  Array
 (
     [0] => Array ( )
 )

     file:  /usr/share/mythtv/mythweb/modules/tv/includes/programs.php
     line:  140
    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 USE INDEX (id_start_end)
                        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='1021' AND (program.endtime >
 FROM_UNIXTIME('1493653500') AND program.starttime <
 FROM_UNIXTIME('1493664300') AND program.starttime != program.endtime)
 GROUP BY channel.callsign, program.chanid, program.starttime ORDER BY
 program.starttime
 )

     file:  /usr/share/mythtv/mythweb/modules/tv/classes/Channel.php
     line:  154
    class:
 function:  load_all_program_data
     type:
     args:  Array
 (
     [0] => 1493653500
     [1] => 1493664300
     [2] => 1021
 )

     file:  /usr/share/mythtv/mythweb/modules/tv/tmpl/default/list_data.php
     line:  102
    class:  Channel
 function:  display_programs
     type:  ->
     args:  Array
 (
     [0] => 1493653500
     [1] => 1493664300
 )

     file:  /usr/share/mythtv/mythweb/modules/tv/tmpl/default/list.php
     line:  78
    class:
 function:  require_once
     type:
     args:  Array
 (
     [0] => /usr/share/mythtv/mythweb/modules/tv/tmpl/default/list_data.php
 )

     file:  /usr/share/mythtv/mythweb/modules/tv/list.php
     line:  45
    class:
 function:  require_once
     type:
     args:  Array
 (
     [0] => /usr/share/mythtv/mythweb/modules/tv/tmpl/default/list.php
 )

     file:  /usr/share/mythtv/mythweb/modules/tv/handler.php
     line:  82
    class:
 function:  require_once
     type:
     args:  Array
 (
     [0] => /usr/share/mythtv/mythweb/modules/tv/list.php
 )

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


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

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

--
Ticket URL: <https://code.mythtv.org/trac/ticket/13034>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list