搭建CakePHP时出现这个错误:
Release Notes for CakePHP 1.3.5.
Read the changelog
Notice (1024): Please change the value of 'Security.salt' in app/config/core.php to a salt value specific to your application [CORE\cake\libs\debugger.php, line 684]
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\libs\debugger.php, line 688]
Your tmp directory is writable.
The FileEngine is being used for caching. To change the config edit APP/config/core.php
Your database configuration file is present.
Cake is able to connect to the database.
解决方案如下:
You just need to do as it says -
- edit yourInstallation/app/config/core.php
-
search for
Security.salt
and change some random characters (this is so your application doesn't have the same security seed as a billion other installations, which would be a serious security loophole. -
Do the same with
Security.cipherSeed
but use only numbers -
save
core.php
- job done
http://stackoverflow.com/questions/4163711/please-change-the-value-of-security-salt-in-app-config-core-php-to-a-salt-valu