• Welcome to the Chevereto User Community!

    Here, users from all over the world come together to learn, share, and collaborate on everything related to Chevereto. It's a place to exchange ideas, ask questions, and help improve the software.

    Please keep in mind:

    • This community is user-driven. Always be polite and respectful to others.
    • Support development by purchasing a Chevereto license, which also gives you priority support.
    • Go further by joining the Community Subscription for even faster response times and to help sustain this space

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
 
Status
Not open for further replies.
Back
Top