All pastes #184057 Raw Edit

Anonymous

public unlisted text v1 · immutable
#184057 ·published 2006-09-27 14:38 UTC
rendered paste body
Fatal Error at /var/www/mythweb/includes/objects/Database_Query_mysql.php, line 73:
SQL Error: Column 'seriesid' cannot be null [#1048]

If you choose to submit a bug report, please make sure to include a
brief description of what you were doing, along with the following
backtrace as an attachment (please don't paste the whole thing into
the ticket).
Backtrace:

    datetime:  2006-09-27 11:27:24 (BRT)
    errornum:  256
  error type:  User Error
error string:  SQL Error: Column 'seriesid' cannot be null [#1048]
    filename:  /var/www/mythweb/includes/objects/Database_Query_mysql.php
  error line:  73

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

Backtrace: 

    file:  /var/www/mythweb/includes/objects/Database_Query_mysql.php
    line:  73
   class:  
function:  trigger_error
    type:  
    args:  Array
(
    [0] => SQL Error: Column 'seriesid' cannot be null [#1048]
    [1] => 256
)

    file:  /var/www/mythweb/includes/objects/Database.php
    line:  220
   class:  database_query_mysql
function:  execute
    type:  ->
    args:  Array
(
    [0] => Array
        (
            [0] => 0
            [1] => 1
            [2] => 1000
            [3] => 1159367280
            [4] => 1159367280
            [5] => 1159367340
            [6] => 1159367340
            [7] => 5
            [8] => 3 (3)
            [9] => 2006-09-27 11:28:00 (1 min)
            [10] => Manually scheduled
            [11] => Default
            [12] => 0
            [13] => Manual recording
            [14] => 0
            [15] => 0
            [16] => 0
            [17] => 1
            [18] => 0
            [19] => 0
            [20] => Default
            [21] => 6
            [22] => 15
            [23] => 3
            [24] => 
            [25] => 
            [26] => 1
            [27] => 3
            [28] => 11:09:00
            [29] => 732946.602778
            [30] => 0
            [31] => 0
            [32] => 0
            [33] => 1
            [34] => 0
            [35] => 0
            [36] => 0
            [37] => 0
        )

)

    file:  /var/www/mythweb/includes/recording_schedules.php
    line:  296
   class:  database_mysql
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,transcoder,parentid,tsdefault,autouserjob1,autouserjob2,autouserjob3,autouserjob4)
                                       VALUES (?,?,?,
                                               FROM_UNIXTIME(?),FROM_UNIXTIME(?),FROM_UNIXTIME(?),FROM_UNIXTIME(?),
                                               ?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)
    [1] => 0
    [2] => 1
    [3] => 1000
    [4] => 1159367280
    [5] => 1159367280
    [6] => 1159367340
    [7] => 1159367340
    [8] => 5
    [9] => 3 (3)
    [10] => 2006-09-27 11:28:00 (1 min)
    [11] => Manually scheduled
    [12] => Default
    [13] => 0
    [14] => Manual recording
    [15] => 0
    [16] => 0
    [17] => 0
    [18] => 1
    [19] => 0
    [20] => 0
    [21] => Default
    [22] => 6
    [23] => 15
    [24] => 3
    [25] => 
    [26] => 
    [27] => 1
    [28] => 3
    [29] => 11:09:00
    [30] => 732946.602778
    [31] => 0
    [32] => 0
    [33] => 0
    [34] => 1
    [35] => 0
    [36] => 0
    [37] => 0
    [38] => 0
)

    file:  /var/www/mythweb/modules/tv/schedules_manual.php
    line:  107
   class:  schedule
function:  save
    type:  ->
    args:  Array
(
    [0] => 1
)

    file:  /var/www/mythweb/modules/tv/schedules.php
    line:  18
   class:  
function:  require_once
    type:  
    args:  Array
(
    [0] => /var/www/mythweb/modules/tv/schedules_manual.php
)

    file:  /var/www/mythweb/modules/tv/handler.php
    line:  62
   class:  
function:  require_once
    type:  
    args:  Array
(
    [0] => /var/www/mythweb/modules/tv/schedules.php
)

    file:  /var/www/mythweb/mythweb.php
    line:  24
   class:  
function:  require_once
    type:  
    args:  Array
(
    [0] => /var/www/mythweb/modules/tv/handler.php
)


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

$_POST: Array
(
    [record] => 1
    [channel] => 1000
    [startdate] => 2006-09-27
    [starttime] => 11:28:00
    [length] => 1
    [title] => Use callsign
    [subtitle] => Use date/time
    [profile] => Default
    [transcoder] => 0
    [recgroup] => Default
    [recpriority] => 0
    [dupin] => 15
    [dupmethod] => 6
    [autocommflag] => 1
    [autoexpire] => 1
    [maxepisodes] => 
    [startoffset] => 
    [endoffset] => 
    [save] => Create Schedule
)

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

$_SESSION: Array
(
    [language] => English
    [tmpl] => default
    [skin] => default
    [prefer_channum] => 1
    [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<br />(%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
    [time_format] => %I:%M %p
    [recorded_pixmaps] => 1
    [guide_favonly] => 
    [timeslot_size] => 300
    [num_time_slots] => 36
    [timeslot_blocks] => 3
    [timeslotbar_skip] => 20
    [max_stars] => 4
    [star_character] => &diams;
    [scheduled_recordings] => Array
        (
            [disp_scheduled] => 1
            [disp_duplicates] => 1
            [disp_deactivated] => 1
            [disp_conflicts] => 1
        )

    [] => Array ( )
    [recorded_title] => 
    [recorded_recgroup] => 
    [recorded_sortby] => Array
        (
            [0] => Array
                (
                    [field] => airdate
                    [reverse] => 1
                )

            [1] => Array
                (
                    [field] => title
                    [reverse] => 
                )

        )

    [list_time] => 1159289100
    [scheduled_sortby] => Array
        (
            [0] => Array
                (
                    [field] => airdate
                    [reverse] => 
                )

            [1] => Array
                (
                    [field] => title
                    [reverse] => 
                )

        )

    [schedules_sortby] => Array
        (
            [0] => Array
                (
                    [field] => airdate
                    [reverse] => 
                )

            [1] => Array
                (
                    [field] => title
                    [reverse] => 
                )

        )

    [siunits] => 
)

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

$_SERVER: Array
(
    [REDIRECT_STATUS] => 200
    [HTTP_HOST] => 10.1.60.144
    [HTTP_USER_AGENT] => Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.7) Gecko/20060921 Ubuntu/dapper-security Firefox/1.5.0.7
    [HTTP_ACCEPT] => text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
    [HTTP_ACCEPT_LANGUAGE] => en-us,en;q=0.5
    [HTTP_ACCEPT_ENCODING] => gzip,deflate
    [HTTP_ACCEPT_CHARSET] => ISO-8859-1,utf-8;q=0.7,*;q=0.7
    [HTTP_KEEP_ALIVE] => 300
    [HTTP_CONNECTION] => keep-alive
    [HTTP_REFERER] => http://10.1.60.144/mythweb/tv/schedules/manual
    [HTTP_COOKIE] => mythweb_id=377e7ebc6e1de4b946d63282e64400f1
    [CONTENT_TYPE] => application/x-www-form-urlencoded
    [CONTENT_LENGTH] => 285
    [PATH] => /usr/local/bin:/usr/bin:/bin
    [SERVER_SIGNATURE] => <address>Apache/2.0.55 (Ubuntu) PHP/4.4.2-1build1 Server at 10.1.60.144 Port 80</address>

    [SERVER_SOFTWARE] => Apache/2.0.55 (Ubuntu) PHP/4.4.2-1build1
    [SERVER_NAME] => 10.1.60.144
    [SERVER_ADDR] => 10.1.60.144
    [SERVER_PORT] => 80
    [REMOTE_ADDR] => 10.1.230.2
    [DOCUMENT_ROOT] => /var/www
    [SERVER_ADMIN] => webmaster@localhost
    [SCRIPT_FILENAME] => /var/www/mythweb/mythweb.php
    [REMOTE_PORT] => 57629
    [REDIRECT_URL] => /mythweb/tv/schedules/manual
    [GATEWAY_INTERFACE] => CGI/1.1
    [SERVER_PROTOCOL] => HTTP/1.1
    [REQUEST_METHOD] => POST
    [QUERY_STRING] => 
    [REQUEST_URI] => /mythweb/tv/schedules/manual
    [SCRIPT_NAME] => /mythweb/mythweb.php
    [PATH_INFO] => /tv/schedules/manual
    [PATH_TRANSLATED] => /var/www/tv/schedules/manual
    [PHP_SELF] => /mythweb/mythweb.php/tv/schedules/manual
    [argv] => Array ( )
    [argc] => 0
    [STATUS] => 200
    [URL] => /mythweb/tv/schedules/manual
)