Modify

Opened 3 years ago

Last modified 3 years ago

#12309 new Bug Report - General

Still getting errors from Mythweb - PHP warnings

Reported by: mythtv@… Owned by: kormoc
Priority: minor Milestone: unknown
Component: Plugin - MythWeb Version: Unspecified
Severity: medium Keywords:
Cc: Ticket locked: no

Description

Checked the mythweb.conf - has the several "new" lines that have been attributed to PHP 5.4 "fix" for the PHP warnings....

[Mon Oct 27 11:06:17.059855 2014] [:error] [pid 28912] [client 192.168.10.101:54370] PHP Warning: Unknown: function '0' not found or invalid function name in Unknown on line 0, referer: http://192.168.10.102/mythweb/status [Mon Oct 27 11:06:17.186732 2014] [:error] [pid 28902] [client 192.168.10.101:54371] PHP Warning: Unknown: function '0' not found or invalid function name in Unknown on line 0, referer: http://192.168.10.102/mythweb/tv/recorded [Mon Oct 27 11:06:17.235022 2014] [:error] [pid 28902] [client 192.168.10.101:54371] PHP Warning: Unknown: function '0' not found or invalid function name in Unknown on line 0, referer: http://192.168.10.102/mythweb/tv/recorded [Mon Oct 27 11:06:22.089012 2014] [:error] [pid 28912] [client 192.168.10.101:54370] PHP Warning: Unknown: function '0' not found or invalid function name in Unknown on line 0, referer: http://192.168.10.102/mythweb/tv/recorded [Mon Oct 27 11:06:26.471904 2014] [:error] [pid 28912] [client 192.168.10.101:54370] PHP Warning: Unknown: function '0' not found or invalid function name in Unknown on line 0, referer: http://192.168.10.102/mythweb/

=========

php --version PHP 5.5.9-1ubuntu4.4 (cli) (built: Sep 4 2014 06:56:34) Copyright (c) 1997-2014 The PHP Group Zend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies

with Zend OPcache v7.0.3, Copyright (c) 1999-2014, by Zend Technologies

=========

mythtv version

mythtv:

Installed: (none) Candidate: 2:0.27.4+fixes.20141027.e0b0027-0ubuntu0mythbuntu2 Version table:

2:0.27.4+fixes.20141027.e0b0027-0ubuntu0mythbuntu2 0

500 http://ppa.launchpad.net/mythbuntu/0.27/ubuntu/ trusty/main amd64 Packages

2:0.27.0+fixes.20140324.8ee257c-0ubuntu3 0

500 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/multiverse amd64 Packages

2:0.27.0+fixes.20140324.8ee257c-0ubuntu2 0

500 http://us.archive.ubuntu.com/ubuntu/ trusty/multiverse amd64 Packages

Attachments (0)

Change History (5)

comment:1 Changed 3 years ago by mythtv@…

Here are the entries in the mythweb.conf file :

<Files *.php>

# These settings are intended for apache 2.x. If your version of apache # doesn't support php_value, or things like memory_limit aren't working # as expected, then use these settings as examples for your own php.ini # files.

php_value safe_mode 0 php_value register_globals 0 php_value magic_quotes_gpc 0 php_value file_uploads 0 php_value allow_url_fopen On

php_value zlib.output_handler Off php_value output_handler NULL

# If you have a large number of channels, you may need to increase # this value to prevent PHP from running out of memory during # searches. The default is 64M.

# php_value memory_limit 64M # php_value memory_limit 128M

php_value memory_limit 256M

# php_value memory_limit 512M

# If you have a large number of channels, php may timeout creating # complex pages, so you will need to increase the amount of time # php has to create the page. The default is 30 seconds.

php_value max_execution_time 30

# php_value max_execution_time 60 # php_value max_execution_time 120

# Note: php_flag does not work in older versions of php

php_flag output_handler "NULL"

comment:2 Changed 3 years ago by Gary Buhrmaster <gary.buhrmaster@…>

Looks like you do not have the fix from ticket #11277 applied. You may need to pull in the latest fixes branch for your distro (note that typically mythtv and mythweb are packaged separately). Advice on how to do so can be found on the user list.

comment:3 Changed 3 years ago by mythtv@…

I am updating using this repository :

deb http://ppa.launchpad.net/mythbuntu/0.27/ubuntu trusty main

From what I can tell - that has the latest content.

The ticket you referenced - as I read it - shows the change was to a conf file only. Those elements are in my system.

Please advise...

comment:5 Changed 3 years ago by mythtv@…

apt-cache policy mythweb mythweb:

Installed: 2:0.27.4+fixes.20141027.e0b0027-0ubuntu0mythbuntu2 Candidate: 2:0.27.4+fixes.20141027.e0b0027-0ubuntu0mythbuntu2 Version table:

* 2:0.27.4+fixes.20141027.e0b0027-0ubuntu0mythbuntu2 0

500 http://ppa.launchpad.net/mythbuntu/0.27/ubuntu/ trusty/main amd64 Packages 100 /var/lib/dpkg/status

2:0.27.0+fixes.20140324.8ee257c-0ubuntu3 0

500 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/multiverse amd64 Packages

2:0.27.0+fixes.20140324.8ee257c-0ubuntu2 0

500 http://us.archive.ubuntu.com/ubuntu/ trusty/multiverse amd64 Packages

Add Comment

Modify Ticket

Action
as new The owner will remain kormoc.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.