[mythtv-commits] Ticket #9296: mythweb fails when searching for other showing of a program

MythTV mythtv at cvs.mythtv.org
Sun Nov 28 03:08:27 UTC 2010


#9296: mythweb fails when searching for other showing of a program
------------------------------+---------------------------------------------
 Reporter:  odror7@…          |            Type:  Bug Report      
   Status:  new               |        Priority:  major           
Milestone:  unknown           |       Component:  MythTV - General
  Version:  0.24-fixes        |        Severity:  medium          
 Keywords:                    |   Ticket locked:  0               
------------------------------+---------------------------------------------
 datetime:  2010-11-27 18:47:19 (PST)
     errornum:  256
   error type:  User Error
 error string:  !!NoTrans: load_all_program_data() attempted with out any
 channels!!
     filename:  /usr/share/mythtv/mythweb/modules/tv/includes/programs.php
   error line:  101

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

 Backtrace:

     file:  /usr/share/mythtv/mythweb/modules/tv/includes/programs.php
     line:  101
    class:
 function:  trigger_error
     type:
     args:  Array
 (
     [0] => load_all_program_data() attempted with out any channels
     [1] => 256
 )

     file:  /usr/share/mythtv/mythweb/modules/tv/search.php
     line:  337
    class:
 function:  load_all_program_data
     type:
     args:  Array
 (
     [0] => 1290912439
     [1] => 1293504439
     [2] =>
     [3] =>
     [4] => (program.title       LIKE 'Modern Marvels') AND
 (program.endtime >= NOW() AND program.hdtv & 1)
     [5] =>
 )

     file:  /usr/share/mythtv/mythweb/modules/tv/handler.php
     line:  86
    class:
 function:  require_once
     type:
     args:  Array
 (
     [0] => /usr/share/mythtv/mythweb/modules/tv/search.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
 (
     [field] => title
 )

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

 $_SESSION: Array
 (
     [language] => English
     [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
     [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
                                 )

                         )

                 )

             [last] => Array
                 (
                     [0] => mythweb
                     [1] => session
                 )

         )

     [backend] => Array
         (
             [192.168.0.3] => Array
                 (
                     [proto_version] => Array
                         (
                             [last_check_version] => 56
                             [last_check_time] => 1285900785
                         )

                 )

             [timezone] => Array
                 (
                     [value] => America/Los_Angeles
                     [last_check_time] => 1290832181
                 )

             [192.168.0.4] => Array
                 (
                     [proto_version] => Array
                         (
                             [last_check_version] => 63
                             [last_check_time] => 1290912420
                         )

                 )

         )

     [tv] => Array
         (
             [last] => Array
                 (
                     [0] => search
                     [1] => ^Modern Marvels$
                 )

         )

     [list_time] => 1290906000
     [recording_details] => Array
         (
             [show_Conflict] => 1
             [show_PreviousRecording] => 1
             [show_EarlierShowing] => 1
             [show_CurrentRecording] => 1
             [show_WillRecord] => 1
         )

     [search] => Array
         (
             [s] => ^Modern Marvels$
             [type] => q
             [ctype] => Array
                 (
                     [0] => movie
                 )

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

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

                 )

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

             [hd] => 1
             [commfree] =>
             [unwatched] =>
             [scheduled] =>
             [generic] =>
             [airdate_start] =>
             [airdate_end] =>
         )

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

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

         )

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

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

         )

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

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

         )

     [remote] => Array
         (
             [frontends] => Array ( )
             [type] => keys
         )

     [cache_engine] => Cache_Null
     [stream] => Array
         (
             [include_user_and_password] =>
         )

 )

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

 $_SERVER: Array
 (
     [REDIRECT_STATUS] => 200
     [HTTP_HOST] => 192.168.0.4
     [HTTP_CONNECTION] => keep-alive
     [HTTP_REFERER] =>
 http://192.168.0.4/mythweb/tv/detail/17491/1290823200
     [HTTP_ACCEPT] =>
 application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
     [HTTP_USER_AGENT] => Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US)
 AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.44 Safari/534.7
     [HTTP_ACCEPT_ENCODING] => gzip,deflate,sdch
     [HTTP_ACCEPT_LANGUAGE] => en-US,en;q=0.8
     [HTTP_ACCEPT_CHARSET] => ISO-8859-1,utf-8;q=0.7,*;q=0.3
     [HTTP_COOKIE] => mythweb_tmpl=default; mythweb_skin=default;
 mythweb_id=s65orufi7mggkj6t6kikikqem0
     [PATH] => /usr/local/bin:/usr/bin:/bin
     [SERVER_SIGNATURE] => <address>Apache/2.2.16 (Ubuntu) Server at
 192.168.0.4 Port 80</address>

     [SERVER_SOFTWARE] => Apache/2.2.16 (Ubuntu)
     [SERVER_NAME] => 192.168.0.4
     [SERVER_ADDR] => 192.168.0.4
     [SERVER_PORT] => 80
     [REMOTE_ADDR] => 192.168.0.17
     [DOCUMENT_ROOT] => /var/www
     [SERVER_ADMIN] => webmaster at localhost
     [SCRIPT_FILENAME] => /var/www/mythweb/mythweb.php
     [REMOTE_PORT] => 55229
     [REMOTE_USER] => XXX
     [AUTH_TYPE] => Basic
     [REDIRECT_QUERY_STRING] => field=title
     [REDIRECT_URL] => /mythweb/tv/search/^Modern Marvels$
     [GATEWAY_INTERFACE] => CGI/1.1
     [SERVER_PROTOCOL] => HTTP/1.1
     [REQUEST_METHOD] => GET
     [QUERY_STRING] => field=title
     [REQUEST_URI] => /tv/search/%5EModern%20Marvels%24?field=title
     [SCRIPT_NAME] => /mythweb/mythweb.php
     [PATH_INFO] => /tv/search/^Modern Marvels$
     [PATH_TRANSLATED] => /var/www/tv/search/^Modern Marvels$
     [PHP_SELF] => /mythweb/mythweb.php/tv/search/^Modern Marvels$
     [PHP_AUTH_USER] => XXXX
     [PHP_AUTH_PW] => XXXX
     [REQUEST_TIME] => 1290912439
     [STATUS] => 200
     [URL] => /mythweb/tv/search/^Modern Marvels$
     [HTTP_PORT] => 80
 )

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

 $constant_list["user"]: Array
 (
     [ERROR] => 512
     [E_ASSERT_ERROR] => 4096
     [FATAL] => 256
     [PHP_MIN_VERSION] => 5.3
     [WARNING] => 1024
     [WebDBSchemaVer] => 2
     [dupsin_all] => 15
     [dupsin_ex_generic] => 64
     [dupsin_ex_repeats] => 32
     [dupsin_newepisodes] => 16
     [dupsin_oldrecorded] => 2
     [dupsin_recorded] => 1
     [error_email] =>
     [gb] => 1073741824
     [hostname] => moriel-hp
     [http_host] => 192.168.0.4
     [kb] => 1024
     [max_stars] => 4
     [mb] => 1048576
     [module] => tv
     [modules_path] => ./modules
     [num_time_slots] => 36
     [prefer_channum] => 1
     [rectype_always] => 4
     [rectype_channel] => 3
     [rectype_daily] => 2
     [rectype_dontrec] => 8
     [rectype_finddaily] => 9
     [rectype_findone] => 6
     [rectype_findweekly] => 10
     [rectype_once] => 1
     [rectype_override] => 7
     [rectype_weekly] => 5
     [root] => /mythweb/
     [root_auth_url] => http://192.168.0.4/mythweb/
     [root_url] => http://192.168.0.4/mythweb/
     [searchtype_keyword] => 3
     [searchtype_manual] => 5
     [searchtype_people] => 4
     [searchtype_power] => 1
     [searchtype_title] => 2
     [skin] => default
     [skin_img_url] => http://192.168.0.4/mythweb/skins/default/img/
     [skin_url] => http://192.168.0.4/mythweb/skins/default/
     [star_character] => &#9733;
     [stream_url] => http://192.168.0.4:80//mythweb/
     [tb] => 1099511627776
     [timeslot_blocks] => 3
     [timeslot_size] => 300
     [timeslotbar_skip] => 20
     [tmpl] => default
     [tmpl_dir] => modules/tv/tmpl/default/
 )

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/9296>
MythTV <http://www.mythtv.org/>
MythTV Media Center


More information about the mythtv-commits mailing list