You are not logged in.

#1 2016-08-07 00:27:29

glenb77
Member
Registered: 2014-10-02
Posts: 68

[SOLVED] php / httpd issue with mythweb plugin

this is concerns 'mythweb' a plugin for mythtv. i have a mythtv server running mythtv working fine for about 1 year.
i setup and installed the mythweb plugin and it has been running fine for a year, and now works with php7.

a couple of mornings ago the mythweb stopped working and displays errors that look like this:

'Fatal error: Uncaught Error: Call to undefined function show_popup() in /srv/http/mythweb/modules/_shared/tmpl/default/header.php:205'

i am using apache, php-apache, php and mariadb packages.

there had been recent updates of the mythtv package and the mythweb plugin package. i checked mythweb after both of these.
and it was working fine. to be sure i rolled both back and still same result. i also have an owncloud installation,
which has been running around 6 months. i removed the owncloud and all of it's configuration settings in httpd.conf and php.ini
with the same result: no mythweb. same errors.

i then installed mythweb (as per wiki) on a desktop on my network, and it worked. this was with all updates installed prior.

i also just replaced the conf files in my server with the working conf files from the desktop, and still same result
no working mythweb.

this does not appear to be a mysql/mariadb issue, because when i fooled with the creds in mythweb.conf, (for apache) i did get
a different screen indicating connection failure when i forced a bad password. i believe it is connecting the the database.

i am at a loss as to what to try next, any help would be appreciated, my guess would be something with php but i don't know much about it.

Last edited by glenb77 (2016-08-08 04:54:52)

Offline

#2 2016-08-08 05:02:13

glenb77
Member
Registered: 2014-10-02
Posts: 68

Re: [SOLVED] php / httpd issue with mythweb plugin

I am marking this is as solved, i did get it working again, but i did not really identify the problem.

To get it working i did the following:

1. reinstalled all of the dependencies listed in the mythweb-plugin package
2. pulled from the git for the plugin and placed the files from the git in my document root
3. changed the php.ini open_basedir to open up /usr/local/share and moved the needed usr/share/mythtv files there.

I still don't know why it would work with the arch packages on two other computers but not my server machine using the exact same conf files and  packages.

Offline

Board footer

Powered by FluxBB