[mythtv-commits] Ticket #6313: mythweb issues

MythTV mythtv at cvs.mythtv.org
Tue Mar 3 06:42:08 UTC 2009


#6313: mythweb issues
--------------------------------+-------------------------------------------
 Reporter:  wnjoroge at gmail.com  |       Owner:  xris      
     Type:  defect              |      Status:  new       
 Priority:  minor               |   Milestone:  0.22      
Component:  Plugin - MythWeb    |     Version:  0.21-fixes
 Severity:  medium              |     Mlocked:  0         
--------------------------------+-------------------------------------------
 Fatal Error at /usr/share/mythtv/mythweb/classes/Database/Query/mysql.php,
 line 68:
 Access denied for user 'mythtv'@'localhost' (using password: NO) [#1045]
 Backtrace Array ( [0] => Array ( [file] =>
 /usr/share/mythtv/mythweb/classes/Database/Query/mysql.php [line] => 67
 [function] => error [class] => Database [object] => Database_mysql Object
 ( [dbh] => [error] => Access denied for user 'mythtv'@'localhost' (using
 password: NO) [#1045] [err] => Access denied for user 'mythtv'@'localhost'
 (using password: NO) [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] => 263 [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: NO) [#1045] [err] => Access denied for user
 'mythtv'@'localhost' (using password: NO) [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] => 128
 [function] => query [class] => Database [object] => Database_mysql Object
 ( [dbh] => [error] => Access denied for user 'mythtv'@'localhost' (using
 password: NO) [#1045] [err] => Access denied for user 'mythtv'@'localhost'
 (using password: NO) [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] => [3] => localhost [4] => [5] => mysql ) )
 [4] => Array ( [file] => /usr/share/mythtv/mythweb/includes/init.php
 [line] => 38 [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 ) )

 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:

 error serial:  062453.58
     datetime:  2009-03-02 22:40:53 (PST)
     errornum:  256
   error type:  User Error
 error string:  Access denied for user 'mythtv'@'localhost' (using
 password: NO) [#1045]

 Backtrace
 Array
 (
     [0] => Array
         (
             [file] =>
 /usr/share/mythtv/mythweb/classes/Database/Query/mysql.php
             [line] => 67
             [function] => error
             [class] => Database
             [object] => Database_mysql Object
                 (
                     [dbh] =>
                     [error] => Access denied for user 'mythtv'@'localhost'
 (using password: NO) [#1045]
                     [err] => Access denied for user 'mythtv'@'localhost'
 (using password: NO)
                     [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] => 263
             [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: NO) [#1045]
                             [err] => Access denied for user
 'mythtv'@'localhost' (using password: NO)
                             [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] => 128
             [function] => query
             [class] => Database
             [object] => Database_mysql Object
                 (
                     [dbh] =>
                     [error] => Access denied for user 'mythtv'@'localhost'
 (using password: NO) [#1045]
                     [err] => Access denied for user 'mythtv'@'localhost'
 (using password: NO)
                     [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] =>
                     [3] => localhost
                     [4] =>
                     [5] => mysql
                 )

         )

     [4] => Array
         (
             [file] => /usr/share/mythtv/mythweb/includes/init.php
             [line] => 38
             [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:  68

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

 Backtrace:

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

 Backtrace
 Array
 (
     [0] => Array
         (
             [file] =>
 /usr/share/mythtv/mythweb/classes/Database/Query/mysql.php
             [line] => 67
             [function] => error
             [class] => Database
             [object] => Database_mysql Object
                 (
                     [dbh] =>
                     [error] => Access denied for user 'mythtv'@'localhost'
 (using password: NO) [#1045]
                     [err] => Access denied for user 'mythtv'@'localhost'
 (using password: NO)
                     [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] => 263
             [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: NO) [#1045]
                             [err] => Access denied for user
 'mythtv'@'localhost' (using password: NO)
                             [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] => 128
             [function] => query
             [class] => Database
             [object] => Database_mysql Object
                 (
                     [dbh] =>
                     [error] => Access denied for user 'mythtv'@'localhost'
 (using password: NO) [#1045]
                     [err] => Access denied for user 'mythtv'@'localhost'
 (using password: NO)
                     [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] =>
                     [3] => localhost
                     [4] =>
                     [5] => mysql
                 )

         )

     [4] => Array
         (
             [file] => /usr/share/mythtv/mythweb/includes/init.php
             [line] => 38
             [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:  263
    class:  Database_Query_mysql
 function:  execute
     type:  ->
     args:  Array
 (
     [0] => Array ( )
 )

     file:  /usr/share/mythtv/mythweb/classes/Database.php
     line:  128
    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] =>
     [3] => localhost
     [4] =>
     [5] => mysql
 )

     file:  /usr/share/mythtv/mythweb/includes/init.php
     line:  38
    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
 )


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

 $_SERVER: Array
 (
     [REDIRECT_STATUS] => 200
     [db_server] => localhost
     [db_name] => mythconverg
     [db_login] => mythtv
     [db_password] =>
     [HTTP_HOST] => 192.168.10.199
     [HTTP_USER_AGENT] => Mozilla/5.0 (X11; U; Linux i686; en-US;
 rv:1.9.0.6) Gecko/2009022714 Ubuntu/9.04 (jaunty) Firefox/3.0.6
     [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_COOKIE] => mythweb_tmpl=default; mythweb_skin=default;
 mythweb_id=af0d13427c287abacbba0098cfd945e0
     [HTTP_CACHE_CONTROL] => max-age=0
     [PATH] => /usr/local/bin:/usr/bin:/bin
     [SERVER_SIGNATURE] => <address>Apache/2.2.11 (Ubuntu)
 PHP/5.2.6-3ubuntu2 with Suhosin-Patch Server at 192.168.10.199 Port
 80</address>

     [SERVER_SOFTWARE] => Apache/2.2.11 (Ubuntu) PHP/5.2.6-3ubuntu2 with
 Suhosin-Patch
     [SERVER_NAME] => 192.168.10.199
     [SERVER_ADDR] => 192.168.10.199
     [SERVER_PORT] => 80
     [REMOTE_ADDR] => 192.168.10.199
     [DOCUMENT_ROOT] => /var/www
     [SERVER_ADMIN] => webmaster at localhost
     [SCRIPT_FILENAME] => /var/www/mythweb/mythweb.php
     [REMOTE_PORT] => 33326
     [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] => 1236062453
     [argv] => Array ( )
     [argc] => 0
     [STATUS] => 200
     [URL] => /mythweb/
 )

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

 $constant_list["user"]: Array
 (
     [ERROR] => 512
     [E_ASSERT_ERROR] => 4096
     [FATAL] => 256
     [PHP_MIN_VERSION] => 5.1
     [WARNING] => 1024
     [error_email] =>
     [gb] => 1073741824
     [hostname] => frontend-desktop
     [http_host] => 192.168.10.199
     [kb] => 1024
     [mb] => 1048576
     [module] =>
     [modules_path] => ./modules
     [root] => /mythweb/
     [root_url] => http://192.168.10.199:80/mythweb/
     [tb] => 1099511627780
 )

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/6313>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list