Difference between revisions of "Unable to save JomSocial Configuration"

(Possible Causes)
(Possible Causes)
 
(One intermediate revision by the same user not shown)
Line 8: Line 8:
 
'''Suhosin Module'''<br/>
 
'''Suhosin Module'''<br/>
  
Suhosin is a module installed in your webserver to strengthen its security against common attacks. A misconfiguration / severely strict security restriction in Suhosin could easily prevent PHP scripts from saving information into the database. You can verify the existence of Suhosin by going to:
+
Suhosin is a module installed in your webserver to strengthen its security against common attacks. A misconfiguration or severely strict security restriction in Suhosin could easily prevent PHP scripts from saving information into the database. You can verify the existence of Suhosin by going to:
  
 
* Joomla 1.5: Administrator > Help > System Information > PHP Information
 
* Joomla 1.5: Administrator > Help > System Information > PHP Information
Line 15: Line 15:
 
and locate:
 
and locate:
  
* This server is protected with the Suhosin Patch 0.9.6.2
+
* "This server is protected with the Suhosin Patch 0.9.6.2"
  
To solve this issue, please modify the PHP.ini, to increase the value of these two settings:
+
To solve this issue, please modify the PHP.ini, to increase the value of these two (2) settings:
  
 
<syntaxhighlight lang="php">
 
<syntaxhighlight lang="php">

Latest revision as of 03:49, 9 March 2013

Symptoms

  1. Upon saving the JomSocial Configuration, you are redirected to the Joomla Administrator Control Panel.
  2. Any changes done in JomSocial Configuration are not saved.

Possible Causes

Suhosin Module

Suhosin is a module installed in your webserver to strengthen its security against common attacks. A misconfiguration or severely strict security restriction in Suhosin could easily prevent PHP scripts from saving information into the database. You can verify the existence of Suhosin by going to:

  • Joomla 1.5: Administrator > Help > System Information > PHP Information
  • Joomla 1.7: Administrator > Site > System Information > PHP Information

and locate:

  • "This server is protected with the Suhosin Patch 0.9.6.2"

To solve this issue, please modify the PHP.ini, to increase the value of these two (2) settings:

suhosin.post.max_vars = 1000
suhosin.request.max_vars = 1000