[mythtv-commits] Ticket #12713: Mythweb fails with mysql Server version: 5.7.11-0ubuntu5
MythTV
noreply at mythtv.org
Mon Apr 18 21:01:20 UTC 2016
#12713: Mythweb fails with mysql Server version: 5.7.11-0ubuntu5
----------------------------------+----------------------------
Reporter: jksjdevelop@… | Owner: dekarl
Type: Bug Report - General | Status: infoneeded
Priority: minor | Milestone: 0.28.1
Component: Plugin - MythWeb | Version: 0.28.0
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
----------------------------------+----------------------------
Comment (by jksjdevelop@…):
On the upcoming recordings page, 'Never Record' generates the following
error, Don't Record works.
{{{
datetime: 2016-04-18 21:53:27 (BST)
errornum: 256
error type: User Error
error string: !!NoTrans: SQL Error: Field 'season' doesn't have a default
value [#1364]!!
filename:
/home/tv/MythSource/mythweb/classes/Database/Query/mysqlicompat.php
error line: 98
==========================================================================
Backtrace:
file:
/home/tv/MythSource/mythweb/classes/Database/Query/mysqlicompat.php
line: 98
class:
function: trigger_error
type:
args: Array
(
[0] => SQL Error: Field 'season' doesn't have a default value [#1364]
[1] => 256
)
file: /home/tv/MythSource/mythweb/classes/Database.php
line: 261
class: Database_Query_mysqlicompat
function: execute
type: ->
args: Array
(
[0] => Array ( )
)
file: /home/tv/MythSource/mythweb/modules/tv/classes/Program.php
line: 646
class: Database
function: query
type: ->
args: Array
(
[0] => REPLACE INTO oldrecorded
(chanid,starttime,endtime,title,subtitle,description,category,seriesid,programid,recordid,station,rectype,recstatus,duplicate)
VALUES ('11940',NOW(),NOW(),'The Hairy Bikers\' Pubs That Built
Britain','Cornwall','Si and Dave discover pubs that were at the centre of
an illegal industry in the late
1700s.','News','fp.bbc.co.uk/ve3zps','fp.bbc.co.uk/247obc','4229','BBC TWO
HD','4',11,1)
)
file: /home/tv/MythSource/mythweb/modules/tv/upcoming.php
line: 36
class: Program
function: rec_never_record
type: ->
args: Array ( )
file: /home/tv/MythSource/mythweb/modules/tv/handler.php
line: 82
class:
function: require_once
type:
args: Array
(
[0] => /home/tv/MythSource/mythweb/modules/tv/upcoming.php
)
file: /home/tv/MythSource/mythweb/mythweb.php
line: 35
class:
function: require_once
type:
args: Array
(
[0] => /home/tv/MythSource/mythweb/modules/tv/handler.php
)
==========================================================================
$_GET: Array
(
[never_record] => yes
[chanid] => 11940
[starttime] => 1461259800
[manualid] => 0
)
==========================================================================
$_SESSION: Array
(
[cache_engine] => Cache_Null
[stream] => Array
(
[include_user_and_password] =>
)
[prefer_channum] => 1
[recorded_pixmaps] => 1
[guide_favonly] =>
[timeslot_size] => 600
[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] => null
[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] => mythweb
[1] => defaults
)
)
[backend] => Array
(
[localhost] => Array
(
[proto_version] => Array
(
[last_check_version] => 77
[last_check_time] => 1390078890
)
)
[timezone] => Array
(
[value] => Europe/London
[last_check_time] => 1460996269
)
[192.168.1.108] => Array
(
[proto_version] => Array
(
[last_check_version] => 88
[last_check_time] => 1461006319
)
)
)
[language] => English_GB
[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] => upcoming
[1] => 11940
[2] => 1461259800
)
)
[list_time] => 1461344400
[recording_details] => Array
(
[show_Conflict] => 1
[show_PreviousRecording] => 1
[show_EarlierShowing] => 1
[show_CurrentRecording] => 1
[show_WillRecord] => 1
)
[file_url_override] =>
[scheduled_recordings] => Array
(
[disp_scheduled] => 1
[disp_duplicates] =>
[disp_deactivated] =>
[disp_conflicts] => 1
)
[scheduled_sortby] => Array
(
[0] => Array
(
[field] => title
[reverse] => 1
)
[1] => Array
(
[field] => airdate
[reverse] =>
)
)
[recorded_sortby] => Array
(
[0] => Array
(
[field] => title
[reverse] =>
)
[1] => Array
(
[field] => airdate
[reverse] => 1
)
)
)
==========================================================================
$_SERVER: Array
(
[REDIRECT_STATUS] => 200
[HTTP_HOST] => 192.168.1.108
[HTTP_USER_AGENT] => Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:45.0)
Gecko/20100101 Firefox/45.0
[HTTP_ACCEPT] =>
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
[HTTP_ACCEPT_LANGUAGE] => en-GB,en;q=0.5
[HTTP_ACCEPT_ENCODING] => gzip, deflate
[HTTP_REFERER] =>
http://192.168.1.108/mythweb/tv/upcoming?sortby=title
[HTTP_COOKIE] => mythweb_id=p15957ti4tnhhd9t7a2p0o74b5
[HTTP_CONNECTION] => keep-alive
[PATH] => /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[SERVER_SIGNATURE] => <address>Apache/2.4.18 (Ubuntu) Server at
192.168.1.108 Port 80</address>
[SERVER_SOFTWARE] => Apache/2.4.18 (Ubuntu)
[SERVER_NAME] => 192.168.1.108
[SERVER_ADDR] => 192.168.1.108
[SERVER_PORT] => 80
[REMOTE_ADDR] => 192.168.1.116
[DOCUMENT_ROOT] => /var/www/html
[REQUEST_SCHEME] => http
[CONTEXT_PREFIX] =>
[CONTEXT_DOCUMENT_ROOT] => /var/www/html
[SERVER_ADMIN] => webmaster at localhost
[SCRIPT_FILENAME] => /var/www/html/mythweb/mythweb.php
[REMOTE_PORT] => 55554
[REDIRECT_URL] => /mythweb/tv/upcoming/11940/1461259800
[REDIRECT_QUERY_STRING] => never_record=yes
[GATEWAY_INTERFACE] => CGI/1.1
[SERVER_PROTOCOL] => HTTP/1.1
[REQUEST_METHOD] => GET
[QUERY_STRING] => never_record=yes
[REQUEST_URI] => /tv/upcoming/11940/1461259800?never_record=yes
[SCRIPT_NAME] => /mythweb/mythweb.php
[PATH_INFO] => /tv/upcoming/11940/1461259800
[PATH_TRANSLATED] => /var/www/html/tv/upcoming/11940/1461259800
[PHP_SELF] => /mythweb/mythweb.php/tv/upcoming/11940/1461259800
[REQUEST_TIME_FLOAT] => 1461012807.327
[REQUEST_TIME] => 1461012807
[STATUS] => 200
[URL] => /mythweb/tv/upcoming/11940/1461259800
[HTTP_X_FORWARDED_PROTO] =>
[HTTPS] =>
[HTTP_PORT] => 80
)
==========================================================================
$constant_list["user"]: Array
(
[ERROR] => 512
[E_ASSERT_ERROR] => 4096
[FATAL] => 256
[PHP_MIN_VERSION] => 5.3
[WARNING] => 1024
[WebDBSchemaVer] => 4
[dupsin_all] => 15
[dupsin_newepisodes] => 16
[dupsin_oldrecorded] => 2
[dupsin_recorded] => 1
[error_email] =>
[gb] => 1073741824
[hostname] => tv
[http_host] => 192.168.1.108
[kb] => 1024
[max_stars] => 4
[mb] => 1048576
[module] => tv
[modules_path] => /home/tv/MythSource/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.108/mythweb/
[root_url] => http://192.168.1.108/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.108/mythweb/skins/default/img/
[skin_url] => http://192.168.1.108/mythweb/skins/default/
[star_character] => ★
[stream_url] => http://192.168.1.108:80//mythweb/
[tb] => 1099511627776
[timeslot_blocks] => 3
[timeslot_size] => 600
[timeslotbar_skip] => 20
[tmpl] => default
[tmpl_dir] => modules/tv/tmpl/default/
)
}}}
--
Ticket URL: <https://code.mythtv.org/trac/ticket/12713#comment:14>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list