Opened 2 years ago

Closed 2 years ago

#12975 closed Bug Report - Crash (Duplicate)

!!NoTrans: SQL Error: Expression

Reported by: spleavin0@… Owned by: Stuart Auchterlonie
Priority: minor Milestone: unknown
Component: Plugin - MythWeb Version: Unspecified
Severity: low Keywords:
Cc: Ticket locked: no

Description

ALL searches in Mythweb fail. New installation, Ubuntu 16.04

datetime: 2017-01-09 17:41:40 (EST) errornum: 256

error type: User Error

error 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!!

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 #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 [1] => 256

)

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

class: Database_Query_mysqlicompat

function: execute

type: -> args: Array

(

[0] => Array ( )

)

file: /usr/share/mythtv/mythweb/modules/tv/includes/programs.php line: 140

class: Database

function: query

type: -> args: Array

(

[0] => SELECT program.*,

UNIX_TIMESTAMP(program.starttime) AS starttime_unix, UNIX_TIMESTAMP(program.endtime) AS endtime_unix, IFNULL(programrating.system, "") AS rater, IFNULL(programrating.rating, "") AS rating, channel.callsign, channel.channum

FROM program USE INDEX (id_start_end)

LEFT JOIN programrating USING (chanid, starttime) LEFT JOIN channel ON program.chanid = channel.chanid LEFT JOIN credits ON (program.chanid = credits.chanid AND program.starttime = credits.starttime) LEFT JOIN people ON (credits.person = people.person)

WHERE program.chanid IN (1031,1041,1051,1071,1072,1073,1091,1111,1171,1172,1191,1231,1232,1251,1361,1401,1411,1412,1440,1471,1571) AND (program.endtime > FROM_UNIXTIME('1484001700') AND program.starttime < FROM_UNIXTIME('1486680100') AND program.starttime != program.endtime) AND (hdtv & 1 AND category_type != "series")

GROUP BY channel.callsign, program.chanid, program.starttime ORDER BY program.starttime )

Change History (1)

comment:1 Changed 2 years ago by sphery

Priority: majorminor
Resolution: Duplicate
Severity: highlow
Status: newclosed

Dup of #12811 . Update to current 0.28-fixes to get a version that supports the version of MySQL/MariaDB you're using.

Note: See TracTickets for help on using tickets.