cake PHP fatal errors when transfering to centos production server


Warning (2): strtotime() [function.strtotime]: It is not safe to rely on the system's timezone settings

there was also fatal error could not write

2015-01-16 14:53:25gstlouis
  • You need to make sure the app/tmp folder is writtable
    • ex. sudo chmod -R 777 cakephp/app/tmp
  • go into the core file of cake app/Config/core.php
    • uncomment the following lines:
      • Configure::write('Config.timezone', 'America/New_York');
      • date_default_timezone_set('UTC');


2015-01-16 14:55:43