Mythtv mythweb error

After the Mandriva 2006 upgrade I’ve still been looking to find if there is anything ‘not quite right’…. anyway, I’ve run into an issue with mythweb. Mythweb is a web-based interface for the mythtv backend. It basically let’s you browse listings, schedule recordings, see what’s scheduled, etc. For me it’s kind of like checking one of the sites that has tv guide info. It’s even better because it’s local to the machine and let’s me go ahead and set recordings up. (And there are no obnoxious ads, or logins to remember…) Anyway, after the upgrade, the main page is throwing up this message… Fatal error: Call to undefined function preg_replace() in /var/www/html/mythweb/config/conf.php on line 29

From what I can see this “fatal error: call to undefined function preg_replace()” is a common error and everything seems to point to a missing functionality in php. That missing capability is PCRE (Perl compatible Regular Expression Funcitons). PCRE is something that can be enabled/disabled at the time php is compiled. If you have a webhost that’s giving this error, they may be in process of a PHP upgrade.

In my case, on the Mandriva 2006 machine it appears that there is an RPM package php-pcre that should solve the problem. Just urpmi php-pcre. Anyway, that missing package seems to be all that mythweb needs to work correctly. (Now I get another error…. next post…)

   Send article as PDF   

Similar Posts