Notice

YouTube.com/BESTTravelers - Visit and SUBSCRIBE to our travel related YouTube Channel named "BEST Travelers"

Friday, August 12, 2011

Solution of CakePHP Notices: Please change the value of 'Security.salt' and 'Security.cipherSeed'

I have seen following notices during using CakePHP,
  • Notice (1024): Please change the value of 'Security.salt' in app/Config/core.php to a salt value specific to your application [CORE\Cake\Utility\Debugger.php, line 657]
  • Notice (1024): Please change the value of 'Security.cipherSeed' in app/Config/core.php to a numeric (digits only) seed value specific to your application [CORE\Cake\Utility\Debugger.php, line 661]
This error is generating, because your application doesn't have the same security seed out of million of other installations. So this is a serious security problem. So follow the following steps to solve the issue,
  1. Open this file, 'YourProjectName/app/config/core.php'
  2. Find this two words, 'Security.salt' and 'Security.cipherSeed'
  3. Replace this two words with some random characters.
  4. Save core.php

1 comment: