D
D
denn2014-07-09 13:25:16
MODX
denn, 2014-07-09 13:25:16

Installing MODX. Error with date.timezone. How to decide?

During the initial installation of CMS MODx ran into a date.timezone issue. Specified in php.ini, specified in htaccess, specified in index.php. Did not help. In phpinfo, if you look, it's the correct date and zone. What could be the problem?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
ilyautkin, 2014-08-20
@ilyautkin

Did you write in the /setup/index.php file?
@ini_set('date.timezone', 'Europe/Moscow');

Z
z0091, 2014-07-10
@z0091

In the .htaccess file (should be in the root folder if not created. But usually it is only commented out.) write
php_value date.timezone Europe/Moscow

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question