Scheduler does not save entries past Wednesday 11am

February 21, 2012 • Administrator       
Synopsis

After upgrading CensorNet Professional, the Policy Schedule editor does not save any entries past Wednesday 11am

Article

Unbeknown to our development team, during a recent PHP update, the maximum size of a HTTP POST request has been reduced and therefore the schedule entries are not being sent when you click "Update Schedule". To fix this, please follow the steps here.

 

Step 1 - Log in as a root

Use a program such as Putty, the virtual machine console or a keyboard and monitor directly connected to the CensorNet server to log in as the root user with the password you set during install.

 

Step 2 - Edit the PHP.ini file

Type the following command:

nano /etc/php5/apache2/php.ini

Scroll to the bottom of this file, and then above the line that reads:

include_path = ".:/usr/share/pear:/usr/share/php5:/usr/share/php:/usr/share/php/adodb"

Add the following new line:

max_input_vars = 5000

Then hold down Ctrl and then X then press Y and Enter. This will save and exit the editor.

 

Step 3 - Restart the web server

The final step is to restart the web server so that the change takes effect. To do this, type:

/etc/init.d/apache2 stop

/etc/init.d/apache2 start

 

Now the fix has been applied.

Related articles


Last modified on Tue, February 21, 2012 « Back