[mythtv] Changeset 19292 breaks mythweb
Tim Jordan
tim at wheresrover.co.uk
Sun Dec 14 15:32:03 UTC 2008
>
> On 14 Dec 2008, at 15:28, Tim Jordan wrote:
>
>> Been having a few problems with mythweb throwing errors about
>> loading the JSON class have tracked it back to a specific changeset
>> and that is 19292 which is a change in how the libraries are loaded
>>
>> The errors I am getting are as below
>>
>> error serial: 268048.11
>> datetime: 2008-12-14 15:20:48 (GMT)
>> errornum: 256
>> error type: User Error
>> error string: !!NoTrans: Failure to autoload class Services/JSON!!!
>> filename: /var/www/mythweb/htdocs/includes/class_autoload.php
>> error line: 30
>>
>> =
>> =
>> =
>> =
>> =
>> =====================================================================
>>
>> Backtrace:
>>
>> file: /var/www/mythweb/htdocs/includes/class_autoload.php
>> line: 30
>> class:
>> function: trigger_error
>> type:
>> args: Array
>> (
>> [0] => !!NoTrans: Failure to autoload class Services/JSON!!!
>> [1] => 256
>> )
>>
>> file: /var/www/mythweb/htdocs/classes/JSON.php
>> line: 21
>> class:
>> function: __autoload
>> type:
>> args: Array
>> (
>> [0] => Services_JSON
>> )
>>
>> file: /var/www/mythweb/htdocs/modules/video/imdb.php
>> line: 38
>> class: JSON
>> function: encode
>> type: ::
>> args: Array
>> (
>> [0] => Array
>> (
>> [action] => metadata
>> [metadata] => Array
>> (
>> [intid] => 1068
>> [img] => <img width="94" height="140"
>> alt="Missing Cover">
>> [title] => <a href="/data/video/Films/
>> 12%20Monkeys.iso">12 Monkeys</a>
>> [playtime] =>
>> [category] => Uncategorized
>> [imdb] =>
>> [plot] => None
>> [rating] => NR
>> [director] => Unknown
>> [inetref] => 00000000
>> [year] => 1895
>> [userrating] => Unknown
>> [length] => 0
>> [showlevel] => 1
>> )
>>
>> )
>>
>> )
>>
>> file: /var/www/mythweb/htdocs/modules/video/handler.php
>> line: 104
>> class:
>> function: require_once
>> type:
>> args: Array
>> (
>> [0] => /var/www/mythweb/htdocs/modules/video/imdb.php
>> )
>>
>> file: /var/www/mythweb/htdocs/mythweb.php
>> line: 35
>> class:
>> function: require_once
>> type:
>> args: Array
>> (
>> [0] => /var/www/mythweb/htdocs/modules/video/handler.php
>> )
>>
>>
>> =
>> =
>> =
>> =
>> =
>> =====================================================================
>>
>> $_GET: Array
>> (
>> [action] => metadata
>> [id] => 1068
>> )
>>
>> =
>> =
>> =
>> =
>> =
>> =====================================================================
>>
>> $_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
>> [recorded_paging] =>
>> [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] => video
>> [1] => settings
>> )
>>
>> [host] => mail
>> )
>>
>> [tv] => Array
>> (
>> [last] => Array
>> (
>> [0] => list
>> )
>>
>> [show_advanced_schedule] => 1
>> )
>>
>> [search] => Array
>> (
>> [type] => q
>> [s] => history of violence
>> [ctype] => Array
>> (
>> [0] =>
>> [1] => movie
>> [2] => series
>> [3] => sports
>> [4] => tvshow
>> )
>>
>> [stars_gt] => 0
>> [stars_lt] => 1
>> [starttime] => now
>> [endtime] => + 2 weeks
>> [as] => Array
>> (
>> [0] => Amber season
>> )
>>
>> [af] => Array
>> (
>> [0] => Array
>> (
>> [0] => description
>> )
>>
>> )
>>
>> [aj] => Array
>> (
>> [0] => AND
>> )
>>
>> [hd] =>
>> [commfree] =>
>> [unwatched] =>
>> [scheduled] =>
>> [generic] =>
>> [airdate_start] =>
>> [airdate_end] =>
>> )
>>
>> [search_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
>> )
>>
>> [list_time] => 1229267700
>> [recorded_title] =>
>> [recorded_recgroup] =>
>> [recorded_sortby] => Array
>> (
>> [0] => Array
>> (
>> [field] => airdate
>> [reverse] => 1
>> )
>>
>> [1] => Array
>> (
>> [field] => file_size
>> [reverse] => 1
>> )
>>
>> [2] => Array
>> (
>> [field] => title
>> [reverse] =>
>> )
>>
>> )
>>
>> [schedules_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] =>
>> )
>>
>> )
>>
>> [weather] => Array
>> (
>> [active] => Array
>> (
>> [0] => 3
>> [1] => 4
>> )
>>
>> [inactive] => Array
>> (
>> [0] => Current Conditions
>> [1] => Severe Weather Alerts
>> [2] => Six Day Forecast
>> [3] => Three Day Forecast
>> )
>>
>> )
>>
>> [] => Array ( )
>> [video] => Array
>> (
>> [path] => /public/Movies/Films/
>> )
>>
>> [video_sortby] => Array
>> (
>> [0] => Array
>> (
>> [field] => title
>> [reverse] =>
>> )
>>
>> )
>>
>> [backend] => Array
>> (
>> [timezone] => Array
>> (
>> [value] => Europe/Belfast
>> [last_check_time] => 1229203921
>> )
>>
>> )
>>
>> )
>>
>> =
>> =
>> =
>> =
>> =
>> =====================================================================
>>
>> $_SERVER: Array
>> (
>> [REDIRECT_UNIQUE_ID] => SUUkUH8AAAEAAB5zBDsAAAAV
>> [REDIRECT_STATUS] => 200
>> [UNIQUE_ID] => SUUkUH8AAAEAAB5zBDsAAAAV
>> [error_email] => tim at redacted
>> [HTTP_USER_AGENT] => Mozilla/5.0 (Macintosh; U; Intel Mac OS X
>> 10_5_5; en-us) AppleWebKit/525.27.1 (KHTML, like Gecko) Version/
>> 3.2.1 Safari/525.27.1
>> [HTTP_X_PROTOTYPE_VERSION] => 1.6.0.2
>> [HTTP_REFERER] => http://mythweb/video
>> [HTTP_X_REQUESTED_WITH] => XMLHttpRequest
>> [HTTP_ACCEPT] => text/javascript, text/html, application/xml,
>> text/xml, */*
>> [HTTP_ACCEPT_LANGUAGE] => en-us
>> [HTTP_ACCEPT_ENCODING] => gzip, deflate
>> [HTTP_COOKIE] => mythweb_id=378641f623edeca3172b4539b7ad34e6;
>> mythweb_tmpl=default; mythweb_skin=default
>> [HTTP_CONNECTION] => keep-alive
>> [HTTP_HOST] => mythweb
>> [PATH] => /bin:/sbin:/usr/bin:/usr/sbin:/usr/local/sbin:/sbin:/
>> bin:/usr/sbin:/usr/bin
>> [SERVER_SIGNATURE] => <address>Apache Server at mythweb Port 80</
>> address>
>>
>> [SERVER_SOFTWARE] => Apache
>> [SERVER_NAME] => mythweb
>> [SERVER_ADDR] => 172.19.199.77
>> [SERVER_PORT] => 80
>> [REMOTE_ADDR] => 172.19.199.1
>> [DOCUMENT_ROOT] => /var/www/mythweb/htdocs
>> [SERVER_ADMIN] => [no address given]
>> [SCRIPT_FILENAME] => /var/www/mythweb/htdocs/mythweb.php
>> [REMOTE_PORT] => 52548
>> [REDIRECT_QUERY_STRING] => action=metadata&id=1068
>> [REDIRECT_URL] => /video/imdb
>> [GATEWAY_INTERFACE] => CGI/1.1
>> [SERVER_PROTOCOL] => HTTP/1.1
>> [REQUEST_METHOD] => GET
>> [QUERY_STRING] => action=metadata&id=1068
>> [REQUEST_URI] => /video/imdb?action=metadata&id=1068
>> [SCRIPT_NAME] => /mythweb.php
>> [PATH_INFO] => /video/imdb
>> [PATH_TRANSLATED] => redirect:/mythweb.php/video/imdb/imdb
>> [PHP_SELF] => /mythweb.php/video/imdb
>> [REQUEST_TIME] => 1229268048
>> [argv] => Array
>> (
>> [0] => action=metadata&id=1068
>> )
>>
>> [argc] => 1
>> [STATUS] => 200
>> [URL] => /video/imdb
>> )
>>
>>
>>
>> $constant_list["user"]: Array
>> (
>> [ERROR] => 512
>> [E_ASSERT_ERROR] => 4096
>> [FATAL] => 256
>> [PHP_MIN_VERSION] => 5.1
>> [WARNING] => 1024
>> [WebDBSchemaVer] => 2
>> [cache_dir] => data/cache
>> [cache_url] => /data/cache/
>> [error_email] => tim at redacted
>> [gb] => 1073741824
>> [hostname] => mail
>> [http_host] => mythweb
>> [kb] => 1024
>> [max_stars] => 4
>> [mb] => 1048576
>> [module] => video
>> [modules_path] => ./modules
>> [num_time_slots] => 36
>> [prefer_channum] => 1
>> [root] => /
>> [root_url] => http://mythweb:80/
>> [skin] => default
>> [skin_dir] => skins/default
>> [skin_url] => /skins/default/
>> [star_character] => ★
>> [tb] => 1099511627780
>> [timeslot_blocks] => 3
>> [timeslot_size] => 300
>> [timeslotbar_skip] => 20
>> [tmpl] => default
>> [tmpl_dir] => modules/video/tmpl/default/
>> [video_img_height] => 140
>> [video_img_width] => 94
>> )
>>
>>
>
More information about the mythtv-dev
mailing list