• Welcome to the Chevereto user community!

    Here users from all over the world gather around to learn the latest about Chevereto and contribute with ideas to improve the software.

    Please keep in mind:

    • 😌 This community is user driven. Be polite with other users.
    • 👉 Is required to purchase a Chevereto license to participate in this community (doesn't apply to Pre-sales).
    • 💸 Purchase a Pro Subscription to get access to active software support and faster ticket response times.

PHP 5.4 support?

Status
Not open for further replies.

emm1

Chevereto Member
Hello, I switched to PHP 5.4 from 5.3.25 and the site doesnt load after that. This is the error I noticed in logs.


[Wed Jun 05 11:16:44 2013] [error] Stack trace:
[Wed Jun 05 11:16:44 2013] [error] #0 /home/x/public_html/includes/classes/class.db.php(67): DateTime->__construct()
[Wed Jun 05 11:16:44 2013] [error] #1 /home/x/public_html/includes/functions.php(1174): dB->__construct()
[Wed Jun 05 11:16:44 2013] [error] #2 /home/x/public_html/includes/functions.php(871): check_config()
[Wed Jun 05 11:16:44 2013] [error] #3 /home/x/public_html/includes/functions.php(21): check_install()
[Wed Jun 05 11:16:44 2013] [error] #4 /home/x/public_html/includes/chevereto.php(153): require_once('/home/x/publ...')
[Wed Jun 05 11:16:44 2013] [error] #5 /home/x/public_html/index.php(21): include_once('/home/x/publ...')
[Wed Jun 05 11:16:44 2013] [error] #6 {main}
[Wed Jun 05 11:16:44 2013] [error] thrown in /home/x/public_html/includes/classes/class.db.php on line 67
[Wed Jun 05 11:16:44 2013] [error] File does not exist: /home/x/public_html/favicon.ico
[Wed Jun 05 11:16:44 2013] [error] PHP Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): 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 the timezone 'UTC' for now, but please set date.timezone to select your timezone.' in /home/x/public_html/includes/classes/class.db.php:67
[Wed Jun 05 11:16:44 2013] [error] Stack trace:
[Wed Jun 05 11:16:44 2013] [error] #0 /home/x/public_html/includes/classes/class.db.php(67): DateTime->__construct()
[Wed Jun 05 11:16:44 2013] [error] #1 /home/x/public_html/includes/functions.php(1174): dB->__construct()
[Wed Jun 05 11:16:44 2013] [error] #2 /home/x/public_html/includes/functions.php(871): check_config()
[Wed Jun 05 11:16:44 2013] [error] #3 /home/x/public_html/includes/functions.php(21): check_install()
[Wed Jun 05 11:16:44 2013] [error] #4 /home/x/public_html/includes/chevereto.php(153): require_once('/home/x/publ...')
[Wed Jun 05 11:16:44 2013] [error] #5 /home/x/public_html/index.php(21): include_once('/home/x/publ...')
[Wed Jun 05 11:16:44 2013] [error] #6 {main}
[Wed Jun 05 11:16:44 2013] [error] thrown in /home/x/public_html/includes/classes/class.db.php on line 67
 
Try adding:
/includes/config.php
Code:
<?php
date_default_timezone_set('America/New_York');
/* --------------------------------------------------------------------

or edit: php.ini
Code:
date.timezone = America/New_York
 
Like Cory said, that is an issue with the timezones.
 
Status
Not open for further replies.
Back
Top