Opened 7 years ago

Closed 7 years ago

#12934 closed Bug Report - General (Duplicate)

mythweb recorded programs

Reported by: mythtv@… Owned by: Stuart Auchterlonie
Priority: critical Milestone: 0.28.1
Component: Plugin - MythWeb Version: 0.28.0
Severity: high Keywords: mythweb recorded
Cc: Ticket locked: no

Description

datetime: 2016-11-22 21:43:45 (CET) errornum: 256

error type: User Error

error string: !NoTrans: SQL Error: Expression #2 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'mythconverg.recordedmarkup.data' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by #1055!!

filename: /usr/share/mythtv/mythweb/classes/Database/Query/mysqlicompat.php

error line: 98

==========================================================================

Backtrace:

file: /usr/share/mythtv/mythweb/classes/Database/Query/mysqlicompat.php line: 98

class:

function: trigger_error

type: args: Array

(

[0] => SQL Error: Expression #2 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'mythconverg.recordedmarkup.data' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by #1055 [1] => 256

)

file: /usr/share/mythtv/mythweb/classes/Database.php line: 261

class: Database_Query_mysqlicompat

function: execute

type: -> args: Array

(

[0] => Array

(

[0] => 1261 [1] => 1479840600

)

)

file: /usr/share/mythtv/mythweb/modules/tv/classes/Program.php line: 789

class: Database

function: query

type: -> args: Array

(

[0] => SELECT recordedmarkup.type,

recordedmarkup.data

FROM recordedmarkup

WHERE recordedmarkup.chanid = ?

AND recordedmarkup.starttime = FROM_UNIXTIME(?) AND recordedmarkup.type IN (10, 11, 12, 13, 14)

GROUP BY recordedmarkup.type ORDER BY SUM((SELECT IFNULL(rm.mark, recordedmarkup.mark)

FROM recordedmarkup AS rm

WHERE rm.chanid = recordedmarkup.chanid

AND rm.starttime = recordedmarkup.starttime AND rm.type IN (10, 11, 12, 13, 14) AND rm.mark > recordedmarkup.mark

ORDER BY rm.mark ASC LIMIT 1)- recordedmarkup.mark) DESC

LIMIT 1

[1] => 1261 [2] => 1479840600

)

file: /usr/share/mythtv/mythweb/modules/tv/tmpl/default/recorded.php line: 150

class: Program

function: getAspect

type: -> args: Array ( ) file: /usr/share/mythtv/mythweb/modules/tv/recorded.php line: 193

class:

function: require_once

type: args: Array

(

[0] => /usr/share/mythtv/mythweb/modules/tv/tmpl/default/recorded.php

)

file: /usr/share/mythtv/mythweb/modules/tv/handler.php line: 82

class:

function: require_once

type: args: Array

(

[0] => /usr/share/mythtv/mythweb/modules/tv/recorded.php

)

file: /usr/share/mythtv/mythweb/mythweb.php line: 35

class:

function: require_once

type: args: Array

(

[0] => /usr/share/mythtv/mythweb/modules/tv/handler.php

)

==========================================================================

$_GET: Array (

[reverse] => [sortby] =>

)

==========================================================================

$_SESSION: Array (

[cache_engine] => Cache_Null [stream] => Array

(

[include_user_and_password] =>

)

[prefer_channum] => 1 [recorded_pixmaps] => 1 [guide_favonly] => [timeslot_size] => 300 [num_time_slots] => 36 [timeslot_blocks] => 3 [timeslotbar_skip] => 20 [max_stars] => 4 [star_character] => ★ [show_popup_info] => 1 [show_channel_icons] => 1 [sortby_channum] => 1 [recorded_paging] => [genre_colors] => 1 [show_video_covers] => 1 [settings] => Array

(

[screens] => Array

(

[tv] => Array

(

[upcoming recordings] => Array

(

[title] => on [channel] => on [record date] => on [length] => on

)

)

)

)

[backend] => Array

(

[192.168.51.5] => Array

(

[proto_version] => Array

(

[last_check_version] => 88 [last_check_time] => 1479847406

)

)

[timezone] => Array

(

[value] => Europe/Prague? [last_check_time] => 1479847406

)

)

[language] => Czech [date_statusbar] => %a %b %e, %Y, %I:%M %p [date_scheduled] => %a %b %e, %Y (%I:%M %p) [date_scheduled_popup] => %a %b %e, %Y [date_recorded] => %a %b %e, %Y (%I:%M %p) [date_search] => %a %b %e, %Y, %I:%M %p [date_listing_key] => %a %b %e, %Y, %I:%M %p [date_listing_jump] => %a %b %e, %Y [date_channel_jump] => %a %b %e, %Y [date_job_status] => %a %b %e, %Y, %I:%M %p [time_format] => %I:%M %p [tv] => Array

(

[last] => Array

(

[0] => recorded

)

)

[scheduled_recordings] => Array

(

[disp_scheduled] => 1 [disp_duplicates] => [disp_deactivated] => [disp_conflicts] => 1

)

[] => Array ( ) [recorded_recgroup] => LiveTV [recorded_sortby] => Array

(

[0] => Array

(

[field] => airdate [reverse] => 1

)

[1] => Array

(

[field] => title [reverse] =>

)

)

)

==========================================================================

$_SERVER: Array (

[REDIRECT_STATUS] => 200 [HTTP_HOST] => cadif.org [HTTP_CONNECTION] => keep-alive [HTTP_UPGRADE_INSECURE_REQUESTS] => 1 [HTTP_USER_AGENT] => Mozilla/5.0 (X11; Linux x86_64) AppleWebKit?/537.36 (KHTML, like Gecko) Ubuntu Chromium/53.0.2785.143 Chrome/53.0.2785.143 Safari/537.36 [HTTP_ACCEPT] => text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8 [HTTP_REFERER] => http://cadif.org/mythweb/tv/upcoming [HTTP_ACCEPT_ENCODING] => gzip, deflate, sdch [HTTP_ACCEPT_LANGUAGE] => cs-CZ,cs;q=0.8 [HTTP_COOKIE] => stay_login=1; id=buRLQ.Jf6fdnIC2K3N01050; mythweb_id=ftvt22r0h0evaog7uc9dr0tab5 [PATH] => /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin [SERVER_SIGNATURE] => <address>Apache/2.4.18 (Ubuntu) Server at cadif.org Port 80</address>

[SERVER_SOFTWARE] => Apache/2.4.18 (Ubuntu) [SERVER_NAME] => cadif.org [SERVER_ADDR] => 192.168.51.5 [SERVER_PORT] => 80 [REMOTE_ADDR] => 176.74.132.6 [DOCUMENT_ROOT] => /var/www/html [REQUEST_SCHEME] => http [CONTEXT_PREFIX] => [CONTEXT_DOCUMENT_ROOT] => /var/www/html [SERVER_ADMIN] => webmaster@localhost [SCRIPT_FILENAME] => /var/www/html/mythweb/mythweb.php [REMOTE_PORT] => 8687 [REMOTE_USER] => scaleo [AUTH_TYPE] => Digest [REDIRECT_URL] => /mythweb/tv/recorded [GATEWAY_INTERFACE] => CGI/1.1 [SERVER_PROTOCOL] => HTTP/1.1 [REQUEST_METHOD] => GET [QUERY_STRING] => [REQUEST_URI] => /tv/recorded [SCRIPT_NAME] => /mythweb/mythweb.php [PATH_INFO] => /tv/recorded [PATH_TRANSLATED] => /var/www/html/tv/recorded [PHP_SELF] => /mythweb/mythweb.php/tv/recorded [PHP_AUTH_USER] => scaleo [PHP_AUTH_DIGEST] => username="scaleo", realm="MythTV", nonce="l35e0ulBBQA=f3d2137c09e5ed02af781769186b6066a44ea3d6", uri="/mythweb/tv/recorded", algorithm=MD5, response="3f2f583b85f7178b3455247022c76036", qop=auth, nc=00000005, cnonce="f9d15ea9853938d6" [REQUEST_TIME_FLOAT] => 1479847425,799 [REQUEST_TIME] => 1479847425 [STATUS] => 200 [URL] => /mythweb/tv/recorded [HTTP_X_FORWARDED_PROTO] => [HTTPS] => [HTTP_PORT] => 80

)

==========================================================================

$constant_listuser?: Array (

[ERROR] => 512 [E_ASSERT_ERROR] => 4096 [FATAL] => 256 [PHP_MIN_VERSION] => 5,3 [WARNING] => 1024 [WebDBSchemaVer] => 4 [disk_size] => 981369065472 [disk_used] => 851430633472 [dupsin_all] => 15 [dupsin_newepisodes] => 16 [dupsin_oldrecorded] => 2 [dupsin_recorded] => 1 [error_email] => [gb] => 1073741824 [hostname] => scaleomce [http_host] => cadif.org [kb] => 1024 [max_stars] => 4 [mb] => 1048576 [module] => tv [modules_path] => /usr/share/mythtv/mythweb/modules [num_time_slots] => 36 [prefer_channum] => 1 [rectype_always] => 4 [rectype_daily] => 2 [rectype_dontrec] => 8 [rectype_findone] => 6 [rectype_once] => 1 [rectype_override] => 7 [rectype_template] => 11 [rectype_weekly] => 5 [root] => /mythweb/ [root_auth_url] => http://cadif.org/mythweb/ [root_url] => http://cadif.org/mythweb/ [searchtype_keyword] => 3 [searchtype_manual] => 5 [searchtype_people] => 4 [searchtype_power] => 1 [searchtype_title] => 2 [skin] => default [skin_img_url] => http://cadif.org/mythweb/skins/default/img/ [skin_url] => http://cadif.org/mythweb/skins/default/ [star_character] => &#9733; [stream_url] => http://cadif.org:80//mythweb/ [tb] => 1099511627776 [timeslot_blocks] => 3 [timeslot_size] => 300 [timeslotbar_skip] => 20 [tmpl] => default [tmpl_dir] => modules/tv/tmpl/default/

)

Change History (2)

comment:1 Changed 7 years ago by stuartm

Component: MythTV - Web FrontendPlugin - MythWeb
Owner: changed from stuartm to Stuart Auchterlonie

comment:2 Changed 7 years ago by Stuart Auchterlonie

Milestone: unknown0.28.1
Resolution: Duplicate
Status: newclosed

This was resolved by #12811 please update your packages.

Note: See TracTickets for help on using tickets.