Cannot Save Setting Policies, The Look and Management

I have no idea why my journal cannot save setting Setup : Policies, Management, and The Look…when I klik Save button, page become redirect to homepage. Error log show below :

> [23-Aug-2017 22:02:07 Asia/Jakarta] ojs2 has produced an error
>   Message: USER WARNING: Attribute '' in element 'em' not supported (for information on implementing this, see the support forums) 
>   In file: /home/appc9318/public_html/jhei/lib/pkp/lib/htmlpurifier/library/HTMLPurifier/HTMLDefinition.php
>   At line: 324
>   Stacktrace: 
>   Server info:
>    OS: Linux
>    PHP Version: 5.5.38
>    Apache Version: N/A
>    DB Driver: mysql
>    DB server version: 5.5.55-cll
> [23-Aug-2017 22:02:07 Asia/Jakarta] ojs2 has produced an error
>   Message: USER WARNING: Attribute '' in element 'strong' not supported (for information on implementing this, see the support forums) 
>   In file: /home/appc9318/public_html/jhei/lib/pkp/lib/htmlpurifier/library/HTMLPurifier/HTMLDefinition.php
>   At line: 324
>   Stacktrace: 
>   Server info:
>    OS: Linux
>    PHP Version: 5.5.38
>    Apache Version: N/A
>    DB Driver: mysql
>    DB server version: 5.5.55-cll
> [23-Aug-2017 22:02:07 Asia/Jakarta] ojs2 has produced an error
>   Message: USER WARNING: Attribute '' in element 'cite' not supported (for information on implementing this, see the support forums) 
>   In file: /home/appc9318/public_html/jhei/lib/pkp/lib/htmlpurifier/library/HTMLPurifier/HTMLDefinition.php
>   At line: 324
>   Stacktrace: 
>   Server info:
>    OS: Linux
>    PHP Version: 5.5.38
>    Apache Version: N/A
>    DB Driver: mysql
>    DB server version: 5.5.55-cll
> [23-Aug-2017 22:02:07 Asia/Jakarta] ojs2 has produced an error
>   Message: USER WARNING: Attribute '' in element 'code' not supported (for information on implementing this, see the support forums) 
>   In file: /home/appc9318/public_html/jhei/lib/pkp/lib/htmlpurifier/library/HTMLPurifier/HTMLDefinition.php
>   At line: 324
>   Stacktrace: 
>   Server info:
>    OS: Linux
>    PHP Version: 5.5.38
>    Apache Version: N/A
>    DB Driver: mysql
>    DB server version: 5.5.55-cll
> [23-Aug-2017 22:02:07 Asia/Jakarta] ojs2 has produced an error
>   Message: USER WARNING: Attribute '' in element 'ul' not supported (for information on implementing this, see the support forums) 
>   In file: /home/appc9318/public_html/jhei/lib/pkp/lib/htmlpurifier/library/HTMLPurifier/HTMLDefinition.php
>   At line: 324
>   Stacktrace: 
>   Server info:
>    OS: Linux
>    PHP Version: 5.5.38
>    Apache Version: N/A
>    DB Driver: mysql
>    DB server version: 5.5.55-cll
> [23-Aug-2017 22:02:07 Asia/Jakarta] ojs2 has produced an error
>   Message: USER WARNING: Attribute '' in element 'ol' not supported (for information on implementing this, see the support forums) 
>   In file: /home/appc9318/public_html/jhei/lib/pkp/lib/htmlpurifier/library/HTMLPurifier/HTMLDefinition.php
>   At line: 324
>   Stacktrace: 
>   Server info:
>    OS: Linux
>    PHP Version: 5.5.38
>    Apache Version: N/A
>    DB Driver: mysql
>    DB server version: 5.5.55-cll
> [23-Aug-2017 22:02:07 Asia/Jakarta] ojs2 has produced an error
>   Message: USER WARNING: Attribute '' in element 'li' not supported (for information on implementing this, see the support forums) 
>   In file: /home/appc9318/public_html/jhei/lib/pkp/lib/htmlpurifier/library/HTMLPurifier/HTMLDefinition.php
>   At line: 324
>   Stacktrace: 
>   Server info:
>    OS: Linux
>    PHP Version: 5.5.38
>    Apache Version: N/A
>    DB Driver: mysql
>    DB server version: 5.5.55-cll
> [23-Aug-2017 22:02:07 Asia/Jakarta] ojs2 has produced an error
>   Message: USER WARNING: Attribute '' in element 'dl' not supported (for information on implementing this, see the support forums) 
>   In file: /home/appc9318/public_html/jhei/lib/pkp/lib/htmlpurifier/library/HTMLPurifier/HTMLDefinition.php
>   At line: 324
>   Stacktrace: 
>   Server info:
>    OS: Linux
>    PHP Version: 5.5.38
>    Apache Version: N/A
>    DB Driver: mysql
>    DB server version: 5.5.55-cll
> [23-Aug-2017 22:02:07 Asia/Jakarta] ojs2 has produced an error
>   Message: USER WARNING: Attribute '' in element 'dt' not supported (for information on implementing this, see the support forums) 
>   In file: /home/appc9318/public_html/jhei/lib/pkp/lib/htmlpurifier/library/HTMLPurifier/HTMLDefinition.php
>   At line: 324
>   Stacktrace: 
>   Server info:
>    OS: Linux
>    PHP Version: 5.5.38
>    Apache Version: N/A
>    DB Driver: mysql
>    DB server version: 5.5.55-cll
> [23-Aug-2017 22:02:07 Asia/Jakarta] ojs2 has produced an error
>   Message: USER WARNING: Attribute '' in element 'dd' not supported (for information on implementing this, see the support forums) 
>   In file: /home/appc9318/public_html/jhei/lib/pkp/lib/htmlpurifier/library/HTMLPurifier/HTMLDefinition.php
>   At line: 324
>   Stacktrace: 
>   Server info:
>    OS: Linux
>    PHP Version: 5.5.38
>    Apache Version: N/A
>    DB Driver: mysql
>    DB server version: 5.5.55-cll
> [23-Aug-2017 22:02:07 Asia/Jakarta] ojs2 has produced an error
>   Message: USER WARNING: Attribute '' in element 'b' not supported (for information on implementing this, see the support forums) 
>   In file: /home/appc9318/public_html/jhei/lib/pkp/lib/htmlpurifier/library/HTMLPurifier/HTMLDefinition.php
>   At line: 324
>   Stacktrace: 
>   Server info:
>    OS: Linux
>    PHP Version: 5.5.38
>    Apache Version: N/A
>    DB Driver: mysql
>    DB server version: 5.5.55-cll
> [23-Aug-2017 22:02:07 Asia/Jakarta] ojs2 has produced an error
>   Message: USER WARNING: Attribute '' in element 'i' not supported (for information on implementing this, see the support forums) 
>   In file: /home/appc9318/public_html/jhei/lib/pkp/lib/htmlpurifier/library/HTMLPurifier/HTMLDefinition.php
>   At line: 324
>   Stacktrace: 
>   Server info:
>    OS: Linux
>    PHP Version: 5.5.38
>    Apache Version: N/A
>    DB Driver: mysql
>    DB server version: 5.5.55-cll
> [23-Aug-2017 22:02:07 Asia/Jakarta] ojs2 has produced an error
>   Message: USER WARNING: Attribute '' in element 'u' not supported (for information on implementing this, see the support forums) 
>   In file: /home/appc9318/public_html/jhei/lib/pkp/lib/htmlpurifier/library/HTMLPurifier/HTMLDefinition.php
>   At line: 324
>   Stacktrace: 
>   Server info:
>    OS: Linux
>    PHP Version: 5.5.38
>    Apache Version: N/A
>    DB Driver: mysql
>    DB server version: 5.5.55-cll
> [23-Aug-2017 22:02:07 Asia/Jakarta] ojs2 has produced an error
>   Message: USER WARNING: Attribute '' in element 'sup' not supported (for information on implementing this, see the support forums) 
>   In file: /home/appc9318/public_html/jhei/lib/pkp/lib/htmlpurifier/library/HTMLPurifier/HTMLDefinition.php
>   At line: 324
>   Stacktrace: 
>   Server info:
>    OS: Linux
>    PHP Version: 5.5.38
>    Apache Version: N/A
>    DB Driver: mysql
>    DB server version: 5.5.55-cll
> [23-Aug-2017 22:02:07 Asia/Jakarta] ojs2 has produced an error
>   Message: USER WARNING: Attribute '' in element 'sub' not supported (for information on implementing this, see the support forums) 
>   In file: /home/appc9318/public_html/jhei/lib/pkp/lib/htmlpurifier/library/HTMLPurifier/HTMLDefinition.php
>   At line: 324
>   Stacktrace: 
>   Server info:
>    OS: Linux
>    PHP Version: 5.5.38
>    Apache Version: N/A
>    DB Driver: mysql
>    DB server version: 5.5.55-cll
> [23-Aug-2017 22:02:07 Asia/Jakarta] ojs2 has produced an error
>   Message: USER WARNING: Attribute '' in element 'br' not supported (for information on implementing this, see the support forums) 
>   In file: /home/appc9318/public_html/jhei/lib/pkp/lib/htmlpurifier/library/HTMLPurifier/HTMLDefinition.php
>   At line: 324
>   Stacktrace: 
>   Server info:
>    OS: Linux
>    PHP Version: 5.5.38
>    Apache Version: N/A
>    DB Driver: mysql
>    DB server version: 5.5.55-cll
> [23-Aug-2017 22:02:07 Asia/Jakarta] ojs2 has produced an error
>   Message: USER WARNING: Attribute '' in element 'p' not supported (for information on implementing this, see the support forums) 
>   In file: /home/appc9318/public_html/jhei/lib/pkp/lib/htmlpurifier/library/HTMLPurifier/HTMLDefinition.php
>   At line: 324
>   Stacktrace: 
>   Server info:
>    OS: Linux
>    PHP Version: 5.5.38
>    Apache Version: N/A
>    DB Driver: mysql
>    DB server version: 5.5.55-cll
> [23-Aug-2017 22:07:24 Asia/Jakarta] ojs2 has produced an error
>   Message: WARNING: Cannot modify header information - headers already sent by (output started at /home/appc9318/public_html/jhei/lib/pkp/lib/adodb/adodb.inc.php:377)
>   In file: /home/appc9318/public_html/jhei/lib/pkp/classes/template/PKPTemplateManager.inc.php
>   At line: 340
>   Stacktrace: 
>   Server info:
>    OS: Linux
>    PHP Version: 5.5.38
>    Apache Version: N/A
>    DB Driver: mysql
>    DB server version: 5.5.55-cll
> [23-Aug-2017 22:07:24 Asia/Jakarta] ojs2 has produced an error
>   Message: WARNING: Cannot modify header information - headers already sent by (output started at /home/appc9318/public_html/jhei/lib/pkp/lib/adodb/adodb.inc.php:377)
>   In file: /home/appc9318/public_html/jhei/lib/pkp/classes/template/PKPTemplateManager.inc.php
>   At line: 343
>   Stacktrace: 
>   Server info:
>    OS: Linux
>    PHP Version: 5.5.38
>    Apache Version: N/A
>    DB Driver: mysql
>    DB server version: 5.5.55-cll
> [23-Aug-2017 22:39:32 Asia/Jakarta] PHP Fatal error:  SUHOSIN - Use of preg_replace() with /e modifier is forbidden by configuration in /home/appc9318/public_html/jhei/lib/pkp/lib/smarty/Smarty_Compiler.class.php(270) : regexp code on line 2
> [23-Aug-2017 22:39:35 Asia/Jakarta] PHP Fatal error:  SUHOSIN - Use of preg_replace() with /e modifier is forbidden by configuration in /home/appc9318/public_html/jhei/lib/pkp/lib/smarty/Smarty_Compiler.class.php(270) : regexp code on line 2
> [23-Aug-2017 22:39:40 Asia/Jakarta] PHP Fatal error:  SUHOSIN - Use of preg_replace() with /e modifier is forbidden by configuration in /home/appc9318/public_html/jhei/lib/pkp/lib/smarty/Smarty_Compiler.class.php(270) : regexp code on line 2
> [23-Aug-2017 22:39:44 Asia/Jakarta] PHP Fatal error:  SUHOSIN - Use of preg_replace() with /e modifier is forbidden by configuration in /home/appc9318/public_html/jhei/lib/pkp/lib/smarty/Smarty_Compiler.class.php(270) : regexp code on line 2
> [23-Aug-2017 22:39:44 Asia/Jakarta] PHP Fatal error:  SUHOSIN - Use of preg_replace() with /e modifier is forbidden by configuration in /home/appc9318/public_html/jhei/lib/pkp/lib/smarty/Smarty_Compiler.class.php(270) : regexp code on line 2
> [23-Aug-2017 22:39:44 Asia/Jakarta] PHP Fatal error:  SUHOSIN - Use of preg_replace() with /e modifier is forbidden by configuration in /home/appc9318/public_html/jhei/lib/pkp/lib/smarty/Smarty_Compiler.class.php(270) : regexp code on line 2
> [23-Aug-2017 22:39:45 Asia/Jakarta] PHP Fatal error:  SUHOSIN - Use of preg_replace() with /e modifier is forbidden by configuration in /home/appc9318/public_html/jhei/lib/pkp/lib/smarty/Smarty_Compiler.class.php(270) : regexp code on line 2
> [23-Aug-2017 22:39:46 Asia/Jakarta] PHP Fatal error:  SUHOSIN - Use of preg_replace() with /e modifier is forbidden by configuration in /home/appc9318/public_html/jhei/lib/pkp/lib/smarty/Smarty_Compiler.class.php(270) : regexp code on line 2
> [23-Aug-2017 22:39:47 Asia/Jakarta] PHP Fatal error:  SUHOSIN - Use of preg_replace() with /e modifier is forbidden by configuration in /home/appc9318/public_html/jhei/lib/pkp/lib/smarty/Smarty_Compiler.class.php(270) : regexp code on line 2
> [23-Aug-2017 22:39:47 Asia/Jakarta] PHP Fatal error:  SUHOSIN - Use of preg_replace() with /e modifier is forbidden by configuration in /home/appc9318/public_html/jhei/lib/pkp/lib/smarty/Smarty_Compiler.class.php(270) : regexp code on line 2
> [23-Aug-2017 22:39:52 Asia/Jakarta] PHP Fatal error:  SUHOSIN - Use of preg_replace() with /e modifier is forbidden by configuration in /home/appc9318/public_html/jhei/lib/pkp/lib/smarty/Smarty_Compiler.class.php(270) : regexp code on line 2
> [23-Aug-2017 22:39:53 Asia/Jakarta] PHP Fatal error:  SUHOSIN - Use of preg_replace() with /e modifier is forbidden by configuration in /home/appc9318/public_html/jhei/lib/pkp/lib/smarty/Smarty_Compiler.class.php(270) : regexp code on line 2
> [23-Aug-2017 22:39:53 Asia/Jakarta] PHP Fatal error:  SUHOSIN - Use of preg_replace() with /e modifier is forbidden by configuration in /home/appc9318/public_html/jhei/lib/pkp/lib/smarty/Smarty_Compiler.class.php(270) : regexp code on line 2
> [23-Aug-2017 22:39:53 Asia/Jakarta] PHP Fatal error:  SUHOSIN - Use of preg_replace() with /e modifier is forbidden by configuration in /home/appc9318/public_html/jhei/lib/pkp/lib/smarty/Smarty_Compiler.class.php(270) : regexp code on line 2
> [23-Aug-2017 22:39:53 Asia/Jakarta] PHP Fatal error:  SUHOSIN - Use of preg_replace() with /e modifier is forbidden by configuration in /home/appc9318/public_html/jhei/lib/pkp/lib/smarty/Smarty_Compiler.class.php(270) : regexp code on line 2
> [23-Aug-2017 22:39:57 Asia/Jakarta] PHP Fatal error:  SUHOSIN - Use of preg_replace() with /e modifier is forbidden by configuration in /home/appc9318/public_html/jhei/lib/pkp/lib/smarty/Smarty_Compiler.class.php(270) : regexp code on line 2

Anybody have the same problem with me?

Server Information :
PHP 5.5
OJS 2.4.8.2
Centos Server

Hi @andrewdion04,

The relevant issue is probably this log entry:

[23-Aug-2017 22:39:57 Asia/Jakarta] PHP Fatal error:  SUHOSIN - Use of preg_replace() with /e modifier is forbidden by configuration in /home/appc9318/public_html/jhei/lib/pkp/lib/smarty/Smarty_Compiler.class.php(270) : regexp code on line 2

This means a necessary part of PHP (needed by Smarty, which is a third-party library that OJS relies upon) has been disabled in your server config. You’ll need to alter your server config to permit that function.

I would also suggest checking your config.inc.php to ensure that the format of the allowed_html setting is correct (try comparing it to config.TEMPLATE.inc.php). That would account for some of the warnings, though not the error.

Regards,
Alec Smecher
Public Knowledge Project Team

Thank you for information, I’ll try contact web hosting to solve the issue.