• 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

Date problem

Status
Not open for further replies.

Thomas Bereczky

Chevereto Member
Hello!

I just moved my Chevereto site to a new server with Virtualmin + Centos 6.3
and I found the following issue in the logs:
[Fri Jan 04 12:13:33 2013] [error] [client 89.132.92.153] 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 'Europe/Berlin' for 'CET/1.0/no DST' instead' in /home/imagepush/public_html/includes/classes/class.db.php:67\nStack trace:\n#0 /home/imagepush/public_html/includes/classes/class.db.php(67): DateTime->__construct()\n#1 /home/imagepush/public_html/includes/functions.php(1172): dB->__construct()\n#2 /home/imagepush/public_html/includes/functions.php(871): check_config()\n#3 /home/imagepush/public_html/includes/functions.php(21): check_install()\n#4 /home/imagepush/public_html/includes/chevereto.php(150): require_once('/home/imagepush...')\n#5 /home/imagepush/public_html/index.php(21): include_once('/home/imagepush...')\n#6 {main}\n thrown in /home/imagepush/public_html/includes/classes/class.db.php on line 67

The page is dieing out with HTTP 500 Error
Can you please help me?
 
Hello!

I just moved my Chevereto site to a new server with Virtualmin + Centos 6.3
and I found the following issue in the logs:
[Fri Jan 04 12:13:33 2013] [error] [client 89.132.92.153] 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 'Europe/Berlin' for 'CET/1.0/no DST' instead' in /home/imagepush/public_html/includes/classes/class.db.php:67\nStack trace:\n#0 /home/imagepush/public_html/includes/classes/class.db.php(67): DateTime->__construct()\n#1 /home/imagepush/public_html/includes/functions.php(1172): dB->__construct()\n#2 /home/imagepush/public_html/includes/functions.php(871): check_config()\n#3 /home/imagepush/public_html/includes/functions.php(21): check_install()\n#4 /home/imagepush/public_html/includes/chevereto.php(150): require_once('/home/imagepush...')\n#5 /home/imagepush/public_html/index.php(21): include_once('/home/imagepush...')\n#6 {main}\n thrown in /home/imagepush/public_html/includes/classes/class.db.php on line 67

The page is dieing out with HTTP 500 Error
Can you please help me?

Here is your solution : http://chevereto.com/community/thre...-rely-on-the-system’s-timezone-settings.2522/
 
Status
Not open for further replies.
Back
Top