- Код: Выделить всё
Fatal error: Uncaught exception 'Exception' with message 'DateTimeZone::__construct() [<a href='datetimezone.--construct'>datetimezone.--construct</a>]: Unknown or bad timezone (localtime)' in /var/www/u2290052/data/www/minecraft54.ru/concrete/helpers/date.php:86 Stack trace: #0 /var/www/u2290052/data/www/minecraft54.ru/concrete/helpers/date.php(86): DateTimeZone->__construct('localtime') #1 /var/www/u2290052/data/www/minecraft54.ru/concrete/models/permissions.php(566): DateHelper->getSystemDateTime() #2 /var/www/u2290052/data/www/minecraft54.ru/concrete/models/permissions.php(513): CollectionPermissions->setGroupAccess(Object(Page), Object(User)) #3 /var/www/u2290052/data/www/minecraft54.ru/concrete/models/permissions.php(72): CollectionPermissions->CollectionPermissions(Object(Page)) #4 /var/www/u2290052/data/www/minecraft54.ru/concrete/models/permissions.php(116): PermissionsProxy::getNewOrCached(Object(Page), 'CollectionPermi...') #5 /var/www/u2290052/data/www/minecraft54.ru/concrete/models/permissions.php(218): Permi in /var/www/u2290052/data/www/minecraft54.ru/concrete/helpers/date.php on line 86
Страница не грузится вообще. И пока сессия не закончится, постоянно эта ошибка.
Похоже ошибка вылазит, если пользователь укажет при регистрации временную зону.
Я не указывал, у меня все ок. Лечится только перерегистрацией.
Версия concrete: 5.4.2.2.