mythweb fails with PHP error

Bug #999148 reported by Robert Keevil
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mythtv (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

After a new installation of myth (backend, frontend and mythweb all on this machine - default installation, apart from allowing remote frontends), mythweb fails with the following:

Warning at /usr/share/mythtv/mythweb/modules/_shared/tmpl/default/header.php, line 12:
!!NoTrans: Cannot modify header information - headers already sent by (output started at /usr/share/mythtv/mythweb/modules/_shared/tmpl/default/header.php:13)!!

The apache error log contains:
[Mon May 14 09:10:01 2012] [error] [client 172.16.111.99] PHP Warning: Failed to open translation file: modules_path/_shared/lang/English.lang in /usr/share/mythtv/mythweb/classes/Translate.php on line 173

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: mythweb 2:0.25.0+fixes.20120410.1f5962a-0ubuntu1 [modified: usr/share/mythtv/mythweb/modules/tv/classes/Schedule.php]
ProcVersionSignature: Ubuntu 3.2.0-24.37-generic 3.2.14
Uname: Linux 3.2.0-24-generic x86_64
NonfreeKernelModules: vboxpci vboxnetadp vboxnetflt vboxdrv nvidia
.var.log.mythtv.mythavtest.log:

.var.log.mythtv.mythccextractor.log:

.var.log.mythtv.mythjobqueue.log:

.var.log.mythtv.mythlcdserver.log:

.var.log.mythtv.mythmediaserver.log:

.var.log.mythtv.mythshutdown.log:

.var.log.mythtv.mythtranscode.log:

.var.log.mythtv.mythutil.log:

.var.log.mythtv.mythwelcome.log:

ApportVersion: 2.0.1-0ubuntu7
Architecture: amd64
Date: Mon May 14 08:44:52 2012
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 (20120328)
Installed_mythtv_dbg: 0.0
PackageArchitecture: all
ProcEnviron:
 TERM=xterm
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: mythtv
UpgradeStatus: No upgrade log present (probably fresh install)
modified.conffile..etc.default.mythweb: [modified]
mtime.conffile..etc.default.mythweb: 2012-05-12T15:19:45.127287

Revision history for this message
Robert Keevil (rkeevil+launchpad) wrote :
Revision history for this message
Robert Keevil (rkeevil+launchpad) wrote :

modified: usr/share/mythtv/mythweb/modules/tv/classes/Schedule.php
was an attempt to fix this bug by applying the last patch of http://code.mythtv.org/trac/ticket/10142
Made no difference to the error reported.

Revision history for this message
Robert Keevil (rkeevil+launchpad) wrote :

Please close as invalid.
/etc/apache2/sites-available/mythweb.conf had the wrong db_name following a previous frontend only install.

Changed in mythweb (Ubuntu):
status: New → Invalid
Revision history for this message
Mario Limonciello (superm1) wrote :

Glad it was an easy solution. In the future, all mythtv and mythplugins and mythweb bugs should be filed against the 'mythtv' source package. We don't use a 'mythweb' source package anymore.

affects: mythweb (Ubuntu) → mythtv (Ubuntu)
no longer affects: mythtv
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.