[mythtv] opensuse mythweb

Stuart Auchterlonie stuarta at squashedfrog.net
Mon Aug 24 13:12:02 UTC 2020


On 22/08/2020 00:43, jam at tigger.ws wrote:
> [snip]
> 
>>>> This is the mythweb intro page:
>>>>
>>>> Warning at /srv/www/htdocs/mythweb/includes/utils.php, line 334:
>>>> !!NoTrans: Use of undefined constant tmpl - assumed 'tmpl' (this will throw an Error in a future version of PHP)!!
>>>>
>>>> Warning at /srv/www/htdocs/mythweb/includes/utils.php, line 335:
>>>> !!NoTrans: Use of undefined constant tmpl - assumed 'tmpl' (this will throw an Error in a future version of PHP)!!
>>>>
>>>
>>> Lots of fixes went in for newer php versions,
>>> are these errors with the latest version from
>>> fixes/31 ??
>>
>> [sandypit] /home/jam [801]% cd /srv/www/htdocs/mythweb/
>> [sandypit] /srv/www/htdocs/mythweb [802]% git status
>> On branch fixes/31
>> Your branch is up to date with 'origin/fixes/31'.
> 
> This seems to be the crux, what are we trying to find
> 
> MariaDB [mythconverg]> SELECT SUM(data) FROM settings WHERE value="LogEnabled";
> +-----------+
> | SUM(data) |
> +-----------+
> |      NULL |
> +-----------+
> 
> James
> 

So the simple fix is to insert that key into the table.
Mine has it enabled, i'd expect disabled to work too....

select * from settings where value='LogEnabled';
+------------+------+----------+
| value      | data | hostname |
+------------+------+----------+
| LogEnabled | 1    | NULL     |
+------------+------+----------+


Regards
Stuart


More information about the mythtv-dev mailing list