[mythtv-users] mythweb broken

glen glenb at glenb.us
Tue Jan 31 01:55:39 UTC 2017



On Sun, 2017-01-29 at 23:15 -0800, Al wrote:
> glen wrote:
> > i had a problem with mythweb on arch recently when i installed the
> > php
> > 7.1 updates from arch. i rolled the php updates back to 7.0 and it
> > worked. i also noticed around that time some minor changes were
> > made in
> > the mythweb git but i did not check to see if the newer files in
> > the git
> > would eliminate the error i got under php 7.1. But i did not get
> > the
> > error message you got i had something different, but still maybe
> > worth
> > looking into.
> 
> I'm running Gentoo with php 7.1, and found the solution on the
> archlinux
> forum.
> 
> See https://bbs.archlinux.org/viewtopic.php?id=222245
> 
> From my notes (for Gentoo, so the path to utils.php might be
> different):
> 
> in /var/www/localhost/htdocs/mythweb/includes/utils.php lines 220-
> 225:
>  Change every instance of 'this' to 'that'.
> 
> The end result:
> 
>     function _or($that, $or_that, $gt = false) {
>         if ($gt === true)
>             return $that > 0 ? $that : $or_that;
>         if (!empty($gt))
>             return $that > $gt ? $that : $or_that;
>         return $that ? $that : $or_that;
>     }
> 
> Al
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org

thanks Al, will save me a lot of time when i do the upgrade. i also
have owncloud server and it can't use 7.1 php either until arch updates
it to 10.0. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20170130/5679c88b/attachment.html>


More information about the mythtv-users mailing list