• 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

Blank Page, php error DateTime

Status
Not open for further replies.

Hubertus

Chevereto Member
After
[UPGRADE] php5-cgi:i386 5.4.15-1 -> 5.5.3+dfsg-1
[UPGRADE] php5-common:i386 5.4.15-1 -> 5.5.3+dfsg-1
[UPGRADE] php5-curl:i386 5.4.15-1 -> 5.5.3+dfsg-1
[UPGRADE] php5-fpm:i386 5.4.15-1 -> 5.5.3+dfsg-1
[UPGRADE] php5-gd:i386 5.4.15-1 -> 5.5.3+dfsg-1
[UPGRADE] php5-mcrypt:i386 5.4.15-1 -> 5.5.3+dfsg-1
[UPGRADE] php5-mysql:i386 5.4.15-1 -> 5.5.3+dfsg-1
Im geting blank pages for all urls of chevereto. Other php files works fine in this dir.


Code:
2013/09/05 09:25:33 [error] 18205#0: *1392 FastCGI sent in stderr: "PHP message: 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 /www/includes/classes/class.db.php:67
Stack trace:
#0 /www/includes/classes/class.db.php(67): DateTime->__construct()
#1 /www/includes/functions.php(1172): dB->__construct()
#2 /www/includes/functions.php(871): check_config()
#3 /www/includes/functions.php(21): check_install()
#4 /www/includes/chevereto.php(150): require_once('/www/in...')
#5 /www/index.php(21): include_once('/www/in...')
#6 {main}
  thrown in /www/includes/classes/class.db.php on line 67" while reading response header from upstream, client: 173.245.51.62, server: mypage.www, request: "GET /test HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "mypage.www"


Fix: add time zone to php.ini, but you may need to fix in chevy?
 
Status
Not open for further replies.
Back
Top