Opened 16 years ago

Closed 16 years ago

#5035 closed defect (invalid)

Fatal Error at

Reported by: jba4576@… Owned by: xris
Priority: critical Milestone: unknown
Component: mythweb Version: unknown
Severity: medium Keywords:
Cc: Ticket locked: no

Description

Fatal Error at /usr/share/mythtv/mythweb/modules/tv/includes/channels.php, line 65: No channels were detected. Are you sure that MythTV is properly configured?

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: 2008-03-25 15:20:17 (CET) errornum: 256

error type: User Error

error string: No channels were detected. Are you sure that MythTV is properly configured?

filename: /usr/share/mythtv/mythweb/modules/tv/includes/channels.php

error line: 65

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

Backtrace:

file: /usr/share/mythtv/mythweb/modules/tv/includes/channels.php line: 65

class:

function: trigger_error

type: args: Array

(

[0] => No channels were detected. Are you sure that MythTV is properly configured? [1] => 256

)

file: /usr/share/mythtv/mythweb/modules/tv/search.php line: 28

class:

function: load_all_channels

type: args: Array ( ) 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/search.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

)

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

$_SESSION: Array (

[language] => Danish [tmpl] => default [skin] => default [prefer_channum] => 1 [date_statusbar] => %a %e %b %Y, %H:%M [date_scheduled] => %a %e %b %Y (%H:%M) [date_scheduled_popup] => %a %e %b %Y [date_recorded] => %a %e %b %Y (%H:%M) [date_search] => %a %e %b %Y, %H:%M [date_listing_key] => %a %e %b %Y, %H:%M [date_listing_jump] => %a %e %b %Y [date_channel_jump] => %a %e %b %Y [date_job_status] => %a %e %b %Y, %H:%M [time_format] => %H:%M [recorded_pixmaps] => 1 [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 [tv] => Array

(

[last] => Array

(

[0] => search [1] => canned:Music Specials

)

)

[scheduled_recordings] => Array

(

[disp_scheduled] => 1 [disp_duplicates] => [disp_deactivated] => [disp_conflicts] => 1

)

[] => Array ( )

)

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

$_SERVER: Array (

[REDIRECT_STATUS] => 200 [HTTP_HOST] => localhost [HTTP_USER_AGENT] => Mozilla/5.0 (X11; U; Linux i686; da-DK; rv:1.8.1.12) Gecko/20080207 Ubuntu/7.10 (gutsy) Firefox/2.0.0.12 [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] => da,en-us;q=0.7,en;q=0.3 [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://localhost/mythweb/tv/searches [HTTP_COOKIE] => mythweb_id=f521bfffd908d1b8c6c91731b961d53b; fusion_visited=yes [PATH] => /usr/local/bin:/usr/bin:/bin [SERVER_SIGNATURE] => <address>Apache/2.2.4 (Ubuntu) DAV/2 SVN/1.4.4 PHP/5.2.3-1ubuntu6.3 mod_ssl/2.2.4 OpenSSL/0.9.8e Server at localhost Port 80</address>

[SERVER_SOFTWARE] => Apache/2.2.4 (Ubuntu) DAV/2 SVN/1.4.4 PHP/5.2.3-1ubuntu6.3 mod_ssl/2.2.4 OpenSSL/0.9.8e [SERVER_NAME] => localhost [SERVER_ADDR] => 127.0.0.1 [SERVER_PORT] => 80 [REMOTE_ADDR] => 127.0.0.1 [DOCUMENT_ROOT] => /var/www [SERVER_ADMIN] => webmaster@localhost [SCRIPT_FILENAME] => /var/www/mythweb/mythweb.php [REMOTE_PORT] => 49811 [REDIRECT_URL] => /mythweb/tv/search/canned:Music Specials [GATEWAY_INTERFACE] => CGI/1.1 [SERVER_PROTOCOL] => HTTP/1.1 [REQUEST_METHOD] => GET [QUERY_STRING] => [REQUEST_URI] => /mythweb/tv/search/canned%3AMusic%20Specials [SCRIPT_NAME] => /mythweb/mythweb.php [PATH_INFO] => /tv/search/canned:Music Specials [PATH_TRANSLATED] => /var/www/tv/search/canned:Music Specials [PHP_SELF] => /mythweb/mythweb.php/tv/search/canned:Music Specials [REQUEST_TIME] => 1206454817 [argv] => Array ( ) [argc] => 0 [STATUS] => 200 [URL] => /mythweb/tv/search/canned:Music Specials

)

Change History (2)

comment:1 Changed 16 years ago by paulh

Component: mythtvmythweb
Owner: changed from Isaac Richards to xris

comment:2 Changed 16 years ago by Rob Smith

Resolution: invalid
Status: newclosed

The lack of channels defined in your database is not a mythweb issue. Fix your channels and you'll have a working mythweb install.

Also, please read the instructions on the error reporting next time.

Note: See TracTickets for help on using tickets.