Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By journaltimes on
My host will not allow some actions to be taken. Is there any way of turning 'OFF' the warnings that appear when permissions are not allowed?
(EX: Warning: chmod() has been disabled for security reasons in /mnt/www/isi_chicago1-www1/www/j/o/sample.com/html/drupal/includes/file.inc on line 381.)
Comments
goto administer -> settings
goto
administer -> settings -> error handling
set: Error reporting: to write errors to the log
Found it! thanks!
Happy New Year!
php_value error_reporting
php_value error_reporting 0
php_value display_errors 0
in your .htaccess file should do it. This assumes that your PHP is running as a module - if it's not (ie., it's a CGI under FastCGI or something similar), you'd have to use the equivalent ini_set()s in settings.php.
http://www.disobey.com/
http://www.gamegrene.com/
Developer of Drupal's GameAPI
http://www.disobey.com/
My host does not allow access to .htaccess
Hmmmm.
Your host is weird. You'll
Your host is weird. You'll have to make them ini_sets in the settings.php then.
http://www.disobey.com/
http://www.gamegrene.com/
Developer of Drupal's GameAPI
http://www.disobey.com/
its really good information
its really good information
yes add this code in
php_value error_reporting 0
php_value display_errors 0
# PHP 5, Apache 1 and 2.
php_value magic_quotes_gpc 0
php_value register_globals 0
php_value session.auto_start 0
php_value mbstring.http_input pass
php_value mbstring.http_output pass
php_value mbstring.encoding_translation 0
php_value error_reporting 0
php_value display_errors 0
thanks for given information
Its realy help full to us