Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#13034 closed Bug Report - General (Duplicate)

new install with mythweb error

Reported by: voissesinc@… Owned by:
Priority: minor Milestone: unknown
Component: MythTV - General Version: 0.28.1
Severity: medium Keywords:
Cc: Ticket locked: no

Description

datetime: 2017-05-01 11:48:13 (EDT)

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='1021' AND (program.endtime > FROM_UNIXTIME('1493653500') AND program.starttime < FROM_UNIXTIME('1493664300') AND program.starttime != program.endtime)

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

file: /usr/share/mythtv/mythweb/modules/tv/classes/Channel.php line: 154

class:

function: load_all_program_data

type: args: Array

(

[0] => 1493653500 [1] => 1493664300 [2] => 1021

)

file: /usr/share/mythtv/mythweb/modules/tv/tmpl/default/list_data.php line: 102

class: Channel

function: display_programs

type: -> args: Array

(

[0] => 1493653500 [1] => 1493664300

)

file: /usr/share/mythtv/mythweb/modules/tv/tmpl/default/list.php line: 78

class:

function: require_once

type: args: Array

(

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

)

file: /usr/share/mythtv/mythweb/modules/tv/list.php line: 45

class:

function: require_once

type: args: Array

(

[0] => /usr/share/mythtv/mythweb/modules/tv/tmpl/default/list.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/list.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

)

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

$_SESSION: Array (

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

Change History (2)

comment:1 Changed 2 years ago by Peter Bennett

Resolution: Duplicate
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.

comment:2 Changed 2 years ago by voissesinc@…

wow a quick response.and yes that was the problem .I have it fix.with the upgrade.

Note: See TracTickets for help on using tickets.