• 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.
    • We recommend purchasing a Chevereto license to participate in this community.
    • Purchase a Community Subscription to get even faster ticket response times.
  • Chevereto Support CLST

    Support response

    Support checklist

    • Got a Something went wrong message? Read this guide and provide the actual error. Do not skip this.
    • Confirm that the server meets the System Requirements
    • Check for any available Hotfix - your issue could be already reported/fixed
    • Read documentation - It will be required to Debug and understand Errors for a faster support response

Awaiting feedback Can't create admin user (Timezone Settings once again)

dotch

Chevereto Member
Hi,

I'm trying to update from 2.5.9 to 3.2.1 but run into this php timezone setting issue once again. I know there's a lot of info on this subject on this board, but this time I can't fix it. I'm on a clean CentOS 6.5 (Final) server; only updatet the default php version to 5.4.27-1.el6.remi (had to do this to install Chevereto 3.X).


My php.ini file says:
date.timezone = "Europe/Berlin"
in 2.5.9 I had to add this to config.php and that worked:
date_default_timezone_set('Europe/Berlin');
in 3.2.1 I added this to chevereto-hook.php:
date_default_timezone_set('Europe/Berlin');
But this doesn't work; I can't install 3.2.1



Please help. Thank!
 
Last edited:
No other errors, I just can't complete the installing process, cause it's struck at:

Can't create admin user:
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.
 
Well, that is a server issue. Refer to your server. By the way, Chevereto hook is after the install thing, in the case that you need to inject something in those cases you should inject it directly either in settings.php or in loader.php
 
Yeah, I know it's a server issue, although I do not get this error with other scripts. If i put

date_default_timezone_set('Europe/Berlin');

in settings.php , I get the same error. If i put the above code into loader.php , I get a blank screen. BTW loader.php says:

Line 20: # If you need to hook elements to this loader you can add them in loader-hook.php

But I can't find loader-hook.php

Please help, I want the new version so much, but I can't install it!
 
You can use index.php, app/loader.php, app/app.php and app/settings.php to do that injection.
 
Back
Top