[mythtv-users] Mythweb Error when searching

James Crow james at ultratans.com
Mon Jan 5 18:17:34 UTC 2009


On Sun, 2009-01-04 at 22:00 -0500, Jeff volckaert wrote:
> On Thu, Jan 1, 2009 at 12:54 PM, Jeff volckaert <jvolckaert at gmail.com>
> wrote:
>         I just upgraded from FC6 to FC10.  Everything is working fine
>         with the exception of searches under Mythweb.
>         
>         When I try to do any search I get the error:
>         
>         Error at /var/www/html/mythweb/modules/tv/search.php, line 99:
>         Invalid argument supplied for foreach()
>         
>         In /var/log/httpd/error_log I show:
>         
>         [Thu Jan 01 12:43:22 2009] [error] [client 192.169.0.246] PHP
>         Fatal error:  Allo
>         wed memory size of 134217728 bytes exhausted (tried to
>         allocate 16 bytes) in /va
>         r/www/html/mythweb/modules/tv/includes/objects/Program.php on
>         line 291, referer:
>          http://192.169.0.1/mythweb/tv/searches
>         
>         This is after upping php_value memory_limit to 128M (which I
>         saw from searching the mailling list).
>         
>         I am running mythtv-0.21-198.fc10.i386,
>         mythweb-0.21-198.fc10.i386, httpd-2.2.10-2.i386, &
>         php-5.2.6-5.i386.
>         
>         I have an AMD 2200 with 1G of ram.
>         
>         Any other suggestions?
>         
>         Jeff
> Any help here?
> 
> Jeff

PHP is attempting to use more than 128M of RAM. I had lots of these
issues with searches from MythWeb and I only have 125 channels or so in
my database. If you have the RAM, bump the PHP limit to 256M or 512M and
see what happens. I have 4GB in my master BE and so I could increase the
limit without issues.

Cheers,
James




More information about the mythtv-users mailing list