Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mythweb max_input_vars bug and fix #38

Open
Steve-Goodey opened this issue Jan 28, 2021 · 1 comment
Open

mythweb max_input_vars bug and fix #38

Steve-Goodey opened this issue Jan 28, 2021 · 1 comment

Comments

@Steve-Goodey
Copy link

  • Platform: Linux mythbuntu 5.4.0-65-generic Fix for youtube crash mythtv#73-Ubuntu SMP Mon Jan 18 17:25:17 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
  • MythTV version: fixes/31 (v31.0+fixes.202101081714.016630a35c-ubuntu20.04.1)
  • Package version: mythbuntu-ubuntu-31-focal.list
  • Component: mythbackend mythweb

What steps will reproduce the bug?

Mythweb, Settings, Channel Info. Selecting commfree on some channels and going to end of page and pressing save.

How often does it reproduce? Is there a required condition?

Reproduce everytime.

What is the expected behaviour?

comfree setting should stay enabled after pressing save.

What do you see instead?

Screen refreshes and shows the page but with an error message.
"Warning: Unknown: Input variables exceeded 1000. To increase the limit change max_input_vars in php.ini. in Unknown on line 0"
"The fix is insert php_value max_input_vars 10000 in /etc/apache2/sites-available/mythweb.conf in the section with the other php config settings."
This is from https://forum.mythtv.org/viewtopic.php?f=6&t=3788&p=18206&hilit=max_input_vars#p18206 by JeffDwork.

@billmeek billmeek transferred this issue from MythTV/mythtv Jan 28, 2021
@MythTV MythTV deleted a comment from garybuhrmaster Jan 28, 2021
@MythTV MythTV deleted a comment from Steve-Goodey Jan 28, 2021
@Steve-Goodey
Copy link
Author

A comment from the forum post:-

"The current solution is to set max_input_vars to 10000 in 20-mythweb.ini in the /etc/php/version/apache2/conf.d directory (on ubuntu, at least). This is the wrong place, as this file will not be loaded after a version upgrade of php."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant