Opened 11 years ago

Closed 11 years ago

#6408 closed defect (duplicate)

MythWeb Crash when recording no longer available and your click Don't Record

Reported by: markdavidoff@… Owned by: xris
Priority: minor Milestone: unknown
Component: Plugin - MythWeb Version: unknown
Severity: medium Keywords:
Cc: Ticket locked: no

Description (last modified by Rob Smith)

In the upcoming recordings screen, there was a program that had its schedule changed. In notes: "This show does not match the current program listings" Upon clicking "Don't Record" I get this error: SCREENSHOT: http://img3.imageshack.us/img3/9612/screenshotpzc.jpg

Fatal Error at /usr/share/mythtv/mythweb/modules/tv/includes/objects/Program.php, line 817:
Unknown schedule for this program's recordid:

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:  2009-03-31 10:57:06 (WST)
    errornum:  256
  error type:  User Error
error string:  Unknown schedule for this program's recordid:  
    filename:  /usr/share/mythtv/mythweb/modules/tv/includes/objects/Program.php
  error line:  817

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

Backtrace: 

    file:  /usr/share/mythtv/mythweb/modules/tv/includes/objects/Program.php
    line:  817
   class:  
function:  trigger_error
    type:  
    args:  Array
(
    [0] => Unknown schedule for this program's recordid:  
    [1] => 256
)

    file:  /usr/share/mythtv/mythweb/modules/tv/upcoming.php
    line:  48
   class:  Program
function:  rec_override
    type:  ->
    args:  Array
(
    [0] => 8
)

    file:  /usr/share/mythtv/mythweb/modules/tv/handler.php
    line:  85
   class:  
function:  require_once
    type:  
    args:  Array
(
    [0] => /usr/share/mythtv/mythweb/modules/tv/upcoming.php
)

    file:  /usr/share/mythtv/mythweb/mythweb.php
    line:  28
   class:  
function:  require_once
    type:  
    args:  Array
(
    [0] => /usr/share/mythtv/mythweb/modules/tv/handler.php
)


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

$_GET: Array
(
    [dontrec] => yes
    [chanid] => 1010
    [starttime] => 1238756400
    [manualid] => 0
)

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

$_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 (%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
    [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
    [show_video_covers] => 1
    [settings] => Array
        (
            [last] => Array
                (
                    [0] => video
                    [1] => settings
                )

            [host] => mythTVServer
        )

    [tv] => Array
        (
            [last] => Array
                (
                    [0] => upcoming
                    [1] => 1010
                    [2] => 1238756400
                )

            [show_advanced_schedule] => 1
        )

    [list_time] => 1238424300
    [weather] => Array
        (
            [active] => Array
                (
                    [0] => 1
                    [1] => 2
                )

            [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
                (
                    [mythTVServer] => MainMenu
                )

            [type] => keys
        )

    [scheduled_recordings] => Array
        (
            [disp_scheduled] => 1
            [disp_duplicates] => 
            [disp_deactivated] => 1
            [disp_conflicts] => 1
        )

    [scheduled_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
        )

    [search] => Array
        (
            [type] => q
            [s] => swift
            [ctype] => Array
                (
                    [0] => movie
                    [1] => sports
                    [2] => tvshow
                )

            [stars_gt] => 0
            [stars_lt] => 1
            [starttime] => now
            [endtime] => + 2 weeks
            [as] => Array
                (
                    [0] => 24
                )

            [af] => Array
                (
                    [0] => Array
                        (
                            [0] => title
                        )

                )

            [aj] => Array
                (
                    [0] => AND
                )

            [hd] => 
            [commfree] => 
            [airdate_start] => 
            [airdate_end] => 
        )

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

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

        )

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

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

        )

    [video_sortby] => Array
        (
            [0] => Array
                (
                    [field] => title
                    [reverse] => 
                )

        )

    [video] => Array
        (
            [path] => /var/lib/mythtv/videos/Series/Family Guy/Season 7/
            [browse] => -1
            [VideoAdminPassword] => 
        )

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

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

        )

)

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

$_SERVER: Array
(
    [REDIRECT_STATUS] => 200
    [HTTP_HOST] => 192.168.0.222
    [HTTP_USER_AGENT] => Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.8) Gecko/2009032609 Firefox/3.0.8 (.NET CLR 3.5.30729)
    [HTTP_ACCEPT] => text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    [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://192.168.0.222/mythweb/tv/upcoming
    [HTTP_COOKIE] => mythweb_id=876f84a6adc3069db7f1eae9999c8369
    [PATH] => /usr/local/bin:/usr/bin:/bin
    [SERVER_SIGNATURE] => <address>Apache/2.2.9 (Ubuntu) PHP/5.2.6-2ubuntu4.1 with Suhosin-Patch Server at 192.168.0.222 Port 80</address>

    [SERVER_SOFTWARE] => Apache/2.2.9 (Ubuntu) PHP/5.2.6-2ubuntu4.1 with Suhosin-Patch
    [SERVER_NAME] => 192.168.0.222
    [SERVER_ADDR] => 192.168.0.222
    [SERVER_PORT] => 80
    [REMOTE_ADDR] => 192.168.0.104
    [DOCUMENT_ROOT] => /var/www
    [SERVER_ADMIN] => webmaster@localhost
    [SCRIPT_FILENAME] => /var/www/mythweb/mythweb.php
    [REMOTE_PORT] => 61493
    [REMOTE_USER] => admin
    [AUTH_TYPE] => Digest
    [REDIRECT_QUERY_STRING] => dontrec=yes
    [REDIRECT_URL] => /mythweb/tv/upcoming/1010/1238756400
    [GATEWAY_INTERFACE] => CGI/1.1
    [SERVER_PROTOCOL] => HTTP/1.1
    [REQUEST_METHOD] => GET
    [QUERY_STRING] => dontrec=yes
    [REQUEST_URI] => /mythweb/tv/upcoming/1010/1238756400?dontrec=yes
    [SCRIPT_NAME] => /mythweb/mythweb.php
    [PATH_INFO] => /tv/upcoming/1010/1238756400
    [PATH_TRANSLATED] => /var/www/tv/upcoming/1010/1238756400
    [PHP_SELF] => /mythweb/mythweb.php/tv/upcoming/1010/1238756400
    [PHP_AUTH_DIGEST] => username="admin", realm="MythTV", nonce="ZDAwUmFmBAA=ce55ff059c333d4e686b2e2dd1e6391e5fe5fd47", uri="/mythweb/tv/upcoming/1010/1238756400?dontrec=yes", algorithm=MD5, response="8d66a74fd4ec347343e9b4c627f2279c", qop=auth, nc=00000056, cnonce="a2aabdb8314be73c"
    [REQUEST_TIME] => 1238468226
    [argv] => Array
        (
            [0] => dontrec=yes
        )

    [argc] => 1
    [STATUS] => 200
    [URL] => /mythweb/tv/upcoming/1010/1238756400
)

Change History (3)

comment:1 Changed 11 years ago by Rob Smith

Description: modified (diff)

comment:2 Changed 11 years ago by markdavidoff@…

Another recording schedule for me had changed according to "upcoming recordings", but when i checked the listings, it was still available. I set it to record again, and now i have two entries of the same show, same time, same channel, but one says that the program does not match current listings. When i click "don't record" on this one, i get:

Fatal error: Call to a member function rec_override() on a non-object in /usr/share/mythtv/mythweb/modules/tv/upcoming.php on line 48

comment:3 Changed 11 years ago by Rob Smith

Resolution: duplicate
Status: newclosed

Dup of #6168

Note: See TracTickets for help on using tickets.