[mythtv-users] ticket 10504 and php-5.4.8-1.fc17.x86_64
Udo van den Heuvel
udovdh at xs4all.nl
Fri Dec 7 11:24:10 UTC 2012
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 2012-12-07 02:51, Anthony Messina wrote:
> On Monday, December 03, 2012 11:48:22 AM Udo van den Heuvel wrote:
>> Hello,
>>
>> After upgrading to 0.26 from git problems with mythweb still
>> exist:
>>
>> PHP Warning: Unknown: function '0' not found or invalid function
>> name in Unknown on line 0
>
> Please take a look at http://code.mythtv.org/trac/ticket/11277
Thanks, the patch from that ticket DOES fix the errors!
Now I need to test functionality.
But:
While doing that I got: (probably unrelated)
datetime: 2012-12-07 12:20:56 (CET)
errornum: 256
error type: User Error
error string: !!NoTrans: Too many connections [#1040]
Backtrace
Array
(
[0] => Array
(
[file] => /usr/share/mythweb/classes/Database/Query/mysql.php
[line] => 63
[function] => error
[class] => Database
[object] => Database_mysql Object
(
[dbh] =>
[error] => Too many connections [#1040]
[err] => Too many connections
[errno] => 1040
[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/mythweb/classes/Database.php
[line] => 261
[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] => Too many connections [#1040]
[err] => Too many connections
[errno] => 1040
[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/mythweb/classes/Database.php
[line] => 124
[function] => query
[class] => Database
[object] => Database_mysql Object
(
[dbh] =>
[error] => Too many connections [#1040]
[err] => Too many connections
[errno] => 1040
[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/mythweb/includes/database.php
[line] => 49
[function] => connect
[class] => Database
[type] => ::
[args] => Array
(
[0] => mythconverg
[1] => mythtv
[2] => mythtv
[3] => localhost
[4] =>
[5] => mysql
)
)
[4] => Array
(
[file] => /usr/share/mythweb/includes/init.php
[line] => 40
[args] => Array
(
[0] => /usr/share/mythweb/includes/database.php
)
[function] => require_once
)
[5] => Array
(
[file] => /usr/share/mythweb/mythweb.php
[line] => 20
[args] => Array
(
[0] => /usr/share/mythweb/includes/init.php
)
[function] => require_once
)
)
!!
filename: /usr/share/mythweb/classes/Database/Query/mysql.php
error line: 64
==========================================================================
Backtrace:
file: /usr/share/mythweb/classes/Database/Query/mysql.php
line: 64
class:
function: trigger_error
type:
args: Array
(
[0] => Too many connections [#1040]
Backtrace
Array
(
[0] => Array
(
[file] => /usr/share/mythweb/classes/Database/Query/mysql.php
[line] => 63
[function] => error
[class] => Database
[object] => Database_mysql Object
(
[dbh] =>
[error] => Too many connections [#1040]
[err] => Too many connections
[errno] => 1040
[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/mythweb/classes/Database.php
[line] => 261
[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] => Too many connections [#1040]
[err] => Too many connections
[errno] => 1040
[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/mythweb/classes/Database.php
[line] => 124
[function] => query
[class] => Database
[object] => Database_mysql Object
(
[dbh] =>
[error] => Too many connections [#1040]
[err] => Too many connections
[errno] => 1040
[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/mythweb/includes/database.php
[line] => 49
[function] => connect
[class] => Database
[type] => ::
[args] => Array
(
[0] => mythconverg
[1] => mythtv
[2] => mythtv
[3] => localhost
[4] =>
[5] => mysql
)
)
[4] => Array
(
[file] => /usr/share/mythweb/includes/init.php
[line] => 40
[args] => Array
(
[0] => /usr/share/mythweb/includes/database.php
)
[function] => require_once
)
[5] => Array
(
[file] => /usr/share/mythweb/mythweb.php
[line] => 20
[args] => Array
(
[0] => /usr/share/mythweb/includes/init.php
)
[function] => require_once
)
)
[1] => 256
)
file: /usr/share/mythweb/classes/Database.php
line: 261
class: Database_Query_mysql
function: execute
type: ->
args: Array
(
[0] => Array ( )
)
file: /usr/share/mythweb/classes/Database.php
line: 124
class: Database
function: query
type: ->
args: Array
(
[0] => SET NAMES utf8;
)
file: /usr/share/mythweb/includes/database.php
line: 49
class: Database
function: connect
type: ::
args: Array
(
[0] => mythconverg
[1] => mythtv
[2] => mythtv
[3] => localhost
[4] =>
[5] => mysql
)
file: /usr/share/mythweb/includes/init.php
line: 40
class:
function: require_once
type:
args: Array
(
[0] => /usr/share/mythweb/includes/database.php
)
file: /usr/share/mythweb/mythweb.php
line: 20
class:
function: require_once
type:
args: Array
(
[0] => /usr/share/mythweb/includes/init.php
)
==========================================================================
$_GET: Array
(
[title] => 10xBeter
)
==========================================================================
$_SESSION: Array
(
[language] => English
)
==========================================================================
$_SERVER: Array
(
[REDIRECT_STATUS] => 200
[db_server] => localhost
[db_name] => mythconverg
[db_login] => mythtv
[db_password] => mythtv
[HTTP_HOST] => recorder
[HTTP_USER_AGENT] => Mozilla/5.0 (X11; Linux x86_64; rv:17.0)
Gecko/17.0 Firefox/17.0
[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_DNT] => 1
[HTTP_CONNECTION] => keep-alive
[HTTP_REFERER] => http://recorder/mythweb/tv/recorded
[HTTP_COOKIE] => mythweb_id=rc462n4h3b47uhc9lhk8sdmg10
[PATH] => /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
[SERVER_SIGNATURE] => <address>Apache/2.2.22 (Fedora) Server at
recorder Port 80</address>
[SERVER_SOFTWARE] => Apache/2.2.22 (Fedora)
[SERVER_NAME] => recorder
[SERVER_ADDR] => 192.168.10.99
[SERVER_PORT] => 80
[REMOTE_ADDR] => 192.168.10.70
[DOCUMENT_ROOT] => /var/www/html
[SERVER_ADMIN] => root at localhost
[SCRIPT_FILENAME] => /usr/share/mythweb/mythweb.php
[REMOTE_PORT] => 38638
[REDIRECT_QUERY_STRING] => title=10xBeter
[REDIRECT_URL] => /mythweb/tv/recorded
[GATEWAY_INTERFACE] => CGI/1.1
[SERVER_PROTOCOL] => HTTP/1.1
[REQUEST_METHOD] => GET
[QUERY_STRING] => title=10xBeter
[REQUEST_URI] => /mythweb/tv/recorded?title=10xBeter
[SCRIPT_NAME] => /mythweb/mythweb.php
[PATH_INFO] => /tv/recorded
[PATH_TRANSLATED] => /var/www/html/tv/recorded
[PHP_SELF] => /mythweb/mythweb.php/tv/recorded
[REQUEST_TIME_FLOAT] => 1354879256.368
[REQUEST_TIME] => 1354879256
[STATUS] => 200
[URL] => /mythweb/tv/recorded
)
==========================================================================
$constant_list["user"]: Array
(
[ERROR] => 512
[E_ASSERT_ERROR] => 4096
[FATAL] => 256
[PHP_MIN_VERSION] => 5.3
[WARNING] => 1024
)
Recorded programs screen comes up trying to show all recording which
is a big list for this simple dual core machine.
While waiting for the page to laod I selected one of the program
titles to see all recordings of that show.
Then I got this error.
Git mythweb 0.26-fixes.
Can I change the default of the recorded programs screen somehow?
Kind regards,
Udo
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/
iG0EARECAC0FAlDB0dkmGmh0dHA6Ly9waW5kYXJvdHMueHM0YWxsLm5sL3BvbGlj
eS50eHQACgkQOtb4EYMAzAJldwCfQ1PuOyJkwVqtDdF1mtcEEcevWTYAnApM2Tek
35zpRneR/UxGHES6sRHL
=P1JQ
-----END PGP SIGNATURE-----
More information about the mythtv-users
mailing list