On 29/05/2008, Bob Sully <rcs[at]<a href="http://malibyte.net">malibyte.net</a>> wrote:<div><br><div>>....I find that the channel editor in MythWeb no <br>>longer saves ANY changes I make....<br>>It goes through th motions after I hit "Save", but no data gets changed in <br>
>the database. It doesn't seem to matter what I'm doing (delete a channel, <br>>change data within a chammel record, etc.). </div><div><div><br></div>I didn't see a post on how to fix this and it just happened recently.</div>
<div><br></div><div>Check the error log for your web server. <div>For example, on Ubuntu, check /var/log/apache2/error.log and you</div><div>may see the reason for the problem. For example:</div><div><br></div><div> [error] [client 127.0.0.1] PHP Warning: Unknown: Input variables exceeded 1000. To increase the limit change max_input_vars in php.ini. in Unknown on line 0, referer: <a href="http://localhost/mythweb/settings/tv/channels">http://localhost/mythweb/settings/tv/channels</a></div>
<div><br></div><div>If you see the above error, then add the following line to /etc/php5/apachd2/php.ini:</div><div><br></div><div> max_input_vars = 100000</div><div><br></div><div><div>(I don't know exactly how big the number has to be but the above worked).</div>
<div><br></div><div>Then restart apache:</div><div><br></div><div> service apache2 restart</div><div><br></div><div>I'm guessing the reason this started happening is related to a newer</div><div>version of php that introduces a new variable, "max_input_vars" that</div>
<div>is used to prevent Denial of Service attacks. See <a href="http://www.pcworld.com/businesscenter/article/248000/hash_collision_dos_vulnerability_fixed_in_php_539.html">http://www.pcworld.com/businesscenter/article/248000/hash_collision_dos_vulnerability_fixed_in_php_539.html</a></div>
<div>for more details on that.</div><div><br></div><div>Tim Flagg</div><div><a href="http://www.akirisolutions.com">http://www.akirisolutions.com</a></div></div></div></div>