When accessing http://<serverName>/mythweb/, the following error is produced: "Fatal error: Cannot re-assign $this in /var/www/localhost/htdocs/mythweb/includes/programs.php on line 299" It appears MythWeb utilizes PHP4 "feature": ==== // Redefine this object - we won't need any filesize information because this isn't a recorded program $this = load_one_program($this->starttime, $this->chanid); } ==== Discussion of error: http://cvs.php.net/co.php/ZendEngine2/ZEND_CHANGES http://bugs.php.net/bug.php?id=27659 http://news.php.net/php.internals/start/3418 Reproducible: Always Steps to Reproduce: 1. emerge mod_php 5.0.1 2. emerge mythweb 0.15.1 3. Access http://<serverName>/mythweb/ Actual Results: "Fatal error: Cannot re-assign $this in /var/www/localhost/htdocs/mythweb/includes/programs.php on line 299" Expected Results: Web page displayed wintermute ~ # emerge info Portage 2.0.50-r9 (default-x86-2004.0, gcc-3.3.4, glibc-2.3.4.20040808-r0, 2.6.8-gentoo-r1) ================================================================= System uname: 2.6.8-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 3.06GHz Gentoo Base System version 1.5.3 distcc 2.17 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/share/config:/usr/kde/3.3/env:/usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control /var/www/localhost/htdocs//mythweb/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distcc" GENTOO_MIRRORS="ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://mirrors.tds.net/gentoo http://gentoo.osuosl.org/ http://mirror.datapipe.net/gentoo" MAKEOPTS="-j8" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X acpi aim alsa apm arts avi berkdb bonobo cdr crypt cups curl curlwrappers dba divx4linux dvd encode esd ethereal flac foomaticdb ftp gd gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile iconv icq imlib ipv6 jabber java joystick jpeg libg++ libwww lirc mad mikmod motif mozilla mpeg mysql ncurses nls nptl odbc offensive oggvorbis opengl oscar oss pam pcmcia pcre pdflib perl png pnp posix python quicktime readline ruby samba sdl session sessions slang slp snmp soap spell spl ssl svga sysvipc tcltk tcpd theora threads tidy tiff transcode truetype usb videos x86 xinerama xml2 xmms xosd xv xvid yahoo zlib"
php team, media-tv atm is virtually non-existent (waiting for max's return) -- I'm trying to find people to populate the team, but in the meantime, if y'all could provide some input that'd be great!
I made a little patch file to fix the "$this pointer reassigned" error with mythweb.
Everything but a bug in Scheduled Recordings seems to be fixed in 0.16. The only bug I could find was "Fatal error: Cannot use object of type Recording as array in /var/www/localhost/htdocs/mythweb/recording_schedules.php on line 24"
This was actually a bug that I filed upstream and am persuing currently. (don't have the bug # handy from bugzilla). it's all fixed currently except for the occational code path problem that aliz mentioned. Oddly enough if you run mythfilldatabase and have your db full, then reload the page... the problem goes away. I haven't looked into it but I have notified upstream. They might release a 0.16.1 for it.
Here are the bug reports: http://www.mythtv.org/bugs/show_bug.cgi?id=90 http://www.mythtv.org/bugs/show_bug.cgi?id=91 Bug #91 is the bug mentioned in comment 3
Upstream is aware of the problem and they're just sitting on it. It'll hopefully be fixed in the next version. All we can do is wait for upstream.