Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 294465 - www-apps/mythweb-0.21_p16468 Modules.php has a line missing.
Summary: www-apps/mythweb-0.21_p16468 Modules.php has a line missing.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: MythTV Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-24 18:15 UTC by Kronalias
Modified: 2010-06-13 07:39 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kronalias 2009-11-24 18:15:14 UTC
MythWeb 0.22_p22763-r1 will not start due to a fatal PHP error. This can be cured by the addition of one line to the Modules.php file (see below) to declare the Cache_Enabled interface.

Reproducible: Always

Steps to Reproduce:
1. Emerge MythWeb 0.22
2. Try to access MythWeb (http://localhost/mythweb or similar)


Actual Results:  
Fatal error message displayed:

Fatal error: Interface 'Cache_Enabled' not found in /usr/share/webapps/mythweb/0.22_p22763-r1/htdocs/classes/Modules.php on line 15


Expected Results:  
A pretty MythWeb page should be displayed.

In the file ...
/usr/share/webapps/mythweb/0.22_p22763-r1/htdocs/classes/Modules.php

... this is Line 15:
class Modules implements Cache_Enabled {

Put this line:
interface Cache_Enabled { }
above the original Line 15.

Now try to access MythWeb and it works.
Comment 1 Doug Goldstein (RETIRED) gentoo-dev 2010-01-04 05:25:43 UTC
Which version is this a problem with exactly? The subject you used states a completely different version.
Comment 2 Kronalias 2010-01-19 13:44:18 UTC
Humble apologies Doug! That was impressive, first post on Bugzilla and I got it wrong... please put it down to my advancing years and Linux noobiness.

The version I was having trouble with is 0.22_p22763-r1, and I suspect it's something to do with my setup - I have a friend who's using the same build without any problems.

If you do not consider this to be a bug, I feel the information I supplied may nevertheless be helpful to somebody. Hence, if you close this out, could you please advise me on where I should post the info?

Thanks in advance, Kronalias
Comment 3 Doug Goldstein (RETIRED) gentoo-dev 2010-01-19 15:03:42 UTC
(In reply to comment #2)
> The version I was having trouble with is 0.22_p22763-r1, and I suspect it's
> something to do with my setup - I have a friend who's using the same build
> without any problems.

Yeah interestingly enough I'm using the same version without issue. Can you attach "emerge -pv php", maybe we've got some differing USE flags and something else is really the culprit.
Comment 4 Kronalias 2010-01-20 21:31:07 UTC
Here's the emerge -pv php output - it's not too long so I'll post it here rather than as an attachment. The '1 upgrade' refers, I think, to exif for my wife's (very expensive) new camera stuff. HTH and tks for your help, Kronalias

================================================================
These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ] dev-lang/php-5.2.12 [5.2.11-r1] USE="apache2 berkdb bzip2 cgi cli crypt ctype exif* gdbm iconv ipv6 json mysql mysqli ncurses nls pcre posix readline reflection session spl ssl unicode zlib -adabas -bcmath -birdstep -calendar -cdb -cjk -concurrentmodphp -curl -curlwrappers -db2 -dbase -dbmaker -debug -discard-path -doc -empress -empress-bcs -esoob -fastbuild -fdftk -filter -firebird -flatfile -force-cgi-redirect -frontbase -ftp -gd -gd-external -gmp -hash -imap -inifile -interbase -iodbc (-java-external) -kerberos -kolab -ldap -ldap-sasl -libedit -mcve -mhash -msql -mssql -oci8 -oci8-instant-client -odbc -pcntl -pdo -pic -postgres -qdbm -recode -sapdb -sharedext -sharedmem -simplexml -snmp -soap -sockets -solid -spell -sqlite -suhosin -sybase -sybase-ct -sysvipc -threads -tidy -tokenizer -truetype -wddx -xml -xmlreader -xmlrpc -xmlwriter -xpm -xsl -yaz -zip" 8,873 kB

Total: 1 package (1 upgrade), Size of downloads: 8,873 kB
================================================================
Comment 5 Doug Goldstein (RETIRED) gentoo-dev 2010-06-13 07:39:07 UTC
Are you still seeing this issue? We've made some fixes inside the ebuild in the past few bumps. Please test and reopen if its still an issue.