I'm running v32, latest daily builds for Ubuntu 20.04.
When clicking on a listing or upcoming recording in mythweb, the error pasted below is the result. This wasn't the case for the packages built on 2022-03-05, but then is a problem in the 2022-03-09 build.
Code: Select all
datetime: 2022-03-12 16:30:01 (EST)
errornum: 256
error type: User Error
error 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 'UNIQUE(people.name)
FROM credits, people
' at line 1 [#1064]!!
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: 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 'UNIQUE(people.name)
FROM credits, people
' at line 1 [#1064]
[1] => 256
)
file: /usr/share/mythtv/mythweb/classes/Database.php
line: 263
class: Database_Query_mysqlicompat
function: execute
type: ->
args: Array
(
[0] => Array
(
[0] => host
[1] => 10810
[2] => 1647126000
)
)
file: /usr/share/mythtv/mythweb/modules/tv/classes/Program.php
line: 579
class: Database
function: query
type: ->
args: Array
(
[0] => SELECT UNIQUE(people.name)
FROM credits, people
WHERE credits.person = people.person
AND credits.role = ?
AND credits.chanid = ?
AND credits.starttime = FROM_UNIXTIME(?)
ORDER BY credits.priority
[1] => host
[2] => 10810
[3] => 1647126000
)
file: /usr/share/mythtv/mythweb/modules/tv/tmpl/default/detail.php
line: 345
class: Program
function: get_credits
type: ->
args: Array
(
[0] => host
[1] => 1
)
file: /usr/share/mythtv/mythweb/modules/tv/detail.php
line: 325
class:
function: require_once
type:
args: Array
(
[0] => /usr/share/mythtv/mythweb/modules/tv/tmpl/default/detail.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/detail.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
)
==========================================================================
$_DEBUG: Array
(
[Database Warnings] => Array
(
[0] => Array
(
[Query] => SET NAMES utf8;
[Warnings] => Array
(
[0] => Array
(
[#] => 3719
[MSG] => 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
)
)
)
)
)
==========================================================================
$_GET: Array
(
[chanid] => 10810
[starttime] => 1647126000
[manualid] => 0
)
==========================================================================
$_SESSION: Array
(
[language] => English
[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
[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
)
)
)
[last] => Array
(
[0] => tv
[1] => channels
)
[host] => mythtv
)
[backend] => Array
(
[127.0.0.1] => Array
(
[proto_version] => Array
(
[last_check_version] => 91
[last_check_time] => 1602900178
)
)
[timezone] => Array
(
[value] => America/New_York
[last_check_time] => 1647069145
)
[192.168.1.37] => Array
(
[proto_version] => Array
(
[last_check_version] => 91
[last_check_time] => 1647120400
)
)
)
[tv] => Array
(
[last] => Array
(
[0] => detail
[1] => 10810
[2] => 1647126000
)
[show_advanced_schedule] => 1
)
[list_time] => 1647119700
[recording_details] => Array
(
[show_Conflict] => 1
[show_PreviousRecording] => 1
[show_EarlierShowing] => 1
[show_CurrentRecording] => 1
[show_WillRecord] => 1
)
[scheduled_recordings] => Array
(
[disp_scheduled] => 1
[disp_duplicates] => 1
[disp_deactivated] => 1
[disp_conflicts] => 1
[disp_recgroup] =>
[disp_title] =>
)
[scheduled_sortby] => Array
(
[0] => Array
(
[field] => recdate
[reverse] =>
)
[1] => Array
(
[field] => airdate
[reverse] =>
)
[2] => Array
(
[field] => title
[reverse] =>
)
)
[recorded_sortby] => Array
(
[0] => Array
(
[field] => airdate
[reverse] => 1
)
[1] => Array
(
[field] => channum
[reverse] =>
)
[2] => Array
(
[field] => title
[reverse] =>
)
[3] => Array
(
[field] => subtitle
[reverse] =>
)
[4] => Array
(
[field] => programid
[reverse] =>
)
[5] => Array
(
[field] => originalairdate
[reverse] =>
)
[6] => Array
(
[field] => file_size
[reverse] =>
)
)
[search] => Array
(
[type] => q
[s] => county by county
[ctype] => Array
(
[0] => movie
[1] => series
[2] => sports
[3] => tvshow
)
[categories] => Array ( )
[stars_gt] => 0
[stars_lt] => 1
[starttime] => now
[endtime] => + 2 weeks
[as] => Array
(
[0] => jfk
)
[af] => Array
(
[0] => Array
(
[0] => title
)
)
[aj] => Array
(
[0] => AND
)
[hd] =>
[commfree] =>
[unwatched] =>
[scheduled] =>
[generic] =>
[distinctTitle] =>
[airdate_start] =>
[airdate_end] =>
)
[search_sortby] => Array
(
[0] => Array
(
[field] => airdate
[reverse] =>
)
[1] => Array
(
[field] => title
[reverse] =>
)
)
[video_sortby] => Array
(
[0] => Array
(
[field] => title
[reverse] =>
)
)
[video] => Array
(
[path] => /Movies/Dark City (1998) [1080p] {5.1}
[browse] => -1
[VideoAdminPassword] =>
)
[weather] => Array
(
[active] => Array ( )
[inactive] => Array
(
[0] => 18 Hour Forecast
[1] => Animated Map
[2] => Current Conditions
[3] => Severe Weather Alerts
[4] => Six Day Forecast
[5] => Static Map
[6] => Three Day Forecast
)
)
[remote] => Array
(
[frontends] => Array ( )
[type] => keys
)
[schedules_sortby] => Array
(
[0] => Array
(
[field] => airdate
[reverse] =>
)
[1] => Array
(
[field] => title
[reverse] =>
)
)
[] => Array ( )
[recorded_title] =>
[recorded_recgroup] =>
)
==========================================================================
$_SERVER: Array
(
[REDIRECT_STATUS] => 200
[HTTP_HOST] => 192.168.1.37
[HTTP_CONNECTION] => keep-alive
[HTTP_UPGRADE_INSECURE_REQUESTS] => 1
[HTTP_DNT] => 1
[HTTP_USER_AGENT] => Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.30 Safari/537.36
[HTTP_ACCEPT] => text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9
[HTTP_REFERER] => http://192.168.1.37/mythweb/tv/upcoming
[HTTP_ACCEPT_ENCODING] => gzip, deflate
[HTTP_ACCEPT_LANGUAGE] => en-US,en;q=0.9
[HTTP_COOKIE] => mythweb_id=ufkng2a097038h0lgmv0jn8gh4
[PATH] => /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[SERVER_SIGNATURE] => <address>Apache/2.4.41 (Ubuntu) Server at 192.168.1.37 Port 80</address>
[SERVER_SOFTWARE] => Apache/2.4.41 (Ubuntu)
[SERVER_NAME] => 192.168.1.37
[SERVER_ADDR] => 192.168.1.37
[SERVER_PORT] => 80
[REMOTE_ADDR] => 192.168.1.131
[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] => 55838
[REMOTE_USER] => mythtv
[AUTH_TYPE] => Digest
[REDIRECT_URL] => /mythweb/tv/detail/10810/1647126000
[GATEWAY_INTERFACE] => CGI/1.1
[SERVER_PROTOCOL] => HTTP/1.1
[REQUEST_METHOD] => GET
[QUERY_STRING] =>
[REQUEST_URI] => /tv/detail/10810/1647126000
[SCRIPT_NAME] => /mythweb/mythweb.php
[PATH_INFO] => /tv/detail/10810/1647126000
[PATH_TRANSLATED] => /var/www/html/tv/detail/10810/1647126000
[PHP_SELF] => /mythweb/mythweb.php/tv/detail/10810/1647126000
[PHP_AUTH_USER] => mythtv
[PHP_AUTH_DIGEST] => username="mythtv", realm="mythtv", nonce="HbJbGgzaBQA=fae5521813bccb25c85ceb21977841de36dffc05", uri="/mythweb/tv/detail/10810/1647126000", algorithm=MD5, response="da6e51786cfb02568f176b95e32b0405", qop=auth, nc=00000058, cnonce="a4bfe14004405d54"
[REQUEST_TIME_FLOAT] => 1647120600.877
[REQUEST_TIME] => 1647120600
[STATUS] => 200
[URL] => /mythweb/tv/detail/10810/1647126000
[HTTP_X_FORWARDED_PROTO] =>
[HTTPS] =>
[HTTP_PORT] => 80
)
==========================================================================
$constant_list["user"]: Array
(
[ERROR] => 512
[E_ASSERT_ERROR] => 4096
[FATAL] => 256
[JOB_ABORTED] => 288
[JOB_ABORTING] => 9
[JOB_CANCELLED] => 320
[JOB_COMMFLAG] => 2
[JOB_DONE] => 256
[JOB_ERRORED] => 304
[JOB_ERRORING] => 8
[JOB_EXTERNAL] => 4
[JOB_FINISHED] => 272
[JOB_LIST_ALL] => 1
[JOB_LIST_DONE] => 2
[JOB_LIST_ERROR] => 8
[JOB_LIST_NOT_DONE] => 4
[JOB_LIST_RECENT] => 16
[JOB_LIVE_REC] => 2
[JOB_METADATA] => 4
[JOB_NONE] => 0
[JOB_NO_FLAGS] => 0
[JOB_PAUSE] => 1
[JOB_PAUSED] => 6
[JOB_PENDING] => 2
[JOB_QUEUED] => 1
[JOB_RESTART] => 8
[JOB_RESUME] => 2
[JOB_RETRY] => 7
[JOB_RUN] => 0
[JOB_RUNNING] => 4
[JOB_STARTING] => 3
[JOB_STOP] => 4
[JOB_STOPPING] => 5
[JOB_SYSTEMJOB] => 255
[JOB_TRANSCODE] => 1
[JOB_UNKNOWN] => 0
[JOB_USERJOB] => 65280
[JOB_USERJOB1] => 256
[JOB_USERJOB2] => 512
[JOB_USERJOB3] => 1024
[JOB_USERJOB4] => 2048
[JOB_USE_CUTLIST] => 1
[PHP_MIN_VERSION] => 5.3
[WARNING] => 1024
[WebDBSchemaVer] => 5
[dupsin_all] => 15
[dupsin_newepisodes] => 16
[dupsin_oldrecorded] => 2
[dupsin_recorded] => 1
[error_email] =>
[gb] => 1073741824
[hostname] => mythtv
[http_host] => 192.168.1.37
[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://192.168.1.37/mythweb/
[root_url] => http://192.168.1.37/mythweb/
[searchtype_keyword] => 3
[searchtype_manual] => 5
[searchtype_people] => 4
[searchtype_power] => 1
[searchtype_title] => 2
[skin] => default
[skin_img_url] => http://192.168.1.37/mythweb/skins/default/img/
[skin_url] => http://192.168.1.37/mythweb/skins/default/
[star_character] => ★
[stream_url] => http://192.168.1.37:80//mythweb/
[tb] => 1099511627776
[timeslot_blocks] => 3
[timeslot_size] => 300
[timeslotbar_skip] => 20
[tmpl] => default
[tmpl_dir] => modules/tv/tmpl/default/
)