By GrooveChimp on
I get these warnings in the first page of the instalation..
Warning: ini_set() has been disabled for security reasons in drupal_environment_initialize() (line 516 of /www/99k.org/g/r/o/groovechimp/htdocs/includes/bootstrap.inc).
Warning: ini_set() has been disabled for security reasons in drupal_environment_initialize() (line 519 of /www/99k.org/g/r/o/groovechimp/htdocs/includes/bootstrap.inc).
Warning: ini_set() has been disabled for security reasons in drupal_environment_initialize() (line 520 of /www/99k.org/g/r/o/groovechimp/htdocs/includes/bootstrap.inc).
Warning: ini_set() has been disabled for security reasons in drupal_environment_initialize() (line 521 of /www/99k.org/g/r/o/groovechimp/htdocs/includes/bootstrap.inc).
Warning: ini_set() has been disabled for security reasons in drupal_environment_initialize() (line 523 of /www/99k.org/g/r/o/groovechimp/htdocs/includes/bootstrap.inc).
Warning: ini_set() has been disabled for security reasons in drupal_environment_initialize() (line 525 of /www/99k.org/g/r/o/groovechimp/htdocs/includes/bootstrap.inc).
Warning: ini_set() has been disabled for security reasons in drupal_settings_initialize() (line 614 of /www/99k.org/g/r/o/groovechimp/htdocs/includes/bootstrap.inc).I can still choose the type of installation, the language, then returns an error:
http://groovechimp.99k.org/install.php?profile=minimal&locale=en Not available.
Error 324 (net::ERR_EMPTY_RESPONSE): Unknown error.
Help please?
EDIT: The hosting site is zymic and drupal 7 doesn't work there, only 6.2.
Comments
ini_set()
the ini_set() function is disabled in your server...you must enable it in php.ini file or contact your hosting support.
ini_set() error while installing drupal
hi, omidehghan.
Thankyou for your post.
It worked for me and there is no error now.Hurrae Hurrae !!
Thank you for your guidance..
CSF Firewall recommends
CSF Firewall recommends disabling ini_set() for security reasons.
"You should consider adding ini_set to the disable_functions in the PHP configuration as this setting allows PHP scripts to override global security and performance settings for PHP scripts. Adding ini_set can break PHP scripts and commenting out any use of ini_set in such scripts is advised."
Can this be commented out in drupal or it a must have?
Just wondering.
I would like to know the
I would like to know the same?
I just added to to my php.ini to disable but then drupal doesn't work anymore.. so does ini_set need to be enabled?
I have this issue on a production site...
And while I'm waiting for the hosting company to change the value, I've put the following into the sites CSS file:
body.not-logged-in div.error{display:none;}
That way, the error (which doesn't seem to be affecting the site, other than displaying the errors to the public) is hidden to visitors, but still visible to anyone logged in.
A quick and dirty hack, but better than my clients getting annoyed seeing the error.
Could we have a problem on
Could we have a problem on Drupal running to coment init_set in bootstrap.inc file?
Thanks ! this post was super effective.
I was breaking my head over this exact problem for 2 days now. And i have read it myself in Zymic forums and forgot about it.
Also I was getting the same
Also I was getting the same message in Drupal installation, just remove from the 'disabled_function' in the php.ini file, or if you are using a WHM /cPanel: http://www.youtube.com/watch?v=am8Hr8Zp8KU
Good Luck!
hi can i enable ini_set in
hi
can i enable ini_set in .htaccess?
if i can do this, how?
If you Have WHM/cPanel:
If you Have WHM/cPanel:
WHM > Service Configuration > PHP Configuration Editor > Safe Mode disable_functions:
show_source, system, shell_exec, passthru, exec, phpinfo, popen, proc_open, allow_url_fopen, ini_setto
show_source, system, shell_exec, passthru, exec, phpinfo, popen, proc_open, allow_url_fopenThis removes the "ini_set" if you had it already entered there. The other settings listed were some I'd implemented based on other recommendations for security, might need some tweaking.
Work
This solution worked for me thank you.
change php version
I had this error too, my hosting provider advised me to change from php (native 5.4) to php 5.4 in my hosting cPanel, this I did, and after a clear caches from the admin menu in Drupal, it worked perfectly