[mythtv-users] Fedora 19 0.26.0 Mythweb Errors
Vinton Coffman
vintonc at comcast.net
Thu Sep 5 14:32:32 UTC 2013
I using MythWeb from git and its current so I have both the patches mentioned previously but I'm still getting a !!NoTrans: Permission denied [#2002] error.
This is a Fedora 19 system with Apache 2.4.6 and php 5.5.3. Both the fronted and backend are on the same machine and currently run fine from the command line. I haven't taken the time to create the necessary systemd service files yet. This was a migration from an previous combined BE/FE machine and I followed the howto in the wiki.
Mysql is bound to the standard port(3306) on the subnet I use and networking is allowed in my.cnf. I've searched for a couple of days now and haven't found an answer.
I had to remove Options -All from the myth web.conf file
[root at pvr conf.d]# httpd -S
AH00526: Syntax error on line 30 of /etc/httpd/conf.d/mythweb.conf:
You may not use 'Options +All' or 'Options -All'.
<Directory "/var/www/html/mythweb/data">
Options +FollowSymLinks +IncludesNoExec
</Directory>
<Directory "/var/www/html/mythweb" >
here's what I get when I load http://pvr/mythweb
from the apache error_log
[Wed Sep 04 18:55:14.042768 2013] [:error] [pid 20652] [client 192.168.69.69:57592] PHP Warning: require(modules/_shared/tmpl/tmpl/footer.php): failed to open stream: No such file or directory in /var/www/html/mythweb/modules/_shared/tmpl/_errors/fatal.php on line 47
[Wed Sep 04 18:55:14.042810 2013] [:error] [pid 20652] [client 192.168.69.69:57592] PHP Fatal error: require(): Failed opening required 'modules/_shared/tmpl/tmpl/footer.php' (include_path='/usr/local/share/mythtv/bindings/php/:/usr/share/mythtv/bindings/php/:.:/usr/share/pear:/usr/share/php') in /var/www/html/mythweb/modules/_shared/tmpl/_errors/fatal.php on line 47
The first php warning is because 'tmpl' is not getting defined and causing the second error but if I define 'tmpl' to be 'default' I get an error about t() not being define in includes/translate.php
Any suggestions? Thanks.
In the browser window:
Fatal Error
!!NoTrans: Permission denied [#2002]
Backtrace
Array
(
[0] => Array
(
[file] => /var/www/html/mythweb/classes/Database/Query/mysql.php
[line] => 63
[function] => error
[class] => Database
[object] => Database_mysql Object
(
[dbh] =>
[error] => Permission denied [#2002]
[err] => Permission denied
[errno] => 2002
[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] => /var/www/html/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] => Permission denied [#2002]
[err] => Permission denied
[errno] => 2002
[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] => /var/www/html/mythweb/classes/Database.php
[line] => 124
[function] => query
[class] => Database
[object] => Database_mysql Object
(
[dbh] =>
[error] => Permission denied [#2002]
[err] => Permission denied
[errno] => 2002
[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] => /var/www/html/mythweb/includes/database.php
[line] => 49
[function] => connect
[class] => Database
[type] => ::
[args] => Array
(
[0] => mythconverg
[1] => mythtv
[2] => mythtv
[3] => pvr
[4] =>
[5] => mysql
)
)
[4] => Array
(
[file] => /var/www/html/mythweb/includes/init.php
[line] => 43
[args] => Array
(
[0] => /var/www/html/mythweb/includes/database.php
)
[function] => require_once
)
[5] => Array
(
[file] => /var/www/html/mythweb/mythweb.php
[line] => 20
[args] => Array
(
[0] => /var/www/html/mythweb/includes/init.php
)
[function] => require_once
)
)
!!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20130905/45518fb3/attachment.html>
More information about the mythtv-users
mailing list