A
A
Alexey2015-05-05 14:33:39
PHP
Alexey, 2015-05-05 14:33:39

What web server configuration is required to install modX Revolution?

During installation (after checking the connection to the database, encoding and creating an administrator account), errors appear:

Warning: strftime(): Invalid date.timezone value 'Moscow/Europe', we selected the timezone 'UTC' for now. in /var/www/prokubig/data/www/sitename.info/setup/includes/modinstall.class.php on line 463
Warning: strftime(): Invalid date.timezone value 'Moscow/Europe', we selected the timezone ' UTC' for now. in /var/www/prokubig/data/www/sitename.info/setup/includes/modinstall.class.php on line 191
Warning: Cannot modify header information - headers already sent by (output started at /var/www/prokubig/ data/www/sitename.info/setup/includes/modinstall.class.php:463) in /var/www/prokubig/data/www/sitename.info/setup/includes/request/modinstallrequest.class.php on line 235

Apache/2.2.22 (Debian)
PHP Version 5.5.17-1~dotdeb.1
Server API CGI/FastCGI
System Linux 2.6.32-042stab094.7 #1 SMP Wed Oct 22 12:43:21 MSK 2014 i686 for two hours), in the user settings is Moscow/Europe
PS
Adding date_default_timezone_set('UTC'); in setup/index.php does not save the situation (ERR_NAME_NOT_RESOLVED crashes). Among other things, @ini_set('date.timezone', 'Moscow/Europe');

Answer the question

In order to leave comments, you need to log in

4 answer(s)
I
Immortal_pony, 2015-05-05
@Kubig

Among other things, @ini_set('date.timezone', 'Moscow/Europe');

This is probably the reason for the errors, since such a time zone does not exist. There is Europe/Moscow , try to use it.

S
Steely, 2015-05-05
@Steely

Add to php.ini, restart Apache, in general it is easy to google and your CMS has nothing to do with it

S
Sanes, 2015-05-05
@Sanes

https://modx.pro/hosting/3149-the-right-hosting-fo...
https://modx.pro/hosting/678-the-right-hosting-for...

H
He11ion, 2015-05-05
@He11ion

date.timezone = Europe/Moscow write in php.ini

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question