Opened 6 years ago

Closed 5 years ago

Last modified 5 years ago

#10600 closed Bug Report - General (fixed)

MythWeb missing classes in OSX

Reported by: mythtv@… Owned by: JYA
Priority: minor Milestone: 0.27
Component: Ports - OSX Version: 0.25
Severity: medium Keywords:
Cc: Ticket locked: yes

Description (last modified by Raymond Wagner)

Checking out MythWeb results in an incomplete set of code, resulting in messages like:

PHP Fatal error: Class 'MythBase?' not found in /Library/WebServer/MythWeb?/classes/Translate.php on line 16

Superficially these classes appear in some app bundles, for example in

MythTv?-Setup.app/Contents/Resources/share/mythtv/bindings/php/

However copying the classes from that location does not fix the problem, since one still sees error streams like this:

[Fri Apr 13 18:42:44 2012] [error] [client 192.168.1.199] PHP Fatal error:  Class 'Channel' not found in /Library/WebServer/MythWeb/modules/tv/Channel.php on line 20, referer: http://dvr.local/MythWeb/
[Fri Apr 13 18:44:46 2012] [error] [client 192.168.1.199] PHP Fatal error:  Class 'Channel' not found in /Library/WebServer/MythWeb/modules/tv/Channel.php on line 20, referer: http://dvr.local/MythWeb/status
[Fri Apr 13 18:44:54 2012] [error] [client 192.168.1.199] PHP Fatal error:  Cannot redeclare date_select() (previously declared in /Library/WebServer/MythWeb/modules/tv/list.php:65) in /Library/WebServer/MythWeb/modules/tv/Channel.php on line 105, referer: http://dvr.local/MythWeb/status
[Fri Apr 13 18:50:44 2012] [error] [client 127.0.0.1] File does not exist: /Library/WebServer/Documents/announce
[Fri Apr 13 18:58:53 2012] [error] [client 192.168.1.199] PHP Fatal error:  Class 'Channel' not found in /Library/WebServer/MythWeb/modules/tv/Channel.php on line 20, referer: http://dvr.local/MythWeb/tv/list

This on on a server running OSX 10.6 and Myth 0.25, set up according to the Wiki instructions (and formerly running MythWeb successfully).

The email stream from mythtv-users on April 13 refers to this problem in the thread for "Issues with 0.25 MythWeb and OSX"

Attachments (1)

class_autoload.patch (1.9 KB) - added by karog <mythtv@…> 6 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 Changed 6 years ago by mythweb_mythtv@…

Just upgraded to Mac Mini to 0.25 and am also running into this issue. Is there any update yet? Any workaround? Thanks

comment:2 Changed 6 years ago by Raymond Wagner

Description: modified (diff)
Ticket locked: set
Version: Unspecified0.25

Please leave any discussion that provides no additional information towards resolving the issue to the mailing list.

Changed 6 years ago by karog <mythtv@…>

Attachment: class_autoload.patch added

comment:3 Changed 6 years ago by Raymond Wagner

See additional information in #10787.

comment:4 Changed 5 years ago by karog <mythtv@…>

Resolution: fixed
Status: newclosed

In 1e73a732419ff75325adbec7a971ac8ff988d63f/mythweb:

Fixes #10600, this should fix any issues with using the os x .app with mythweb.

Signed-off-by: Rob Smith <kormoc@…>

comment:5 Changed 5 years ago by Raymond Wagner

Milestone: unknown0.27
Note: See TracTickets for help on using tickets.