cdub
cdub

Reputation: 25751

CakePHP Warnings

I have these warnings appearing on my page when I'm in debug. Otherwise my page is just white.

Warning (512): Cache not configured properly. Please check Cache::config(); in APP/config/core.php [CORE/cake/libs/configure.php, line 645]

Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are required to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Los_Angeles' for 'PST/-8.0/no DST' instead in /var/www/vhosts/reviewsie.com/httpdocs/cake/libs/cake_log.php on line 93

How do I fix this?

Upvotes: 0

Views: 271

Answers (1)

dhofstet
dhofstet

Reputation: 9964

Uncomment the line with date_default_timezone_set in app/config/core.php and the warnings should go away.

Upvotes: 1

Related Questions