[mythtv-commits] Ticket #7120: Every time I click on mythweb's "Recording Schedules" link I get this error.
MythTV
mythtv at cvs.mythtv.org
Mon Sep 21 23:58:08 UTC 2009
#7120: Every time I click on mythweb's "Recording Schedules" link I get this
error.
--------------------------------------+-------------------------------------
Reporter: adrian-l7-vo at aporter.org | Owner: kormoc
Type: defect | Status: new
Priority: major | Milestone: unknown
Component: Plugin - MythWeb | Version: unknown
Severity: medium | Mlocked: 0
--------------------------------------+-------------------------------------
I have version 0.22.0
from svn: "trunk21954"
from: ubuntu's karmic.
I recently upgraded ubuntu karmic (from svn revision 19961 to 21954) and
now there is lots of new bugs. Here is one of them. I replaced my
hostname with "HOSTNAME" and my user with "USER". I also needed to
replace "http:" with "http: " to get past trac's spam filter. Please let
me know if there is any more information you need.
Every time I click on "Recording Schedules" on mythweb's web page, I get
this "Fatal Error":
datetime: 2009-09-21 19:45:54 (EDT)
errornum: 256
error type: User Error
error string: SQL Error: Unknown column 'channum' in 'order clause'
[#1054]
filename: /usr/share/mythtv/mythweb/classes/Database/Query/mysql.php
error line: 83
==========================================================================
Backtrace:
file: /usr/share/mythtv/mythweb/classes/Database/Query/mysql.php
line: 83
class:
function: trigger_error
type:
args: Array
(
[0] => SQL Error: Unknown column 'channum' in 'order clause' [#1054]
[1] => 256
)
file: /usr/share/mythtv/mythweb/classes/Database.php
line: 263
class: Database_Query_mysql
function: execute
type: ->
args: Array
(
[0] => Array ( )
)
file: /usr/share/mythtv/mythweb/modules/tv/classes/Schedule.php
line: 95
class: Database
function: query
type: ->
args: Array
(
[0] => SELECT recordid FROM record ORDER BY recpriority ASC, type ASC,
channum ASC, title ASC, starttime ASC
)
file: /usr/share/mythtv/mythweb/modules/tv/schedules.php
line: 22
class: Schedule
function: findAll
type: ::
args: Array ( )
file: /usr/share/mythtv/mythweb/modules/tv/handler.php
line: 87
class:
function: require_once
type:
args: Array
(
[0] => /usr/share/mythtv/mythweb/modules/tv/schedules.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
)
==========================================================================
$_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
[tv] => Array
(
[last] => Array
(
[0] => schedules
)
[show_advanced_schedule] => 1
)
[list_time] => 1253473200
[search] => Array
(
[s] => west wing
[type] => q
[ctype] => Array
(
[0] => movie
[1] => series
[2] => sports
[3] => tvshow
)
[stars_gt] => 0
[stars_lt] => 1
[starttime] =>
[endtime] =>
[as] => Array
(
[0] => *law*
)
[af] => Array
(
[0] => Array
(
[0] => title
)
)
[aj] => Array
(
[0] => AND
)
[hd] =>
[commfree] =>
[airdate_start] =>
[airdate_end] =>
)
[search_sortby] => Array
(
[0] => Array
(
[field] => channum
[reverse] =>
)
[1] => Array
(
[field] => category
[reverse] =>
)
[2] => Array
(
[field] => airdate
[reverse] =>
)
[3] => Array
(
[field] => title
[reverse] =>
)
)
[recording_details] => Array
(
[show_Conflict] => on
[show_PreviousRecording] => on
[show_EarlierShowing] => on
[show_CurrentRecording] => on
[show_WillRecord] => on
)
[scheduled_recordings] => Array
(
[disp_scheduled] => 1
[disp_duplicates] =>
[disp_deactivated] =>
[disp_conflicts] => 1
[disp_recgroup] =>
[disp_title] =>
)
[scheduled_sortby] => Array
(
[0] => Array
(
[field] => airdate
[reverse] =>
)
[1] => Array
(
[field] => title
[reverse] =>
)
)
[recorded_title] =>
[recorded_recgroup] => Default
[recorded_sortby] => Array
(
[0] => Array
(
[field] => file_size
[reverse] => 1
)
[1] => Array
(
[field] => channum
[reverse] =>
)
[2] => Array
(
[field] => airdate
[reverse] =>
)
[3] => Array
(
[field] => title
[reverse] =>
)
)
[schedules_sortby] => Array
(
[0] => Array
(
[field] => recpriority
[reverse] =>
)
[1] => Array
(
[field] => type
[reverse] =>
)
[2] => Array
(
[field] => channum
[reverse] =>
)
[3] => Array
(
[field] => title
[reverse] =>
)
[4] => Array
(
[field] => airdate
[reverse] =>
)
)
[remote] => Array
(
[frontends] => Array ( )
[type] => keys
)
[settings] => Array
(
[last] => Array
(
[0] => video
[1] => settings
)
[host] => p4
[screens] => Array
(
[tv] => Array
(
[upcoming recordings] => Array
(
[title] => on
[channel] => on
[record date] => on
[length] => on
)
)
)
)
[] => Array ( )
[video_sortby] => Array
(
[0] => Array
(
[field] => title
[reverse] =>
)
)
[recorded_paging] =>
[genre_colors] => 1
[backend] => Array
(
[127.0.0.1] => Array
(
[proto_version] => Array
(
[last_check_version] => 48
[last_check_time] => 1253576617
)
)
[timezone] => Array
(
[value] => America/New_York
[last_check_time] => 1253473735
)
)
)
==========================================================================
$_SERVER: Array
(
[REDIRECT_STATUS] => 200
[HTTP_HOST] => HOSTNAME
[HTTP_USER_AGENT] => Mozilla/5.0 (X11; U; en-US; rv:1.9.1; Windows NT
6.1) Gecko/20090701 Ubuntu/9.10 (karmic) Firefox/3.5
[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: //HOSTNAME/mythweb/tv/schedules/manual
[HTTP_COOKIE] => mythweb_tmpl=default; mythweb_skin=default;
Apache=192.168.0.129.1246604060269612;
mythweb_id=9617648ea5671cf016ef988136c2f7b4
[PATH] => /usr/local/bin:/usr/bin:/bin
[SERVER_SIGNATURE] => <address>Apache/2.2.11 (Ubuntu)
PHP/5.2.6-3ubuntu4.2 with Suhosin-Patch Server at HOSTNAME Port
80</address>
[SERVER_SOFTWARE] => Apache/2.2.11 (Ubuntu) PHP/5.2.6-3ubuntu4.2 with
Suhosin-Patch
[SERVER_NAME] => HOSTNAME
[SERVER_ADDR] => 69.143.40.19
[SERVER_PORT] => 80
[REMOTE_ADDR] => 192.168.0.131
[DOCUMENT_ROOT] => /home/web/web/htdocs
[SERVER_ADMIN] => [no address given]
[SCRIPT_FILENAME] => /var/www/mythweb/mythweb.php
[REMOTE_PORT] => 56348
[REMOTE_USER] => USER
[AUTH_TYPE] => Digest
[REDIRECT_URL] => /mythweb/tv/schedules
[GATEWAY_INTERFACE] => CGI/1.1
[SERVER_PROTOCOL] => HTTP/1.1
[REQUEST_METHOD] => GET
[QUERY_STRING] =>
[REQUEST_URI] => /mythweb/tv/schedules
[SCRIPT_NAME] => /mythweb/mythweb.php
[PATH_INFO] => /tv/schedules
[PATH_TRANSLATED] => /home/web/web/htdocs/tv/schedules
[PHP_SELF] => /mythweb/mythweb.php/tv/schedules
[PHP_AUTH_DIGEST] => username="USER", realm="MythTV",
nonce="mToMDB90BAA=c6523dd1cce9c064564b728279e216c918c87104",
uri="/mythweb/tv/schedules", algorithm=MD5,
response="83d37acac50fb89983f98247dccc0f95", qop=auth, nc=00000019,
cnonce="c46b85c40e850c60"
[REQUEST_TIME] => 1253576754
[argv] => Array ( )
[argc] => 0
[STATUS] => 200
[URL] => /mythweb/tv/schedules
[HTTP_PORT] => 80
)
==========================================================================
$constant_list["user"]: Array
(
[ERROR] => 512
[E_ASSERT_ERROR] => 4096
[FATAL] => 256
[PHP_MIN_VERSION] => 5.1
[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] => p4
[http_host] => HOSTNAME
[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_url] => http: //HOSTNAME/mythweb/
[searchtype_keyword] => 3
[searchtype_manual] => 5
[searchtype_people] => 4
[searchtype_power] => 1
[searchtype_title] => 2
[skin] => default
[skin_img_url] => http: //HOSTNAME/mythweb/skins/default/img/
[skin_url] => http: //HOSTNAME/mythweb/skins/default/
[star_character] => ♦
[stream_url] => http: //HOSTNAME:80//mythweb/
[tb] => 1099511627780
[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/7120>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list