﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc	mlocked
12978	Myth Failed when adding a manual recording event	sirgeek-myth@…		"    datetime:  2017-01-18 01:40:47 (EST)
    errornum:  256
  error type:  User Error
error string:  !!NoTrans: SQL Error: Incorrect datetime value: '00:00:00' for column 'next_record' at row 1 [#1292]!!
    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: Incorrect datetime value: '00:00:00' for column 'next_record' at row 1 [#1292]
    [1] => 256
)

    file:  /usr/share/mythtv/mythweb/classes/Database.php
    line:  261
   class:  Database_Query_mysqlicompat
function:  execute
    type:  ->
    args:  Array
(
    [0] => Array
        (
            [0] => 0
            [1] => 1
            [2] => 1611
            [3] => 1484721600
            [4] => 1484721600
            [5] => 1484728800
            [6] => 1484728800
            [7] => 5
            [8] => 61_1 (WTIC-DT)
            [9] => 
            [10] => 
            [11] => Default
            [12] => 0
            [13] => 0
            [14] => 0
            [15] => 0
            [16] => 0
            [17] => 0
            [18] => 0
            [19] => 0
            [20] => Default
            [21] => 6
            [22] => 15
            [23] => WTIC-DT
            [24] => 
            [25] => 
            [26] => 1
            [27] => 3
            [28] => 01:01:00
            [29] => 719528
            [30] => 0
            [31] => 0
            [32] => 0
            [33] => 0
            [34] => 0
            [35] => 0
            [36] => 0
            [37] => 1
            [38] => Default
            [39] => Default
            [40] => 0
            [41] => 00:00:00
            [42] => 00:00:00
            [43] => 00:00:00
            [44] => 
            [45] => 0
            [46] => 0
            [47] => 0
            [48] => 1
        )

)

    file:  /usr/share/mythtv/mythweb/modules/tv/classes/Schedule.php
    line:  384
   class:  Database
function:  query
    type:  ->
    args:  Array
(
    [0] => REPLACE INTO record (recordid,type,chanid,starttime,startdate,endtime,enddate,search,
                                               title,subtitle,description,profile,recpriority,category,
                                               maxnewest,inactive,maxepisodes,autoexpire,startoffset,endoffset,
                                               recgroup,dupmethod,dupin,station,seriesid,programid,autocommflag,
                                               findday,findtime,findid,autotranscode,parentid,transcoder,
                                               autouserjob1,autouserjob2,autouserjob3,autouserjob4,autometadata,
                                               playgroup,storagegroup,prefinput,
                                               next_record,last_record,last_delete,inetref,season,episode,filter,recgroupid)
                                       VALUES (?,?,?,
                                               FROM_UNIXTIME(?),FROM_UNIXTIME(?),FROM_UNIXTIME(?),FROM_UNIXTIME(?),
                                               ?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)
    [1] => 0
    [2] => 1
    [3] => 1611
    [4] => 1484721600
    [5] => 1484721600
    [6] => 1484728800
    [7] => 1484728800
    [8] => 5
    [9] => 61_1 (WTIC-DT)
    [10] => 
    [11] => 
    [12] => Default
    [13] => 0
    [14] => 0
    [15] => 0
    [16] => 0
    [17] => 0
    [18] => 0
    [19] => 0
    [20] => 0
    [21] => Default
    [22] => 6
    [23] => 15
    [24] => WTIC-DT
    [25] => 
    [26] => 
    [27] => 1
    [28] => 3
    [29] => 01:01:00
    [30] => 719528
    [31] => 0
    [32] => 0
    [33] => 0
    [34] => 0
    [35] => 0
    [36] => 0
    [37] => 0
    [38] => 1
    [39] => Default
    [40] => Default
    [41] => 0
    [42] => 00:00:00
    [43] => 00:00:00
    [44] => 00:00:00
    [45] => 
    [46] => 0
    [47] => 0
    [48] => 0
    [49] => 1
)

    file:  /usr/share/mythtv/mythweb/modules/tv/schedules_manual.php
    line:  106
   class:  Schedule
function:  save
    type:  ->
    args:  Array
(
    [0] => 1
)

    file:  /usr/share/mythtv/mythweb/modules/tv/schedules.php
    line:  14
   class:  
function:  require_once
    type:  
    args:  Array
(
    [0] => /usr/share/mythtv/mythweb/modules/tv/schedules_manual.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/schedules.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
)


==========================================================================

$_POST: Array
(
    [record] => 1
    [channel] => 1611
    [startdate] => 2017-01-18
    [starttime] => 01:40:00
    [length] => 120
    [title] => Use callsign
    [profile] => Default
    [transcoder] => 0
    [recgroup] => Default
    [storagegroup] => Default
    [playgroup] => Default
    [recpriority] => 0
    [dupmethod] => 6
    [dupin] => 15
    [prefinput] => 0
    [inetref] => 
    [season] => 
    [episode] => 
    [autometadata] => 1
    [autocommflag] => 1
    [maxepisodes] => 0
    [startoffset] => 0
    [endoffset] => 0
    [save] => Create Schedule
)

==========================================================================

$_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] => &#9733;
    [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
        (
            [timezone] => Array
                (
                    [value] => America/New_York
                    [last_check_time] => 1484720979
                )

        )

    [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
    [tv] => Array
        (
            [last] => Array
                (
                    [0] => schedules
                    [1] => manual
                )

        )

    [list_time] => 1484720100
    [schedules_sortby] => Array
        (
            [0] => Array
                (
                    [field] => airdate
                    [reverse] => 
                )

            [1] => Array
                (
                    [field] => title
                    [reverse] => 
                )

        )

)

==========================================================================

$_SERVER: Array
(
    [REDIRECT_STATUS] => 200
    [HTTP_HOST] => tuxie.soffen.com
    [HTTP_CONNECTION] => keep-alive
    [CONTENT_LENGTH] => 344
    [HTTP_CACHE_CONTROL] => max-age=0
    [HTTP_ORIGIN] => http://tuxie.soffen.com
    [HTTP_UPGRADE_INSECURE_REQUESTS] => 1
    [HTTP_USER_AGENT] => Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36
    [CONTENT_TYPE] => application/x-www-form-urlencoded
    [HTTP_ACCEPT] => text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
    [HTTP_DNT] => 1
    [HTTP_REFERER] => http://tuxie.soffen.com/mythweb/tv/schedules/manual
    [HTTP_ACCEPT_ENCODING] => gzip, deflate
    [HTTP_ACCEPT_LANGUAGE] => en-US,en;q=0.8
    [HTTP_COOKIE] => mythweb_id=4kfjdsvechis48o3138sk4van0
    [PATH] => /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
    [SERVER_SIGNATURE] => <address>Apache/2.4.18 (Ubuntu) Server at tuxie.soffen.com Port 80</address>

    [SERVER_SOFTWARE] => Apache/2.4.18 (Ubuntu)
    [SERVER_NAME] => tuxie.soffen.com
    [SERVER_ADDR] => 192.168.195.184
    [SERVER_PORT] => 80
    [REMOTE_ADDR] => 192.168.195.183
    [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] => 36334
    [REDIRECT_URL] => /mythweb/tv/schedules/manual
    [GATEWAY_INTERFACE] => CGI/1.1
    [SERVER_PROTOCOL] => HTTP/1.1
    [REQUEST_METHOD] => POST
    [QUERY_STRING] => 
    [REQUEST_URI] => /tv/schedules/manual
    [SCRIPT_NAME] => /mythweb/mythweb.php
    [PATH_INFO] => /tv/schedules/manual
    [PATH_TRANSLATED] => /var/www/html/tv/schedules/manual
    [PHP_SELF] => /mythweb/mythweb.php/tv/schedules/manual
    [REQUEST_TIME_FLOAT] => 1484721647.514
    [REQUEST_TIME] => 1484721647
    [STATUS] => 200
    [URL] => /mythweb/tv/schedules/manual
    [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] => tuxie
    [http_host] => tuxie.soffen.com
    [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://tuxie.soffen.com/mythweb/
    [root_url] => http://tuxie.soffen.com/mythweb/
    [searchtype_keyword] => 3
    [searchtype_manual] => 5
    [searchtype_people] => 4
    [searchtype_power] => 1
    [searchtype_title] => 2
    [skin] => default
    [skin_img_url] => http://tuxie.soffen.com/mythweb/skins/default/img/
    [skin_url] => http://tuxie.soffen.com/mythweb/skins/default/
    [star_character] => &#9733;
    [stream_url] => http://tuxie.soffen.com:80//mythweb/
    [tb] => 1099511627776
    [timeslot_blocks] => 3
    [timeslot_size] => 300
    [timeslotbar_skip] => 20
    [tmpl] => default
    [tmpl_dir] => modules/tv/tmpl/default/
)


"	Bug Report - General	closed	minor	unknown	Plugin - MythWeb	Unspecified	medium	Duplicate			0
