Ticket #12407: bug.txt

File bug.txt, 11.8 KB (added by anonymous, 9 years ago)
Line 
1 datetime:  2015-03-08 21:46:23 (CDT)
2    errornum:  256
3  error type:  User Error
4error string:  !!NoTrans: SQL Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')
5GROUP BY program.title ORDER BY program.starttime' at line 13 [#1064]!!
6    filename:  /usr/local/www/apache24/data/classes/Database/Query/mysql.php
7  error line:  79
8
9==========================================================================
10
11Backtrace:
12
13    file:  /usr/local/www/apache24/data/classes/Database/Query/mysql.php
14    line:  79
15   class: 
16function:  trigger_error
17    type: 
18    args:  Array
19(
20    [0] => SQL Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')
21GROUP BY program.title ORDER BY program.starttime' at line 13 [#1064]
22    [1] => 256
23)
24
25    file:  /usr/local/www/apache24/data/classes/Database.php
26    line:  261
27   class:  Database_Query_mysql
28function:  execute
29    type:  ->
30    args:  Array
31(
32    [0] => Array ( )
33)
34
35    file:  /usr/local/www/apache24/data/modules/tv/includes/programs.php
36    line:  140
37   class:  Database
38function:  query
39    type:  ->
40    args:  Array
41(
42    [0] => SELECT program.*,
43                         UNIX_TIMESTAMP(program.starttime) AS starttime_unix,
44                         UNIX_TIMESTAMP(program.endtime) AS endtime_unix,
45                         IFNULL(programrating.system, "") AS rater,
46                         IFNULL(programrating.rating, "") AS rating,
47                         channel.callsign,
48                         channel.channum
49                  FROM program USE INDEX (id_start_end)
50                       LEFT JOIN programrating USING (chanid, starttime)
51                       LEFT JOIN channel ON program.chanid = channel.chanid
52                       LEFT JOIN credits ON (program.chanid = credits.chanid AND program.starttime = credits.starttime)
53                       LEFT JOIN people ON (credits.person = people.person)
54                 WHERE program.chanid IN (1021,1022,1051,1052,1071,1072,1073,1091,1092,1093,1111,1112,1113,1114,1201,1202,1203,1231,1232,1233,1241,1243,1244,1245,1246,1247,1261,1262,1263,1264,1265,1321,1381,1382,1383,1384,1385,1386,1411,1441,1442,1481,1482,1501,1502,1503,1571,1601,1602,1603,1621,1622,1623,1624,1661,1662,1663) AND (program.endtime > FROM_UNIXTIME('1425869183') AND program.starttime < FROM_UNIXTIME('1428547583') AND program.starttime != program.endtime) AND ()
55GROUP BY program.title ORDER BY program.starttime
56)
57
58    file:  /usr/local/www/apache24/data/modules/tv/recommended.php
59    line:  38
60   class: 
61function:  load_all_program_data
62    type: 
63    args:  Array
64(
65    [0] => 1425869183
66    [1] => 1428547583
67    [2] =>
68    [3] =>
69    [4] => ()
70    [5] => 1
71)
72
73    file:  /usr/local/www/apache24/data/modules/tv/handler.php
74    line:  82
75   class: 
76function:  require_once
77    type: 
78    args:  Array
79(
80    [0] => /usr/local/www/apache24/data/modules/tv/recommended.php
81)
82
83    file:  /usr/local/www/apache24/data/mythweb.php
84    line:  36
85   class: 
86function:  require_once
87    type: 
88    args:  Array
89(
90    [0] => /usr/local/www/apache24/data/modules/tv/handler.php
91)
92
93
94==========================================================================
95
96$_SESSION: Array
97(
98    [cache_engine] => Cache_Null
99    [stream] => Array
100        (
101            [include_user_and_password] =>
102        )
103
104    [prefer_channum] => 1
105    [recorded_pixmaps] => 1
106    [guide_favonly] =>
107    [timeslot_size] => 300
108    [num_time_slots] => 36
109    [timeslot_blocks] => 3
110    [timeslotbar_skip] => 20
111    [max_stars] => 4
112    [star_character] => &#9733;
113    [show_popup_info] => 1
114    [show_channel_icons] => 1
115    [sortby_channum] => 1
116    [recorded_paging] =>
117    [genre_colors] => 1
118    [show_video_covers] => 1
119    [settings] => Array
120        (
121            [screens] => Array
122                (
123                    [tv] => Array
124                        (
125                            [upcoming recordings] => Array
126                                (
127                                    [title] => on
128                                    [channel] => on
129                                    [record date] => on
130                                    [length] => on
131                                )
132
133                        )
134
135                )
136
137            [last] => Array
138                (
139                    [0] => video
140                    [1] => settings
141                )
142
143            [host] => mythtv
144        )
145
146    [backend] => Array
147        (
148            [timezone] => Array
149                (
150                    [value] => America/Chicago
151                    [last_check_time] => 1425861282
152                )
153
154            [10.10.49.13] => Array
155                (
156                    [proto_version] => Array
157                        (
158                            [last_check_version] => 77
159                            [last_check_time] => 1425863108
160                        )
161
162                )
163
164        )
165
166    [language] => English
167    [date_statusbar] => %a %b %e, %Y, %I:%M %p
168    [date_scheduled] => %a %b %e, %Y (%I:%M %p)
169    [date_scheduled_popup] => %a %b %e, %Y
170    [date_recorded] => %a %b %e, %Y (%I:%M %p)
171    [date_search] => %a %b %e, %Y, %I:%M %p
172    [date_listing_key] => %a %b %e, %Y, %I:%M %p
173    [date_listing_jump] => %a %b %e, %Y
174    [date_channel_jump] => %a %b %e, %Y
175    [date_job_status] => %a %b %e, %Y, %I:%M %p
176    [time_format] => %I:%M %p
177    [tv] => Array
178        (
179            [last] => Array
180                (
181                    [0] => recommended
182                )
183
184            [show_advanced_schedule] => 1
185        )
186
187    [list_time] => 1425868200
188    [schedules_sortby] => Array
189        (
190            [0] => Array
191                (
192                    [field] => airdate
193                    [reverse] =>
194                )
195
196            [1] => Array
197                (
198                    [field] => title
199                    [reverse] =>
200                )
201
202        )
203
204    [scheduled_recordings] => Array
205        (
206            [disp_scheduled] => 1
207            [disp_duplicates] => 1
208            [disp_deactivated] =>
209            [disp_conflicts] => 1
210            [disp_recgroup] =>
211            [disp_title] => Heaven Can Wait
212        )
213
214    [] => Array ( )
215    [recorded_sortby] => Array
216        (
217            [0] => Array
218                (
219                    [field] => airdate
220                    [reverse] => 1
221                )
222
223            [1] => Array
224                (
225                    [field] => title
226                    [reverse] =>
227                )
228
229        )
230
231    [video_sortby] => Array
232        (
233            [0] => Array
234                (
235                    [field] => title
236                    [reverse] =>
237                )
238
239        )
240
241    [recording_details] => Array
242        (
243            [show_Conflict] => 1
244            [show_PreviousRecording] => 1
245            [show_EarlierShowing] => 1
246            [show_CurrentRecording] => 1
247            [show_WillRecord] => 1
248        )
249
250    [scheduled_sortby] => Array
251        (
252            [0] => Array
253                (
254                    [field] => airdate
255                    [reverse] =>
256                )
257
258            [1] => Array
259                (
260                    [field] => title
261                    [reverse] =>
262                )
263
264        )
265
266    [search] => Array
267        (
268            [ctype] => Array
269                (
270                    [0] => movie
271                )
272
273            [categories] => Array ( )
274            [stars_gt] => 0.875
275            [stars_lt] => 1
276            [starttime] => now
277            [endtime] => + 2 weeks
278            [as] => Array
279                (
280                    [0] => Bletchley
281                )
282
283            [af] => Array
284                (
285                    [0] => Array
286                        (
287                            [0] => title
288                        )
289
290                )
291
292            [aj] => Array
293                (
294                    [0] => AND
295                )
296
297            [type] => a
298            [hd] =>
299            [commfree] =>
300            [unwatched] =>
301            [scheduled] =>
302            [generic] =>
303            [distinctTitle] =>
304            [airdate_start] =>
305            [airdate_end] =>
306            [s] => Bletchley
307        )
308
309    [search_sortby] => Array
310        (
311            [0] => Array
312                (
313                    [field] => airdate
314                    [reverse] =>
315                )
316
317            [1] => Array
318                (
319                    [field] => title
320                    [reverse] =>
321                )
322
323        )
324
325)
326
327==========================================================================
328
329$_SERVER: Array
330(
331    [REDIRECT_STATUS] => 200
332    [HTTP_HOST] => 10.10.49.13
333    [HTTP_CONNECTION] => keep-alive
334    [HTTP_ACCEPT] => text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
335    [HTTP_USER_AGENT] => Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.76 Safari/537.36
336    [HTTP_REFERER] => http://10.10.49.13/settings/video
337    [HTTP_ACCEPT_ENCODING] => gzip, deflate, sdch
338    [HTTP_ACCEPT_LANGUAGE] => en-US,en;q=0.8
339    [HTTP_COOKIE] => mythweb_id=hos2bq1c1crjaecdpdlirttkr3
340    [PATH] => /sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin
341    [LD_LIBRARY_PATH] => /usr/local/lib:/usr/local/lib
342    [SERVER_SIGNATURE] =>
343    [SERVER_SOFTWARE] => Apache/2.4.12 (FreeBSD) PHP/5.6.6
344    [SERVER_NAME] => 10.10.49.13
345    [SERVER_ADDR] => 10.10.49.13
346    [SERVER_PORT] => 80
347    [REMOTE_ADDR] => 10.10.49.134
348    [DOCUMENT_ROOT] => /usr/local/www/apache24/data
349    [REQUEST_SCHEME] => http
350    [CONTEXT_PREFIX] =>
351    [CONTEXT_DOCUMENT_ROOT] => /usr/local/www/apache24/data
352    [SERVER_ADMIN] => nello@OctoberGroup.com
353    [SCRIPT_FILENAME] => /usr/local/www/apache24/data/mythweb.php
354    [REMOTE_PORT] => 52832
355    [REDIRECT_URL] => /tv/recommended
356    [GATEWAY_INTERFACE] => CGI/1.1
357    [SERVER_PROTOCOL] => HTTP/1.1
358    [REQUEST_METHOD] => GET
359    [QUERY_STRING] =>
360    [REQUEST_URI] => /tv/recommended
361    [SCRIPT_NAME] => /mythweb.php
362    [PATH_INFO] => /tv/recommended
363    [PATH_TRANSLATED] => redirect:/mythweb.php/tv/recommended/recommended
364    [PHP_SELF] => /mythweb.php/tv/recommended
365    [REQUEST_TIME_FLOAT] => 1425869182.81
366    [REQUEST_TIME] => 1425869182
367    [STATUS] => 200
368    [URL] => /tv/recommended
369    [HTTP_PORT] => 80
370)
371
372==========================================================================
373
374$constant_list["user"]: Array
375(
376    [ERROR] => 512
377    [E_ASSERT_ERROR] => 4096
378    [FATAL] => 256
379    [PHP_MIN_VERSION] => 5.3
380    [WARNING] => 1024
381    [WebDBSchemaVer] => 4
382    [dupsin_all] => 15
383    [dupsin_newepisodes] => 16
384    [dupsin_oldrecorded] => 2
385    [dupsin_recorded] => 1
386    [error_email] =>
387    [gb] => 1073741824
388    [hostname] => mythtv
389    [http_host] => 10.10.49.13
390    [kb] => 1024
391    [max_stars] => 4
392    [mb] => 1048576
393    [module] => tv
394    [modules_path] => /usr/local/www/apache24/data/modules
395    [num_time_slots] => 36
396    [prefer_channum] => 1
397    [rectype_always] => 4
398    [rectype_daily] => 2
399    [rectype_dontrec] => 8
400    [rectype_findone] => 6
401    [rectype_once] => 1
402    [rectype_override] => 7
403    [rectype_template] => 11
404    [rectype_weekly] => 5
405    [root] => /
406    [root_auth_url] => http://10.10.49.13/
407    [root_url] => http://10.10.49.13/
408    [searchtype_keyword] => 3
409    [searchtype_manual] => 5
410    [searchtype_people] => 4
411    [searchtype_power] => 1
412    [searchtype_title] => 2
413    [skin] => default
414    [skin_img_url] => http://10.10.49.13/skins/default/img/
415    [skin_url] => http://10.10.49.13/skins/default/
416    [star_character] => &#9733;
417    [stream_url] => http://10.10.49.13:80//
418    [tb] => 1099511627776
419    [timeslot_blocks] => 3
420    [timeslot_size] => 300
421    [timeslotbar_skip] => 20
422    [tmpl] => default
423    [tmpl_dir] => modules/tv/tmpl/default/
424)
425
426