Ticket #13180: mythweb-error-doc

File mythweb-error-doc, 9.3 KB (added by eoinmcmahon0@…, 6 years ago)

backtrace copied from web page

Line 
1    datetime:  2017-11-24 19:13:03 (GMT)
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='1001' AND (program.endtime > FROM_UNIXTIME('1511550000') AND program.starttime < FROM_UNIXTIME('1511560800') 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] => 1511550000
64    [1] => 1511560800
65    [2] => 1001
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] => 1511550000
76    [1] => 1511560800
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
95(
96    [0] => /usr/share/mythtv/mythweb/modules/tv/tmpl/default/list.php
97)
98
99    file:  /usr/share/mythtv/mythweb/modules/tv/handler.php
100    line:  82
101   class: 
102function:  require_once
103    type: 
104    args:  Array
105(
106    [0] => /usr/share/mythtv/mythweb/modules/tv/list.php
107)
108
109    file:  /usr/share/mythtv/mythweb/mythweb.php
110    line:  35
111   class: 
112function:  require_once
113    type: 
114    args:  Array
115(
116    [0] => /usr/share/mythtv/mythweb/modules/tv/handler.php
117)
118
119
120==========================================================================
121
122$_SESSION: Array
123(
124    [cache_engine] => Cache_Null
125    [stream] => Array
126        (
127            [include_user_and_password] =>
128        )
129
130    [prefer_channum] => 1
131    [recorded_pixmaps] => 1
132    [guide_favonly] =>
133    [timeslot_size] => 300
134    [num_time_slots] => 36
135    [timeslot_blocks] => 3
136    [timeslotbar_skip] => 20
137    [max_stars] => 4
138    [star_character] => &#9733;
139    [show_popup_info] => 1
140    [show_channel_icons] => 1
141    [sortby_channum] => 1
142    [recorded_paging] =>
143    [genre_colors] => 1
144    [show_video_covers] => 1
145    [settings] => Array
146        (
147            [screens] => Array
148                (
149                    [tv] => Array
150                        (
151                            [upcoming recordings] => Array
152                                (
153                                    [title] => on
154                                    [channel] => on
155                                    [record date] => on
156                                    [length] => on
157                                )
158
159                        )
160
161                )
162
163            [last] => Array
164                (
165                    [0] => database
166                    [1] => settings
167                )
168
169        )
170
171    [backend] => Array
172        (
173            [timezone] => Array
174                (
175                    [value] => Europe/London
176                    [last_check_time] => 1511549805
177                )
178
179        )
180
181    [language] => English
182    [date_statusbar] => %a %b %e, %Y, %I:%M %p
183    [date_scheduled] => %a %b %e, %Y (%I:%M %p)
184    [date_scheduled_popup] => %a %b %e, %Y
185    [date_recorded] => %a %b %e, %Y (%I:%M %p)
186    [date_search] => %a %b %e, %Y, %I:%M %p
187    [date_listing_key] => %a %b %e, %Y, %I:%M %p
188    [date_listing_jump] => %a %b %e, %Y
189    [date_channel_jump] => %a %b %e, %Y
190    [date_job_status] => %a %b %e, %Y, %I:%M %p
191    [time_format] => %I:%M %p
192    [tv] => Array
193        (
194            [last] => Array
195                (
196                    [0] => list
197                )
198
199        )
200
201    [list_time] => 1511550000
202)
203
204==========================================================================
205
206$_SERVER: Array
207(
208    [REDIRECT_STATUS] => 200
209    [HTTP_HOST] => 192.168.2.101
210    [HTTP_USER_AGENT] => Mozilla/5.0 (X11; Linux x86_64; rv:57.0) Gecko/20100101 Firefox/57.0
211    [HTTP_ACCEPT] => text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
212    [HTTP_ACCEPT_LANGUAGE] => en-GB,en;q=0.5
213    [HTTP_ACCEPT_ENCODING] => gzip, deflate
214    [HTTP_REFERER] => http://192.168.2.101/mythweb/settings/database
215    [HTTP_COOKIE] => mythweb_id=e42mm3hciap85hd6huj783h396; treemediatombUI=d0%7Copen%3Bd6528%7Copen%3Bd6537%7Copen%3Bd6539%7Copen%3Bd6548%7Copen%3Bd1%7Cclosed%3Bd2%7Copen%3Bd3%7Copen%3Bd5%7Cclosed%3Bd4%7Cclosed%3Bd9%7Copen%3Bd12%7Copen%3Bd13%7Copen%3Bd8%7Copen%3Bd17%7Copen%3B; lastNodeDb=d17; JSESSIONID=fux6z4yty5jq1qvt5keq9f8lo; SID=25ed2f0a08b78fac1f1caa30de799edc
216    [HTTP_CONNECTION] => keep-alive
217    [HTTP_UPGRADE_INSECURE_REQUESTS] => 1
218    [PATH] => /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
219    [SERVER_SIGNATURE] => <address>Apache/2.4.18 (Ubuntu) Server at 192.168.2.101 Port 80</address>
220
221    [SERVER_SOFTWARE] => Apache/2.4.18 (Ubuntu)
222    [SERVER_NAME] => 192.168.2.101
223    [SERVER_ADDR] => 192.168.2.101
224    [SERVER_PORT] => 80
225    [REMOTE_ADDR] => 192.168.2.129
226    [DOCUMENT_ROOT] => /var/www/html
227    [REQUEST_SCHEME] => http
228    [CONTEXT_PREFIX] =>
229    [CONTEXT_DOCUMENT_ROOT] => /var/www/html
230    [SERVER_ADMIN] => webmaster@localhost
231    [SCRIPT_FILENAME] => /var/www/html/mythweb/mythweb.php
232    [REMOTE_PORT] => 58404
233    [REDIRECT_URL] => /mythweb/tv/list
234    [GATEWAY_INTERFACE] => CGI/1.1
235    [SERVER_PROTOCOL] => HTTP/1.1
236    [REQUEST_METHOD] => GET
237    [QUERY_STRING] =>
238    [REQUEST_URI] => /tv/list
239    [SCRIPT_NAME] => /mythweb/mythweb.php
240    [PATH_INFO] => /tv/list
241    [PATH_TRANSLATED] => /var/www/html/tv/list
242    [PHP_SELF] => /mythweb/mythweb.php/tv/list
243    [REQUEST_TIME_FLOAT] => 1511550783.347
244    [REQUEST_TIME] => 1511550783
245    [STATUS] => 200
246    [URL] => /mythweb/tv/list
247    [HTTP_X_FORWARDED_PROTO] =>
248    [HTTPS] =>
249    [HTTP_PORT] => 80
250)
251
252==========================================================================
253
254$constant_list["user"]: Array
255(
256    [ERROR] => 512
257    [E_ASSERT_ERROR] => 4096
258    [FATAL] => 256
259    [PHP_MIN_VERSION] => 5.3
260    [WARNING] => 1024
261    [WebDBSchemaVer] => 4
262    [dupsin_all] => 15
263    [dupsin_newepisodes] => 16
264    [dupsin_oldrecorded] => 2
265    [dupsin_recorded] => 1
266    [error_email] =>
267    [gb] => 1073741824
268    [hostname] => mediaserver
269    [http_host] => 192.168.2.101
270    [kb] => 1024
271    [max_stars] => 4
272    [mb] => 1048576
273    [module] => tv
274    [modules_path] => /usr/share/mythtv/mythweb/modules
275    [num_time_slots] => 36
276    [prefer_channum] => 1
277    [rectype_always] => 4
278    [rectype_daily] => 2
279    [rectype_dontrec] => 8
280    [rectype_findone] => 6
281    [rectype_once] => 1
282    [rectype_override] => 7
283    [rectype_template] => 11
284    [rectype_weekly] => 5
285    [root] => /mythweb/
286    [root_auth_url] => http://192.168.2.101/mythweb/
287    [root_url] => http://192.168.2.101/mythweb/
288    [searchtype_keyword] => 3
289    [searchtype_manual] => 5
290    [searchtype_people] => 4
291    [searchtype_power] => 1
292    [searchtype_title] => 2
293    [skin] => default
294    [skin_img_url] => http://192.168.2.101/mythweb/skins/default/img/
295    [skin_url] => http://192.168.2.101/mythweb/skins/default/
296    [star_character] => &#9733;
297    [stream_url] => http://192.168.2.101:80//mythweb/
298    [tb] => 1099511627776
299    [timeslot_blocks] => 3
300    [timeslot_size] => 300
301    [timeslotbar_skip] => 20
302    [tmpl] => default
303    [tmpl_dir] => modules/tv/tmpl/default/
304)
305
306
307