[mythtv-users] Mythweb on OpenSuse 15.1
Jeremy D. Eiden
theonlyrealperson at gmail.com
Tue Jan 21 05:13:10 UTC 2020
Ok, I fixed it, and I think what did it was uncommenting:
use CGI qw/:standard/;
in /srv/www/htdocs/mythweb/mythweb.pl
It's literally like the first line of real code. I don't know why it
was commented, i don't think I did it.
I did not comment:
use CGI qw/:FastCGI/;
they are both uncommented. As long as I keep it within my home network,
I think I'm ok security-wise.
On 1/19/20 11:58 PM, Jeremy D. Eiden wrote:
>
> Ok, I'm at a loss. Maybe you guys can help. On OpenSuse 15.1,
> mythweb works fine, except for the download/stream function. I get
> these type of errors:
>
> [Sun Jan 19 23:45:58.497263 2020] [php7:warn] [pid 17538] [client
> 192.168.1.125:49496] PHP Warning: Unknown: function '0' not found or
> invalid function name in Unknown on line 0, referer:
> http://192.168.1.101/tv/recorded
>
> and these type of errors:
>
> [Sun Jan 19 23:46:05.293378 2020] [cgi:error] [pid 17536] [client
> 192.168.1.125:49494] AH01215: Compilation failed in require at
> /srv/www/htdocs/mythweb/mythweb.pl line 69.:
> /srv/www/htdocs/mythweb/mythweb.pl, referer:
> http://192.168.1.101/tv/recorded
>
> I think the problem is with CGI, but no matter what I change I can't
> seem to fix it. I've installed FastCGI and tried to enable it, I've
> tried pointing the CGI executable directory to
> /srv/www/htdocs/mythweb/, I feel like I've tried everything. I've
> downloaded Perl @INC using perl -e shell -MCPAN...
>
> I just don't know what else to do.
>
> For reference, 192.168.1.101 is my mythbackend and 192.168.1.125 is my
> main computer.
>
> Thank you all in advance.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20200120/a669564d/attachment.htm>
More information about the mythtv-users
mailing list