Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • eliminate php5 Strict standards errors

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 352
    Comment on it

    Hello readers! If you have recently upgraded you PHP from PHP 5.3 to PHP 5.4 . Then it might be possible that your script is displaying a lot of error messages. If you want to hide these error you just need to change in your cakephp setup

    There is a change in php5 and more is in E_STRICT is a component of E_ALL now, So in your /cake/bootstrap.php you have to replace the E_STRICT from your error reporting:

    error_reporting(E_ALL ^ E_STRICT);
    

    or

    error_reporting(E_ALL & ~E_STRICT & ~E_DEPRECATED);
    

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: