[mythtv-commits] Ticket #11056: after install MythWeb on ubuntu server, password gen failed, web not working

MythTV noreply at mythtv.org
Wed Aug 29 07:43:40 UTC 2012


#11056: after install MythWeb on ubuntu server, password gen failed, web not
working
------------------------------------+-------------------------
     Reporter:  spam@…              |      Owner:  kormoc
         Type:  Bug Report - Crash  |     Status:  new
     Priority:  major               |  Milestone:  unknown
    Component:  Plugin - MythWeb    |    Version:  Unspecified
     Severity:  medium              |   Keywords:
Ticket locked:  0                   |
------------------------------------+-------------------------
 datetime:  2012-08-29 09:39:29 (CEST)
     errornum:  256
   error type:  User Error
 error string:  !!NoTrans: Access denied for user 'mythtv'@'localhost'
 (using password: YES) [#1045]

 Backtrace
 Array
 (
     [0] => Array
         (
             [file] =>
 /usr/share/mythtv/mythweb/classes/Database/Query/mysql.php
             [line] => 63
             [function] => error
             [class] => Database
             [object] => Database_mysql Object
                 (
                     [dbh] =>
                     [error] => Access denied for user 'mythtv'@'localhost'
 (using password: YES) [#1045]
                     [err] => Access denied for user 'mythtv'@'localhost'
 (using password: YES)
                     [errno] => 1045
                     [last_sh] => Database_Query_mysql Object
                         (
                             [dbh] =>
                             [query] => Array
                                 (
                                     [0] => SET NAMES utf8;
                                 )

                             [last_query] => SET NAMES utf8;
                             [warnings] => Array ( )
                             [num_args_needed] => 0
                             [num_rows] =>
                             [affected_rows] =>
                             [insert_id] =>
                             [db] => Database_mysql Object
  *RECURSION*
                         )

                     [fatal_errors] => 1
                     [query_count] => 0
                     [query_time] => 0
                     [global_name] =>
                     [destruct_handlers] => Array ( )
                 )

             [type] => ->
             [args] => Array ( )
         )

     [1] => Array
         (
             [file] => /usr/share/mythtv/mythweb/classes/Database.php
             [line] => 259
             [function] => execute
             [class] => Database_Query_mysql
             [object] => Database_Query_mysql Object
                 (
                     [dbh] =>
                     [query] => Array
                         (
                             [0] => SET NAMES utf8;
                         )

                     [last_query] => SET NAMES utf8;
                     [warnings] => Array ( )
                     [num_args_needed] => 0
                     [num_rows] =>
                     [affected_rows] =>
                     [insert_id] =>
                     [db] => Database_mysql Object
                         (
                             [dbh] =>
                             [error] => Access denied for user
 'mythtv'@'localhost' (using password: YES) [#1045]
                             [err] => Access denied for user
 'mythtv'@'localhost' (using password: YES)
                             [errno] => 1045
                             [last_sh] => Database_Query_mysql Object
  *RECURSION*
                             [fatal_errors] => 1
                             [query_count] => 0
                             [query_time] => 0
                             [global_name] =>
                             [destruct_handlers] => Array ( )
                         )

                 )

             [type] => ->
             [args] => Array
                 (
                     [0] => Array ( )
                 )

         )

     [2] => Array
         (
             [file] => /usr/share/mythtv/mythweb/classes/Database.php
             [line] => 124
             [function] => query
             [class] => Database
             [object] => Database_mysql Object
                 (
                     [dbh] =>
                     [error] => Access denied for user 'mythtv'@'localhost'
 (using password: YES) [#1045]
                     [err] => Access denied for user 'mythtv'@'localhost'
 (using password: YES)
                     [errno] => 1045
                     [last_sh] => Database_Query_mysql Object
                         (
                             [dbh] =>
                             [query] => Array
                                 (
                                     [0] => SET NAMES utf8;
                                 )

                             [last_query] => SET NAMES utf8;
                             [warnings] => Array ( )
                             [num_args_needed] => 0
                             [num_rows] =>
                             [affected_rows] =>
                             [insert_id] =>
                             [db] => Database_mysql Object
  *RECURSION*
                         )

                     [fatal_errors] => 1
                     [query_count] => 0
                     [query_time] => 0
                     [global_name] =>
                     [destruct_handlers] => Array ( )
                 )

             [type] => ->
             [args] => Array
                 (
                     [0] => SET NAMES utf8;
                 )

         )

     [3] => Array
         (
             [file] => /usr/share/mythtv/mythweb/includes/database.php
             [line] => 49
             [function] => connect
             [class] => Database
             [type] => ::
             [args] => Array
                 (
                     [0] => mythconverg
                     [1] => mythtv
                     [2] => 0E9KVMrl
                     [3] => localhost
                     [4] =>
                     [5] => mysql
                 )

         )

     [4] => Array
         (
             [file] => /usr/share/mythtv/mythweb/includes/init.php
             [line] => 40
             [args] => Array
                 (
                     [0] => /usr/share/mythtv/mythweb/includes/database.php
                 )

             [function] => require_once
         )

     [5] => Array
         (
             [file] => /usr/share/mythtv/mythweb/mythweb.php
             [line] => 20
             [args] => Array
                 (
                     [0] => /usr/share/mythtv/mythweb/includes/init.php
                 )

             [function] => require_once
         )

 )
 !!
     filename:  /usr/share/mythtv/mythweb/classes/Database/Query/mysql.php
   error line:  64

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

 Backtrace:

     file:  /usr/share/mythtv/mythweb/classes/Database/Query/mysql.php
     line:  64
    class:
 function:  trigger_error
     type:
     args:  Array
 (
     [0] => Access denied for user 'mythtv'@'localhost' (using password:
 YES) [#1045]

 Backtrace
 Array
 (
     [0] => Array
         (
             [file] =>
 /usr/share/mythtv/mythweb/classes/Database/Query/mysql.php
             [line] => 63
             [function] => error
             [class] => Database
             [object] => Database_mysql Object
                 (
                     [dbh] =>
                     [error] => Access denied for user 'mythtv'@'localhost'
 (using password: YES) [#1045]
                     [err] => Access denied for user 'mythtv'@'localhost'
 (using password: YES)
                     [errno] => 1045
                     [last_sh] => Database_Query_mysql Object
                         (
                             [dbh] =>
                             [query] => Array
                                 (
                                     [0] => SET NAMES utf8;
                                 )

                             [last_query] => SET NAMES utf8;
                             [warnings] => Array ( )
                             [num_args_needed] => 0
                             [num_rows] =>
                             [affected_rows] =>
                             [insert_id] =>
                             [db] => Database_mysql Object
  *RECURSION*
                         )

                     [fatal_errors] => 1
                     [query_count] => 0
                     [query_time] => 0
                     [global_name] =>
                     [destruct_handlers] => Array ( )
                 )

             [type] => ->
             [args] => Array ( )
         )

     [1] => Array
         (
             [file] => /usr/share/mythtv/mythweb/classes/Database.php
             [line] => 259
             [function] => execute
             [class] => Database_Query_mysql
             [object] => Database_Query_mysql Object
                 (
                     [dbh] =>
                     [query] => Array
                         (
                             [0] => SET NAMES utf8;
                         )

                     [last_query] => SET NAMES utf8;
                     [warnings] => Array ( )
                     [num_args_needed] => 0
                     [num_rows] =>
                     [affected_rows] =>
                     [insert_id] =>
                     [db] => Database_mysql Object
                         (
                             [dbh] =>
                             [error] => Access denied for user
 'mythtv'@'localhost' (using password: YES) [#1045]
                             [err] => Access denied for user
 'mythtv'@'localhost' (using password: YES)
                             [errno] => 1045
                             [last_sh] => Database_Query_mysql Object
  *RECURSION*
                             [fatal_errors] => 1
                             [query_count] => 0
                             [query_time] => 0
                             [global_name] =>
                             [destruct_handlers] => Array ( )
                         )

                 )

             [type] => ->
             [args] => Array
                 (
                     [0] => Array ( )
                 )

         )

     [2] => Array
         (
             [file] => /usr/share/mythtv/mythweb/classes/Database.php
             [line] => 124
             [function] => query
             [class] => Database
             [object] => Database_mysql Object
                 (
                     [dbh] =>
                     [error] => Access denied for user 'mythtv'@'localhost'
 (using password: YES) [#1045]
                     [err] => Access denied for user 'mythtv'@'localhost'
 (using password: YES)
                     [errno] => 1045
                     [last_sh] => Database_Query_mysql Object
                         (
                             [dbh] =>
                             [query] => Array
                                 (
                                     [0] => SET NAMES utf8;
                                 )

                             [last_query] => SET NAMES utf8;
                             [warnings] => Array ( )
                             [num_args_needed] => 0
                             [num_rows] =>
                             [affected_rows] =>
                             [insert_id] =>
                             [db] => Database_mysql Object
  *RECURSION*
                         )

                     [fatal_errors] => 1
                     [query_count] => 0
                     [query_time] => 0
                     [global_name] =>
                     [destruct_handlers] => Array ( )
                 )

             [type] => ->
             [args] => Array
                 (
                     [0] => SET NAMES utf8;
                 )

         )

     [3] => Array
         (
             [file] => /usr/share/mythtv/mythweb/includes/database.php
             [line] => 49
             [function] => connect
             [class] => Database
             [type] => ::
             [args] => Array
                 (
                     [0] => mythconverg
                     [1] => mythtv
                     [2] => 0E9KVMrl
                     [3] => localhost
                     [4] =>
                     [5] => mysql
                 )

         )

     [4] => Array
         (
             [file] => /usr/share/mythtv/mythweb/includes/init.php
             [line] => 40
             [args] => Array
                 (
                     [0] => /usr/share/mythtv/mythweb/includes/database.php
                 )

             [function] => require_once
         )

     [5] => Array
         (
             [file] => /usr/share/mythtv/mythweb/mythweb.php
             [line] => 20
             [args] => Array
                 (
                     [0] => /usr/share/mythtv/mythweb/includes/init.php
                 )

             [function] => require_once
         )

 )

     [1] => 256
 )

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

     file:  /usr/share/mythtv/mythweb/classes/Database.php
     line:  124
    class:  Database
 function:  query
     type:  ->
     args:  Array
 (
     [0] => SET NAMES utf8;
 )

     file:  /usr/share/mythtv/mythweb/includes/database.php
     line:  49
    class:  Database
 function:  connect
     type:  ::
     args:  Array
 (
     [0] => mythconverg
     [1] => mythtv
     [2] => 0E9KVMrl
     [3] => localhost
     [4] =>
     [5] => mysql
 )

     file:  /usr/share/mythtv/mythweb/includes/init.php
     line:  40
    class:
 function:  require_once
     type:
     args:  Array
 (
     [0] => /usr/share/mythtv/mythweb/includes/database.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
 )

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

 $_SERVER: Array
 (
     [REDIRECT_STATUS] => 200
     [db_server] => localhost
     [db_name] => mythconverg
     [db_login] => mythtv
     [db_password] => 0E9KVMrl
     [HTTP_HOST] => datastorage
     [HTTP_USER_AGENT] => Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4)
 AppleWebKit/536.25 (KHTML, like Gecko) Version/6.0 Safari/536.25
     [HTTP_ACCEPT] =>
 text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
     [HTTP_ACCEPT_ENCODING] => gzip, deflate
     [HTTP_ACCEPT_LANGUAGE] => en-us
     [HTTP_CONNECTION] => keep-alive
     [PATH] => /usr/local/bin:/usr/bin:/bin
     [SERVER_SIGNATURE] => <address>Apache/2.2.22 (Ubuntu) Server at
 datastorage Port 80</address>

     [SERVER_SOFTWARE] => Apache/2.2.22 (Ubuntu)
     [SERVER_NAME] => datastorage
     [SERVER_ADDR] => 192.168.9.200
     [SERVER_PORT] => 80
     [REMOTE_HOST] => klement.local
     [REMOTE_ADDR] => 192.168.9.102
     [DOCUMENT_ROOT] => /var/www
     [SERVER_ADMIN] => webmaster at localhost
     [SCRIPT_FILENAME] => /var/www/mythweb/mythweb.php
     [REMOTE_PORT] => 56652
     [REDIRECT_URL] => /mythweb/
     [GATEWAY_INTERFACE] => CGI/1.1
     [SERVER_PROTOCOL] => HTTP/1.1
     [REQUEST_METHOD] => GET
     [QUERY_STRING] =>
     [REQUEST_URI] => /mythweb/
     [SCRIPT_NAME] => /mythweb/mythweb.php
     [PHP_SELF] => /mythweb/mythweb.php
     [REQUEST_TIME] => 1346225969
     [STATUS] => 200
     [URL] => /mythweb/
 )

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

 $constant_list["user"]: Array
 (
     [ERROR] => 512
     [E_ASSERT_ERROR] => 4096
     [FATAL] => 256
     [PHP_MIN_VERSION] => 5.3
     [WARNING] => 1024
 )

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


More information about the mythtv-commits mailing list