Ticket #12948: error

File error, 11.6 KB (added by sittingmule@…, 9 years ago)

backtrace

Line 
1 datetime: 2016-12-02 15:43:58 (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('1480710600') AND program.starttime < FROM_UNIXTIME('1480721400') 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] => 1480710600
64 [1] => 1480721400
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] => 1480710600
76 [1] => 1480721400
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 [192.168.1.20] => Array
174 (
175 [proto_version] => Array
176 (
177 [last_check_version] => 88
178 [last_check_time] => 1480710183
179 )
180
181 )
182
183 [timezone] => Array
184 (
185 [value] => America/New_York
186 [last_check_time] => 1480710183
187 )
188
189 )
190
191 [language] => English
192 [date_statusbar] => %a %b %e, %Y, %I:%M %p
193 [date_scheduled] => %a %b %e, %Y (%I:%M %p)
194 [date_scheduled_popup] => %a %b %e, %Y
195 [date_recorded] => %a %b %e, %Y (%I:%M %p)
196 [date_search] => %a %b %e, %Y, %I:%M %p
197 [date_listing_key] => %a %b %e, %Y, %I:%M %p
198 [date_listing_jump] => %a %b %e, %Y
199 [date_channel_jump] => %a %b %e, %Y
200 [date_job_status] => %a %b %e, %Y, %I:%M %p
201 [time_format] => %I:%M %p
202 [tv] => Array
203 (
204 [last] => Array
205 (
206 [0] => list
207 )
208
209 )
210
211 [schedules_sortby] => Array
212 (
213 [0] => Array
214 (
215 [field] => airdate
216 [reverse] =>
217 )
218
219 [1] => Array
220 (
221 [field] => title
222 [reverse] =>
223 )
224
225 )
226
227 [recording_details] => Array
228 (
229 [show_Conflict] => 1
230 [show_PreviousRecording] => 1
231 [show_EarlierShowing] => 1
232 [show_CurrentRecording] => 1
233 [show_WillRecord] => 1
234 )
235
236 [list_time] => 1480710600
237 [video_sortby] => Array
238 (
239 [0] => Array
240 (
241 [field] => title
242 [reverse] =>
243 )
244
245 )
246
247 [search] => Array
248 (
249 [ctype] => Array
250 (
251 [0] =>
252 [1] => movie
253 [2] => series
254 [3] => sports
255 [4] => tvshow
256 )
257
258 [categories] => Array ( )
259 [stars_gt] => 0
260 [stars_lt] => 1
261 [starttime] => now
262 [endtime] => + 2 weeks
263 [as] => Array
264 (
265 [0] =>
266 )
267
268 [af] => Array
269 (
270 [0] => Array
271 (
272 [0] => title
273 )
274
275 )
276
277 [aj] => Array
278 (
279 [0] => AND
280 )
281
282 )
283
284 [scheduled_recordings] => Array
285 (
286 [disp_scheduled] => 1
287 [disp_duplicates] =>
288 [disp_deactivated] =>
289 [disp_conflicts] => 1
290 )
291
292 [scheduled_sortby] => Array
293 (
294 [0] => Array
295 (
296 [field] => airdate
297 [reverse] =>
298 )
299
300 [1] => Array
301 (
302 [field] => title
303 [reverse] =>
304 )
305
306 )
307
308 [recorded_sortby] => Array
309 (
310 [0] => Array
311 (
312 [field] => airdate
313 [reverse] => 1
314 )
315
316 [1] => Array
317 (
318 [field] => title
319 [reverse] =>
320 )
321
322 )
323
324)
325
326==========================================================================
327
328$_SERVER: Array
329(
330 [REDIRECT_STATUS] => 200
331 [HTTP_HOST] => 192.168.1.20
332 [HTTP_USER_AGENT] => Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:48.0) Gecko/20100101 Firefox/48.0
333 [HTTP_ACCEPT] => text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
334 [HTTP_ACCEPT_LANGUAGE] => en-US,en;q=0.5
335 [HTTP_ACCEPT_ENCODING] => gzip, deflate
336 [HTTP_REFERER] => http://192.168.1.20/mythweb/status
337 [HTTP_COOKIE] => mythweb_id=mud5fgt46b0b0m3qr3ondc7435
338 [HTTP_CONNECTION] => keep-alive
339 [HTTP_UPGRADE_INSECURE_REQUESTS] => 1
340 [PATH] => /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
341 [SERVER_SIGNATURE] => <address>Apache/2.4.18 (Ubuntu) Server at 192.168.1.20 Port 80</address>
342
343 [SERVER_SOFTWARE] => Apache/2.4.18 (Ubuntu)
344 [SERVER_NAME] => 192.168.1.20
345 [SERVER_ADDR] => 192.168.1.20
346 [SERVER_PORT] => 80
347 [REMOTE_ADDR] => 192.168.1.21
348 [DOCUMENT_ROOT] => /var/www/html
349 [REQUEST_SCHEME] => http
350 [CONTEXT_PREFIX] =>
351 [CONTEXT_DOCUMENT_ROOT] => /var/www/html
352 [SERVER_ADMIN] => webmaster@localhost
353 [SCRIPT_FILENAME] => /var/www/html/mythweb/mythweb.php
354 [REMOTE_PORT] => 47515
355 [REDIRECT_URL] => /mythweb/tv/list
356 [GATEWAY_INTERFACE] => CGI/1.1
357 [SERVER_PROTOCOL] => HTTP/1.1
358 [REQUEST_METHOD] => GET
359 [QUERY_STRING] =>
360 [REQUEST_URI] => /tv/list
361 [SCRIPT_NAME] => /mythweb/mythweb.php
362 [PATH_INFO] => /tv/list
363 [PATH_TRANSLATED] => /var/www/html/tv/list
364 [PHP_SELF] => /mythweb/mythweb.php/tv/list
365 [REQUEST_TIME_FLOAT] => 1480711438.076
366 [REQUEST_TIME] => 1480711438
367 [STATUS] => 200
368 [URL] => /mythweb/tv/list
369 [HTTP_X_FORWARDED_PROTO] =>
370 [HTTPS] =>
371 [HTTP_PORT] => 80
372)
373
374==========================================================================
375
376$constant_list["user"]: Array
377(
378 [ERROR] => 512
379 [E_ASSERT_ERROR] => 4096
380 [FATAL] => 256
381 [PHP_MIN_VERSION] => 5.3
382 [WARNING] => 1024
383 [WebDBSchemaVer] => 4
384 [dupsin_all] => 15
385 [dupsin_newepisodes] => 16
386 [dupsin_oldrecorded] => 2
387 [dupsin_recorded] => 1
388 [error_email] =>
389 [gb] => 1073741824
390 [hostname] => Mythtv
391 [http_host] => 192.168.1.20
392 [kb] => 1024
393 [max_stars] => 4
394 [mb] => 1048576
395 [module] => tv
396 [modules_path] => /usr/share/mythtv/mythweb/modules
397 [num_time_slots] => 36
398 [prefer_channum] => 1
399 [rectype_always] => 4
400 [rectype_daily] => 2
401 [rectype_dontrec] => 8
402 [rectype_findone] => 6
403 [rectype_once] => 1
404 [rectype_override] => 7
405 [rectype_template] => 11
406 [rectype_weekly] => 5
407 [root] => /mythweb/
408 [root_auth_url] => http://192.168.1.20/mythweb/
409 [root_url] => http://192.168.1.20/mythweb/
410 [searchtype_keyword] => 3
411 [searchtype_manual] => 5
412 [searchtype_people] => 4
413 [searchtype_power] => 1
414 [searchtype_title] => 2
415 [skin] => default
416 [skin_img_url] => http://192.168.1.20/mythweb/skins/default/img/
417 [skin_url] => http://192.168.1.20/mythweb/skins/default/
418 [star_character] => &#9733;
419 [stream_url] => http://192.168.1.20:80//mythweb/
420 [tb] => 1099511627776
421 [timeslot_blocks] => 3
422 [timeslot_size] => 300
423 [timeslotbar_skip] => 20
424 [tmpl] => default
425 [tmpl_dir] => modules/tv/tmpl/default/
426)
427