Ticket #13195: Backtrace

File Backtrace, 3.2 KB (added by anonymous, 2 years ago)
Line 
1   datetime:  2017-12-20 18:53:03 (EST)
2    errornum:  256
3  error type:  User Error
4error 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]!!
5    filename:  /usr/share/mythtv/mythweb/classes/Database/Query/mysqlicompat.php
6  error line:  98
7
8==========================================================================
9
10Backtrace:
11
12    file:  /usr/share/mythtv/mythweb/classes/Database/Query/mysqlicompat.php
13    line:  98
14   class: 
15function:  trigger_error
16    type: 
17    args:  Array
18(
19    [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]
20    [1] => 256
21)
22
23    file:  /usr/share/mythtv/mythweb/classes/Database.php
24    line:  261
25   class:  Database_Query_mysqlicompat
26function:  execute
27    type:  ->
28    args:  Array
29(
30    [0] => Array ( )
31)
32
33    file:  /usr/share/mythtv/mythweb/modules/tv/includes/programs.php
34    line:  140
35   class:  Database
36function:  query
37    type:  ->
38    args:  Array
39(
40    [0] => SELECT program.*,
41                         UNIX_TIMESTAMP(program.starttime) AS starttime_unix,
42                         UNIX_TIMESTAMP(program.endtime) AS endtime_unix,
43                         IFNULL(programrating.system, "") AS rater,
44                         IFNULL(programrating.rating, "") AS rating,
45                         channel.callsign,
46                         channel.channum
47                  FROM program USE INDEX (id_start_end)
48                       LEFT JOIN programrating USING (chanid, starttime)
49                       LEFT JOIN channel ON program.chanid = channel.chanid
50                       LEFT JOIN credits ON (program.chanid = credits.chanid AND program.starttime = credits.starttime)
51                       LEFT JOIN people ON (credits.person = people.person)
52                 WHERE program.chanid='1041' AND (program.endtime > FROM_UNIXTIME('1513813500') AND program.starttime < FROM_UNIXTIME('1513824300') AND program.starttime != program.endtime)
53GROUP BY channel.callsign, program.chanid, program.starttime ORDER BY program.starttime
54)
55
56    file:  /usr/share/mythtv/mythweb/modules/tv/classes/Channel.php
57    line:  154
58   class: 
59function:  load_all_program_data
60    type: 
61    args:  Array
62(
63    [0] => 1513813500
64    [1] => 1513824300
65    [2] => 1041
66)
67
68    file:  /usr/share/mythtv/mythweb/modules/tv/tmpl/default/list_data.php
69    line:  102
70   class:  Channel
71function:  display_programs
72    type:  ->
73    args:  Array
74(
75    [0] => 1513813500
76    [1] => 1513824300
77)
78
79    file:  /usr/share/mythtv/mythweb/modules/tv/tmpl/default/list.php
80    line:  78
81   class: 
82function:  require_once
83    type: 
84    args:  Array
85(
86    [0] => /usr/share/mythtv/mythweb/modules/tv/tmpl/default/list_data.php
87)
88
89    file:  /usr/share/mythtv/mythweb/modules/tv/list.php
90    line:  45
91   class: 
92function:  require_once
93    type: 
94    args:  Array