[mythtv-users] PHP update breaks MythWeb 0.26

Karl Newman newmank1 at asme.org
Tue Jul 16 23:49:25 UTC 2013


On Tue, Jul 16, 2013 at 1:38 PM, Thomas Börkel <thomas at boerkel.de> wrote:

> HI!
>
> I updated PHP 5.4.13 -> 5.4.17 on Gentoo, which caused the following
> errors in the browser for MythWeb:
>
> -----------------------------------
>
> Warning: Unknown: function '0' not found or invalid function name in
> Unknown on line 0
>
> Warning: Failed to open translation file:
> modules_path/_shared/lang/English.lang in
> /var/www/localhost/htdocs/mythweb/classes/Translate.php on line 173
> Warning at /var/www/localhost/htdocs/mythweb/includes/session.php, line 21:
> !!NoTrans: session_start(): Cannot send session cache limiter - headers
> already sent!!
>
> Warning: date(): It is not safe to rely on the system's timezone
> settings. You are *required* to use the date.timezone setting or the
> date_default_timezone_set() function. In case you used any of those
> methods and you are still getting this warning, you most likely
> misspelled the timezone identifier. We selected the timezone 'UTC' for
> now, but please set date.timezone to select your timezone. in
> /var/www/localhost/htdocs/mythweb/includes/errors.php on line 161
> Warning at /var/www/localhost/htdocs/mythweb/modules/status/handler.php,
> line 21:
> !!NoTrans: Cannot modify header information - headers already sent!!
>
> Warning at
> /var/www/localhost/htdocs/mythweb/modules/_shared/tmpl/default/header.php,
> line 12:
> !!NoTrans: Cannot modify header information - headers already sent!!
>
> -----------------------------------
>
> After some searching around, I did:
> ln -s modules modules_path
>
> This got rid of the Translate error.
>
> After some more searching, I added this to MythWeb Apache config:
> php_value display_errors On
> php_value error_reporting E_ALL
>
> Now all errors are gone (although I would have thought that this ENABLES
> error reporting) and MythWeb SEEMS to be OK.
>
> But I can't change the channel configuration in MythWeb (the giant table
> of all channels) anymore. Any change I make is not being stored to the
> database.
>
> Any ideas?
>
> Thanks!
>
> Regards,
> Thomas
>

I use Gentoo also. I don't know if mythweb supports PHP >5.3 yet; I heard
of some incompatibility problems earlier. However, the problem with your
mythweb channel editing is probably caused by your post_max_size being too
small. For your case, you'll probably need to edit
/etc/php/apache2-php5.4/php.ini Find post_max_size and change it to 64M
(mine was 8M). You might have to do it to other php.ini files as well--I
had them in /etc/php/apache2-php4, /etc/php/apache2-php5,
/etc/php/apache2-php5.3 and /etc/php/apache2-php5.4  I changed them all.
Then do a /etc/init.d/apache2 reload to use the new values.

Karl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20130716/e8f34449/attachment.html>


More information about the mythtv-users mailing list