[mythtv-users] Can't change channel data with Mythweb anymore

Tim Flagg timfl at akirisolutions.com
Sat Feb 25 16:14:48 UTC 2012

On 29/05/2008, Bob Sully <rcs[at]malibyte.net> wrote:

>....I find that the channel editor in MythWeb no
>longer saves ANY changes I make....
>It goes through th motions after I hit "Save", but no data gets changed in
>the database. It doesn't seem to matter what I'm doing (delete a channel,
>change data within a chammel record, etc.).

I didn't see a post on how to fix this and it just happened recently.

Check the error log for your web server.
For example, on Ubuntu, check /var/log/apache2/error.log and you
may see the reason for the problem. For example:

        [error] [client] PHP Warning:  Unknown: Input variables
exceeded 1000. To increase the limit change max_input_vars in php.ini. in
Unknown on line 0, referer: http://localhost/mythweb/settings/tv/channels

If you see the above error, then add the following line to

         max_input_vars = 100000

(I don't know exactly how big the number has to be but the above worked).

Then restart apache:

      service apache2 restart

I'm guessing the reason this started happening is related to a newer
version of php that introduces a new variable, "max_input_vars" that
is used to prevent Denial of Service attacks.   See
for more details on that.

Tim Flagg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.mythtv.org/pipermail/mythtv-users/attachments/20120225/bc73f46b/attachment.html 

More information about the mythtv-users mailing list