ďťż

[CakePHP] Wyłączenie wyświetlania błędów

       

Podstrony


telcocafe

Witam!
Chciałbym wyłączyć raportowanie błędów na stronach w cakePHP, w php.ini mam ustawienie error_reporting= E_ERROR oraz display_errors = On a mimo to dostaję całą litanię błędów (właściwie to ostrzeżeń i porad) na stronach cakePHP.


Deprecated: Assigning the return value of new by reference is deprecated in C:\server\htdocs\cake\cake\libs\debugger.php on line 99 Deprecated: Assigning the return value of new by reference is deprecated in C:\server\htdocs\cake\cake\libs\debugger.php on line 108 Deprecated: Assigning the return value of new by reference is deprecated in C:\server\htdocs\cake\cake\libs\file.php on line 96 Deprecated: Assigning the return value of new by reference is deprecated in C:\server\htdocs\cake\cake\libs\cache\file.php on line 89 Warning: strtotime() [http://php.net/function.strtotime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Paris' for '2.0/DST' instead in C:\server\htdocs\cake\cake\libs\cache.php on line 429 Warning: strtotime() [http://php.net/function.strtotime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Paris' for '2.0/DST' instead in C:\server\htdocs\cake\cake\libs\cache.php on line 429 Warning: strtotime() [http://php.net/function.strtotime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Paris' for '2.0/DST' instead in C:\server\htdocs\cake\cake\libs\cache.php on line 429

Warning (2): strtotime() [http://php.net/function.strtotime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Paris' for '2.0/DST' instead [CORE\cake\libs\cache.php, line 429]

Warning: date() [http://php.net/function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Paris' for '2.0/DST' instead in C:\server\htdocs\cake\cake\libs\cake_log.php on line 94 Deprecated: Assigning the return value of new by reference is deprecated in C:\server\htdocs\cake\cake\dispatcher.php on line 453 Deprecated: Assigning the return value of new by reference is deprecated in C:\server\htdocs\cake\cake\dispatcher.php on line 677 Deprecated: Assigning the return value of new by reference is deprecated in C:\server\htdocs\cake\cake\libs\router.php on line 173 Deprecated: Assigning the return value of new by reference is deprecated in C:\server\htdocs\cake\cake\libs\controller\controller.php on line 338 Deprecated: Assigning the return value of new by reference is deprecated in C:\server\htdocs\cake\cake\libs\controller\controller.php on line 775 Deprecated: Assigning the return value of new by reference is deprecated in C:\server\htdocs\cake\cake\libs\controller\component.php on line 237 Deprecated: Assigning the return value of new by reference is deprecated in C:\server\htdocs\cake\cake\libs\controller\component.php on line 239 Deprecated: Assigning the return value of new by reference is deprecated in C:\server\htdocs\cake\cake\libs\view\view.php on line 744 Deprecated: Assigning the return value of new by reference is deprecated in C:\server\htdocs\cake\cake\libs\class_registry.php on line 68 Deprecated: Assigning the return value of new by reference is deprecated in C:\server\htdocs\cake\cake\libs\class_registry.php on line 140 Deprecated: Assigning the return value of new by reference is deprecated in C:\server\htdocs\cake\cake\libs\class_registry.php on line 148 Deprecated: Assigning the return value of new by reference is deprecated in C:\server\htdocs\cake\cake\libs\security.php on line 53




Które masz wersje CakePHP i samego PHP?

app/config/core.php

ustawić
Configure::write('debug', 0);

  • zanotowane.pl
  • doc.pisz.pl
  • pdf.pisz.pl
  • nvm.keep.pl

  • Sitedesign by AltusUmbrae.