Ticket #12860: trace.txt

File trace.txt, 13.1 KB (added by henrik@…, 8 years ago)
Line 
1 datetime:  2016-08-22 16:14:12 (CEST)
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('1471874400') AND program.starttime < FROM_UNIXTIME('1471885200') 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] => 1471874400
64    [1] => 1471885200
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] => 1471874400
76    [1] => 1471885200
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    [language] => English
125    [prefer_channum] => 1
126    [date_statusbar] => %a %b %e, %Y, %I:%M %p
127    [date_scheduled] => %a %b %e, %Y (%I:%M %p)
128    [date_scheduled_popup] => %a %b %e, %Y
129    [date_recorded] => %a %b %e, %Y (%I:%M %p)
130    [date_search] => %a %b %e, %Y, %I:%M %p
131    [date_listing_key] => %a %b %e, %Y, %I:%M %p
132    [date_listing_jump] => %a %b %e, %Y
133    [date_channel_jump] => %a %b %e, %Y
134    [date_job_status] => %a %b %e, %Y, %I:%M %p
135    [time_format] => %I:%M %p
136    [recorded_pixmaps] => 1
137    [guide_favonly] =>
138    [timeslot_size] => 300
139    [num_time_slots] => 36
140    [timeslot_blocks] => 3
141    [timeslotbar_skip] => 20
142    [max_stars] => 4
143    [star_character] => &#9733;
144    [show_popup_info] => 1
145    [show_channel_icons] => 1
146    [sortby_channum] => 1
147    [recorded_paging] =>
148    [genre_colors] => 1
149    [show_video_covers] => 1
150    [settings] => Array
151        (
152            [screens] => Array
153                (
154                    [tv] => Array
155                        (
156                            [upcoming recordings] => Array
157                                (
158                                    [title] => on
159                                    [channel] => on
160                                    [record date] => on
161                                    [length] => on
162                                )
163
164                        )
165
166                )
167
168            [last] => Array
169                (
170                    [0] => video
171                    [1] => settings
172                )
173
174            [host] => localhost
175        )
176
177    [backend] => Array
178        (
179            [192.168.0.8] => Array
180                (
181                    [proto_version] => Array
182                        (
183                            [last_check_version] => 88
184                            [last_check_time] => 1471874828
185                        )
186
187                )
188
189            [timezone] => Array
190                (
191                    [value] => Europe/Copenhagen
192                    [last_check_time] => 1471874828
193                )
194
195        )
196
197    [tv] => Array
198        (
199            [last] => Array
200                (
201                    [0] => list
202                )
203
204            [show_advanced_schedule] => 1
205        )
206
207    [recorded_title] =>
208    [recorded_recgroup] => Natportieren
209    [recorded_sortby] => Array
210        (
211            [0] => Array
212                (
213                    [field] => airdate
214                    [reverse] =>
215                )
216
217            [1] => Array
218                (
219                    [field] => originalairdate
220                    [reverse] =>
221                )
222
223            [2] => Array
224                (
225                    [field] => title
226                    [reverse] =>
227                )
228
229        )
230
231    [recording_details] => Array
232        (
233            [show_Conflict] => 1
234            [show_PreviousRecording] => 1
235            [show_EarlierShowing] => 1
236            [show_CurrentRecording] => 1
237            [show_WillRecord] => 1
238        )
239
240    [list_time] => 1471874400
241    [video_sortby] => Array
242        (
243            [0] => Array
244                (
245                    [field] => title
246                    [reverse] =>
247                )
248
249        )
250
251    [stream] => Array
252        (
253            [force_http] => 1
254            [force_http_port] => 81
255            [include_user_and_password] =>
256        )
257
258    [weather] => Array
259        (
260            [active] => Array ( )
261            [inactive] => Array ( )
262        )
263
264    [scheduled_recordings] => Array
265        (
266            [disp_scheduled] => 1
267            [disp_duplicates] =>
268            [disp_deactivated] =>
269            [disp_conflicts] => 1
270        )
271
272    [scheduled_sortby] => Array
273        (
274            [0] => Array
275                (
276                    [field] => airdate
277                    [reverse] =>
278                )
279
280            [1] => Array
281                (
282                    [field] => title
283                    [reverse] =>
284                )
285
286        )
287
288    [remote] => Array
289        (
290            [frontends] => Array ( )
291            [type] => keys
292        )
293
294    [search] => Array
295        (
296            [ctype] => Array
297                (
298                    [0] => movie
299                    [1] => sports
300                    [2] => tvshow
301                )
302
303            [categories] => Array ( )
304            [stars_gt] => 0
305            [stars_lt] => 1
306            [starttime] => now
307            [endtime] =>
308            [as] => Array
309                (
310                    [0] => volver
311                )
312
313            [af] => Array
314                (
315                    [0] => Array
316                        (
317                            [0] => title
318                        )
319
320                )
321
322            [aj] => Array
323                (
324                    [0] => AND
325                )
326
327            [s] => arvingerne
328            [type] => q
329            [hd] =>
330            [commfree] =>
331            [unwatched] =>
332            [scheduled] =>
333            [generic] =>
334            [distinctTitle] =>
335            [airdate_start] =>
336            [airdate_end] =>
337        )
338
339    [schedules_sortby] => Array
340        (
341            [0] => Array
342                (
343                    [field] => airdate
344                    [reverse] =>
345                )
346
347            [1] => Array
348                (
349                    [field] => title
350                    [reverse] =>
351                )
352
353        )
354
355    [] => Array ( )
356    [cache_engine] => Cache_Null
357    [video] => Array
358        (
359            [browse] => -1
360            [VideoAdminPassword] =>
361            [path] => /
362        )
363
364    [search_sortby] => Array
365        (
366            [0] => Array
367                (
368                    [field] => airdate
369                    [reverse] =>
370                )
371
372            [1] => Array
373                (
374                    [field] => title
375                    [reverse] =>
376                )
377
378        )
379
380)
381
382==========================================================================
383
384$_SERVER: Array
385(
386    [REDIRECT_STATUS] => 200
387    [HTTP_HOST] => skatkisten
388    [HTTP_USER_AGENT] => Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:48.0) Gecko/20100101 Firefox/48.0
389    [HTTP_ACCEPT] => text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
390    [HTTP_ACCEPT_LANGUAGE] => en-US,fr-FR;q=0.5
391    [HTTP_ACCEPT_ENCODING] => gzip, deflate
392    [HTTP_REFERER] => http://skatkisten:81/mythweb/tv/upcoming
393    [HTTP_COOKIE] => mythweb_id=f00lme65fpsp12sfh17j6gcj94
394    [HTTP_CONNECTION] => keep-alive
395    [HTTP_UPGRADE_INSECURE_REQUESTS] => 1
396    [PATH] => /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
397    [SERVER_SIGNATURE] => <address>Apache/2.4.18 (Ubuntu) Server at skatkisten Port 81</address>
398
399    [SERVER_SOFTWARE] => Apache/2.4.18 (Ubuntu)
400    [SERVER_NAME] => skatkisten
401    [SERVER_ADDR] => 192.168.0.8
402    [SERVER_PORT] => 81
403    [REMOTE_ADDR] => 192.168.0.10
404    [DOCUMENT_ROOT] => /var/www/html
405    [REQUEST_SCHEME] => http
406    [CONTEXT_PREFIX] =>
407    [CONTEXT_DOCUMENT_ROOT] => /var/www/html
408    [SERVER_ADMIN] => [no address given]
409    [SCRIPT_FILENAME] => /var/www/html/mythweb/mythweb.php
410    [REMOTE_PORT] => 45666
411    [REMOTE_USER] => skatkisten
412    [AUTH_TYPE] => Digest
413    [REDIRECT_URL] => /mythweb/tv/list
414    [GATEWAY_INTERFACE] => CGI/1.1
415    [SERVER_PROTOCOL] => HTTP/1.1
416    [REQUEST_METHOD] => GET
417    [QUERY_STRING] =>
418    [REQUEST_URI] => /tv/list
419    [SCRIPT_NAME] => /mythweb/mythweb.php
420    [PATH_INFO] => /tv/list
421    [PATH_TRANSLATED] => /var/www/html/tv/list
422    [PHP_SELF] => /mythweb/mythweb.php/tv/list
423    [PHP_AUTH_USER] => skatkisten
424    [PHP_AUTH_DIGEST] => username="skatkisten", realm="MythTV", nonce="6rUXqKk6BQA=db08f0f206d119a0602b7efdd693f8dcc353b8a4", uri="/mythweb/tv/list", algorithm=MD5, response="bcc9a7064c4de77ec6a081588a51272d", qop=auth, nc=00000022, cnonce="0ae5a5ad4117038c"
425    [REQUEST_TIME_FLOAT] => 1471875252.306
426    [REQUEST_TIME] => 1471875252
427    [STATUS] => 200
428    [URL] => /mythweb/tv/list
429    [HTTP_X_FORWARDED_PROTO] =>
430    [HTTPS] =>
431    [HTTP_PORT] => 81
432)
433
434==========================================================================
435
436$constant_list["user"]: Array
437(
438    [ERROR] => 512
439    [E_ASSERT_ERROR] => 4096
440    [FATAL] => 256
441    [PHP_MIN_VERSION] => 5.3
442    [WARNING] => 1024
443    [WebDBSchemaVer] => 4
444    [dupsin_all] => 15
445    [dupsin_newepisodes] => 16
446    [dupsin_oldrecorded] => 2
447    [dupsin_recorded] => 1
448    [error_email] =>
449    [gb] => 1073741824
450    [hostname] => skatkisten
451    [http_host] => skatkisten:81
452    [kb] => 1024
453    [max_stars] => 4
454    [mb] => 1048576
455    [module] => tv
456    [modules_path] => /usr/share/mythtv/mythweb/modules
457    [num_time_slots] => 36
458    [prefer_channum] => 1
459    [rectype_always] => 4
460    [rectype_daily] => 2
461    [rectype_dontrec] => 8
462    [rectype_findone] => 6
463    [rectype_once] => 1
464    [rectype_override] => 7
465    [rectype_template] => 11
466    [rectype_weekly] => 5
467    [root] => /mythweb/
468    [root_auth_url] => http://skatkisten:81/mythweb/
469    [root_url] => http://skatkisten:81/mythweb/
470    [searchtype_keyword] => 3
471    [searchtype_manual] => 5
472    [searchtype_people] => 4
473    [searchtype_power] => 1
474    [searchtype_title] => 2
475    [skin] => default
476    [skin_img_url] => http://skatkisten:81/mythweb/skins/default/img/
477    [skin_url] => http://skatkisten:81/mythweb/skins/default/
478    [star_character] => &#9733;
479    [stream_url] => http://skatkisten:81//mythweb/
480    [tb] => 1099511627776
481    [timeslot_blocks] => 3
482    [timeslot_size] => 300
483    [timeslotbar_skip] => 20
484    [tmpl] => default
485    [tmpl_dir] => modules/tv/tmpl/default/
486)
487