Autor: Christian Marillat Fecha: A: dmo-discussion Asunto: Re: mythweb problem
Josu Lazkano <josu.lazkano@???> writes:
> Hello, I am using mythweb from wheezy.
Hi,
> When I access to the mythweb page I get this error on the web:
>
> Error
> data directory is not writable by www-data. Please check permissions.
>
> I set the permissions this way:
>
> chown -R www-data:www-data /usr/share/mythtv/mythweb
Wrong solution.
> On the apache2 error log I have this:
>
> [Mon Oct 08 13:28:30 2012] [error] [client x.x.x.x] PHP Warning:
> Unknown: function '0' not found or invalid function name in Unknown on
> line 0
>
> Is possible to fix this?
Already fixed.
I think you have said no when apt/dpkg asked if you want to overwrite
/etc/mythtv/mythweb.conf and thus the mythtv path for apache isn't set
to /var/lib/mythtv/mythweb in that file.