[mythtv-commits] Ticket #12379: Error from mythtv web page

MythTV noreply at mythtv.org
Mon Feb 16 21:53:09 UTC 2015


#12379: Error from mythtv web page
---------------------------------------+------------------------
     Reporter:  taing@…                |      Owner:  stuartm
         Type:  Bug Report - General   |     Status:  new
     Priority:  minor                  |  Milestone:  unknown
    Component:  MythTV - Web Frontend  |    Version:  0.27-fixes
     Severity:  medium                 |   Keywords:
Ticket locked:  0                      |
---------------------------------------+------------------------
 browsing to host/mythtv results in:

     datetime:  2015-02-16 16:44:07 (EST)
     errornum:  256
   error type:  User Error
 error string:  !!NoTrans: SQL Error: Incorrect file format
 'mythweb_sessions' [#130]!!
     filename:  /usr/share/mythtv/mythweb/classes/Database/Query/mysql.php
   error line:  79

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

 Backtrace:

     file:  /usr/share/mythtv/mythweb/classes/Database/Query/mysql.php
     line:  79
    class:
 function:  trigger_error
     type:
     args:  Array
 (
     [0] => SQL Error: Incorrect file format 'mythweb_sessions' [#130]
     [1] => 256
 )

     file:  /usr/share/mythtv/mythweb/classes/Database.php
     line:  261
    class:  Database_Query_mysql
 function:  execute
     type:  ->
     args:  Array
 (
     [0] => Array
         (
             [0] => Array
                 (
                     [0] => 1g00e2mu5bfpppbl4fefu6a444
                 )

         )

 )

     file:  /usr/share/mythtv/mythweb/classes/Database.php
     line:  324
    class:  Database
 function:  query
     type:  ->
     args:  Array
 (
     [0] => SELECT data
                                   FROM mythweb_sessions
                                  WHERE id = ?
                                     OR id = "default"
                               ORDER BY id = "default" ASC
                                  LIMIT 1
     [1] => Array
         (
             [0] => 1g00e2mu5bfpppbl4fefu6a444
         )

 )

     file:  /usr/share/mythtv/mythweb/includes/session.php
     line:  54
    class:  Database
 function:  query_col
     type:  ->
     args:  Array
 (
     [0] => SELECT data
                                   FROM mythweb_sessions
                                  WHERE id = ?
                                     OR id = "default"
                               ORDER BY id = "default" ASC
                                  LIMIT 1
     [1] => 1g00e2mu5bfpppbl4fefu6a444
 )

     file:
     line:
    class:
 function:  sess_read
     type:
     args:  Array
 (
     [0] => 1g00e2mu5bfpppbl4fefu6a444
 )

     file:  /usr/share/mythtv/mythweb/includes/session.php
     line:  21
    class:
 function:  session_start
     type:
     args:  Array ( )
     file:  /usr/share/mythtv/mythweb/includes/init.php
     line:  49
    class:
 function:  require_once
     type:
     args:  Array
 (
     [0] => /usr/share/mythtv/mythweb/includes/session.php
 )

     file:  /usr/share/mythtv/mythweb/mythweb.php
     line:  20
    class:
 function:  require_once
     type:
     args:  Array
 (
     [0] => /usr/share/mythtv/mythweb/includes/init.php
 )


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

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

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

 $_SERVER: Array
 (
     [REDIRECT_STATUS] => 200
     [HTTP_ACCEPT] => text/html, application/xhtml+xml, */*
     [HTTP_ACCEPT_LANGUAGE] => en-US
     [HTTP_USER_AGENT] => Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0;
 rv:11.0) like Gecko
     [HTTP_ACCEPT_ENCODING] => gzip, deflate
     [HTTP_HOST] => 192.168.5.21
     [HTTP_CONNECTION] => Keep-Alive
     [HTTP_DNT] => 1
     [PATH] => /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
     [SERVER_SIGNATURE] => <address>Apache/2.4.7 (Ubuntu) Server at
 192.168.5.21 Port 80</address>

     [SERVER_SOFTWARE] => Apache/2.4.7 (Ubuntu)
     [SERVER_NAME] => 192.168.5.21
     [SERVER_ADDR] => 192.168.5.21
     [SERVER_PORT] => 80
     [REMOTE_ADDR] => 192.168.5.215
     [DOCUMENT_ROOT] => /var/www/html
     [REQUEST_SCHEME] => http
     [CONTEXT_PREFIX] =>
     [CONTEXT_DOCUMENT_ROOT] => /var/www/html
     [SERVER_ADMIN] => webmaster at localhost
     [SCRIPT_FILENAME] => /var/www/html/mythweb/mythweb.php
     [REMOTE_PORT] => 55877
     [REDIRECT_URL] => /mythweb/
     [GATEWAY_INTERFACE] => CGI/1.1
     [SERVER_PROTOCOL] => HTTP/1.1
     [REQUEST_METHOD] => GET
     [QUERY_STRING] =>
     [REQUEST_URI] => /
     [SCRIPT_NAME] => /mythweb/mythweb.php
     [PHP_SELF] => /mythweb/mythweb.php
     [REQUEST_TIME_FLOAT] => 1424123047.166
     [REQUEST_TIME] => 1424123047
     [STATUS] => 200
     [URL] => /mythweb/
     [HTTP_PORT] => 80
 )

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

 $constant_list["user"]: Array
 (
     [ERROR] => 512
     [E_ASSERT_ERROR] => 4096
     [FATAL] => 256
     [PHP_MIN_VERSION] => 5.3
     [WARNING] => 1024
     [WebDBSchemaVer] => 4
     [error_email] =>
     [gb] => 1073741824
     [hostname] => jtk-tv2
     [http_host] => 192.168.5.21
     [kb] => 1024
     [mb] => 1048576
     [module] =>
     [modules_path] => /usr/share/mythtv/mythweb/modules
     [root] => /mythweb/
     [root_auth_url] => http://192.168.5.21/mythweb/
     [root_url] => http://192.168.5.21/mythweb/
     [stream_url] => http://192.168.5.21:80//mythweb/
     [tb] => 1099511627776
 )


 This is from a recently upgrade to 14.04.1 system. There is one master
 backend, a slave backend and multiple frontend clients. The system had
 been stable for about a week prior to this.

--
Ticket URL: <https://code.mythtv.org/trac/ticket/12379>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list