Author Topic: php.ini modification for creation of many MD's through LMCE admin  (Read 2538 times)

tsoukas

  • Regular Poster
  • **
  • Posts: 18
    • View Profile
Dear all,

It seems that lately I am stretching the LMCE to its limits!
I decided to help a friend that fell in love with LinuxMCE (but has no technical knowhow whatsover...) to install a large system (>10 MD's) at his home.
(see post http://forum.linuxmce.org/index.php/topic,12986.msg93795.html#msg93795 for some of the issues I have experience so far)

During the installation of the 16th MD, the LMCE web admin screen seemed unable to register any of the changes performed on the last MD. (I had to manually create it, since it had a Realtek 8168 card...).

After a number of attempts, i discovered the following error message:
Code: [Select]
[Mon Jan 21 20:41:57 2013] [error] [client 192.168.1.83] 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://192.168.1.30/lmce-admin/index.php?section=mediaDirectors&msg=The%20devices%20were%20updated&error=
[Mon Jan 21 20:41:57 2013] [error] [client 192.168.1.83] 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://192.168.1.30/lmce-admin/index.php?section=mediaDirectors&msg=The%20devices%20were%20updated&error=

Solution is to insert the following, in /etc/php.ini
Code: [Select]
max_input_vars = 2000
(Dont forget to reload apache after this, with: apache2ctl restart)

I am not sure what the consequences of this are (memory wise), but this is the only way I managed to have a working LMCE admin interface again.

Hope its useful to someone,
Ted
 
« Last Edit: January 28, 2013, 04:42:31 pm by tsoukas »