Tuesday, 15 March 2011

How do I turn off deprecated warnings of the cakephp console? -


I am using kPPHP 1.3.16 with PHP 5.4.6. The new PHP version was fixed by updating version 1.3.16, which caused some exclusionary warnings with older 1.3 kPHP applications. Unfortunately, I still get refracted warnings while using console , which is quite upset, and I can not find a place to shut them down. Whatever I have tried:

  • I checked error reporting in php.ini files in both /etc/php5/cli/php.ini (used by command-line PHP script) Should go) and /etc/php5/apache2/php.ini: In both cases it says that error_reporting = E_ALL & amp; ~ E_DEPRECATED & amp; ~ E_STRICT .
  • I have modified the error_reporting ($ reporting) stories in /cake/libs/configure.php to say error_reporting (E_ALL & amp;). ; ~ E_DEPRECATED & amp; ~ E_STRICT) .
  • I did a recursive search for 'error_reporting' in the cake directory whenever it was shown, the excluded warnings were closed by default. Still, I'm taking them on the console.

    Has anyone else gone into this problem?

    debug in app / config / core.fp Change Code> Mode to 0:

      Configure :: Write ('debug', 0);    

    No comments:

    Post a Comment