﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc	mlocked
12766	Using Mythweb on mythbuntu to create new show recoding for Conan	scott.atherton@…	Stuart Auchterlonie	"Repeatable: every new recording through Mythweb.  Through regular interface it works fine

    datetime:  2016-05-12 06:04:11 (PDT)
    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] => 4
            [2] => 1075
            [3] => 1463110560
            [4] => 1463110560
            [5] => 1463114220
            [6] => 1463114220
            [7] => 0
            [8] => Conan
            [9] => 
            [10] => 
            [11] => Default
            [12] => 5
            [13] => Talk
            [14] => 1
            [15] => 0
            [16] => 5
            [17] => 1
            [18] => 0
            [19] => 0
            [20] => Default
            [21] => 6
            [22] => 15
            [23] => CJCH
            [24] => EP01332392
            [25] => EP013323920894
            [26] => 1
            [27] => 5
            [28] => 20:36:00
            [29] => 719528
            [30] => 1
            [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] => 3
            [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] => 4
    [3] => 1075
    [4] => 1463110560
    [5] => 1463110560
    [6] => 1463114220
    [7] => 1463114220
    [8] => 0
    [9] => Conan
    [10] => 
    [11] => 
    [12] => Default
    [13] => 5
    [14] => Talk
    [15] => 1
    [16] => 0
    [17] => 5
    [18] => 1
    [19] => 0
    [20] => 0
    [21] => Default
    [22] => 6
    [23] => 15
    [24] => CJCH
    [25] => EP01332392
    [26] => EP013323920894
    [27] => 1
    [28] => 5
    [29] => 20:36:00
    [30] => 719528
    [31] => 1
    [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] => 3
    [49] => 1
)

    file:  /usr/share/mythtv/mythweb/modules/tv/detail.php
    line:  250
   class:  Schedule
function:  save
    type:  ->
    args:  Array
(
    [0] => 4
)

    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
)


==========================================================================

$_GET: Array
(
    [chanid] => 1075
    [starttime] => 1463110560
    [manualid] => 0
)

==========================================================================

$_POST: Array
(
    [record] => 4
    [profile] => Default
    [transcoder] => 0
    [recgroup] => Default
    [storagegroup] => Default
    [playgroup] => Default
    [recpriority] => 5
    [dupmethod] => 6
    [dupin] => 15
    [prefinput] => 0
    [inetref] => 
    [season] => 0
    [episode] => 0
    [recordfilter_0] => 1
    [recordfilter_1] => 1
    [autometadata] => 1
    [autocommflag] => 1
    [autotranscode] => 1
    [autoexpire] => 1
    [maxnewest] => 1
    [maxepisodes] => 5
    [startoffset] => 0
    [endoffset] => 0
    [save] => Update Recording Settings
)

==========================================================================

$_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/Vancouver
                    [last_check_time] => 1463056624
                )

            [10.10.5.221] => Array
                (
                    [proto_version] => Array
                        (
                            [last_check_version] => 88
                            [last_check_time] => 1463056624
                        )

                )

        )

    [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] => detail
                    [1] => 1075
                    [2] => 1463110560
                )

        )

    [list_time] => 1463058000
    [schedules_sortby] => Array
        (
            [0] => Array
                (
                    [field] => airdate
                    [reverse] => 
                )

            [1] => Array
                (
                    [field] => title
                    [reverse] => 
                )

        )

    [search] => Array
        (
            [s] => conan
            [type] => q
            [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] => 
                )

            [af] => Array
                (
                    [0] => Array
                        (
                            [0] => title
                        )

                )

            [aj] => Array
                (
                    [0] => AND
                )

        )

    [search_sortby] => Array
        (
            [0] => Array
                (
                    [field] => airdate
                    [reverse] => 
                )

            [1] => Array
                (
                    [field] => title
                    [reverse] => 
                )

        )

    [recording_details] => Array
        (
            [show_Conflict] => 1
            [show_PreviousRecording] => 1
            [show_EarlierShowing] => 1
            [show_CurrentRecording] => 1
            [show_WillRecord] => 1
        )

)

==========================================================================

$_SERVER: Array
(
    [REDIRECT_STATUS] => 200
    [HTTP_HOST] => 10.10.5.221
    [HTTP_CONNECTION] => keep-alive
    [CONTENT_LENGTH] => 344
    [HTTP_CACHE_CONTROL] => max-age=0
    [HTTP_ACCEPT] => text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
    [HTTP_ORIGIN] => http://10.10.5.221
    [HTTP_UPGRADE_INSECURE_REQUESTS] => 1
    [HTTP_USER_AGENT] => Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.94 Safari/537.36
    [CONTENT_TYPE] => application/x-www-form-urlencoded
    [HTTP_DNT] => 1
    [HTTP_REFERER] => http://10.10.5.221/mythweb/tv/detail/1075/1463110560
    [HTTP_ACCEPT_ENCODING] => gzip, deflate
    [HTTP_ACCEPT_LANGUAGE] => en-US,en;q=0.8
    [HTTP_COOKIE] => mythweb_id=mgj16vfqr2s11s6v86suli9736
    [PATH] => /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
    [SERVER_SIGNATURE] => <address>Apache/2.4.18 (Ubuntu) Server at 10.10.5.221 Port 80</address>

    [SERVER_SOFTWARE] => Apache/2.4.18 (Ubuntu)
    [SERVER_NAME] => 10.10.5.221
    [SERVER_ADDR] => 10.10.5.221
    [SERVER_PORT] => 80
    [REMOTE_ADDR] => 10.10.5.228
    [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] => 53629
    [REDIRECT_URL] => /mythweb/tv/detail/1075/1463110560
    [GATEWAY_INTERFACE] => CGI/1.1
    [SERVER_PROTOCOL] => HTTP/1.1
    [REQUEST_METHOD] => POST
    [QUERY_STRING] => 
    [REQUEST_URI] => /tv/detail/1075/1463110560
    [SCRIPT_NAME] => /mythweb/mythweb.php
    [PATH_INFO] => /tv/detail/1075/1463110560
    [PATH_TRANSLATED] => /var/www/html/tv/detail/1075/1463110560
    [PHP_SELF] => /mythweb/mythweb.php/tv/detail/1075/1463110560
    [REQUEST_TIME_FLOAT] => 1463058251.763
    [REQUEST_TIME] => 1463058251
    [STATUS] => 200
    [URL] => /mythweb/tv/detail/1075/1463110560
    [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] => 4
    [dupsin_all] => 15
    [dupsin_newepisodes] => 16
    [dupsin_oldrecorded] => 2
    [dupsin_recorded] => 1
    [error_email] => 
    [gb] => 1073741824
    [hostname] => recorder
    [http_host] => 10.10.5.221
    [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://10.10.5.221/mythweb/
    [root_url] => http://10.10.5.221/mythweb/
    [searchtype_keyword] => 3
    [searchtype_manual] => 5
    [searchtype_people] => 4
    [searchtype_power] => 1
    [searchtype_title] => 2
    [skin] => default
    [skin_img_url] => http://10.10.5.221/mythweb/skins/default/img/
    [skin_url] => http://10.10.5.221/mythweb/skins/default/
    [star_character] => &#9733;
    [stream_url] => http://10.10.5.221: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	0.28.1	Plugin - MythWeb	0.28.0	medium	Duplicate	mythweb error new recording		0
