Jump to content

Installing ini_set error only on admin!


Recommended Posts

I just installed Prestashop and I receive the famous ini_set error:

 

Warning: ini_set() has been disabled for security reasons in /public_html/config/config.inc.php on line 41

 

BUT I add php.ini to my site root allowing the ini_set, the frontend works but now the problem is the admin:

 

Warning: ini_set() has been disabled for security reasons in /public_html/config/config.inc.php on line 41

 

Warning: ini_set() has been disabled for security reasons in /public_html/config/config.inc.php on line 42

 

Warning: ini_set() has been disabled for security reasons in /public_html/config/config.inc.php on line 43

 

Warning: Cannot modify header information - headers already sent by (output started at /public_html/config/config.inc.php:41) in /public_html/admin/header.inc.php on line 31

 

Warning: Cannot modify header information - headers already sent by (output started at /public_html/config/config.inc.php:41) in /public_html/admin/header.inc.php on line 32

 

Warning: Cannot modify header information - headers already sent by (output started at /public_html/config/config.inc.php:41) in /public_html/admin/header.inc.php on line 33

 

Warning: Cannot modify header information - headers already sent by (output started at /public_html/config/config.inc.php:41) in /public_html/admin/header.inc.php on line 34

 

Warning: Cannot modify header information - headers already sent by (output started at /public_html/config/config.inc.php:41) in /public_html/classes/Cookie.php on line 302

 

Warning: Cannot modify header information - headers already sent by (output started at /public_html/config/config.inc.php:41) in /public_html/classes/Tools.php on line 107

 

I try to comment the line in the config.inc.php but nothing happens, any ideas?

Link to comment
Share on other sites

  • 4 weeks later...
  • 3 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...