Home > Article > CMS Tutorial > What should I do if the time when Imperial CMS records user clicks is incorrect?
To solve the problem of incorrect user click time recorded by Empire cms, you can take the following steps: Check the database and PHP time zone settings to ensure they are consistent with the time zone of the server. Clear cache, including browser cache and server cache. Enable debug mode and check the log file. If the above steps cannot solve the problem, you can contact Imperial CMS technical support, check the firewall settings or try to use other time servers.
Empire cms solution to the incorrect time of recording user clicks
Problem: Empire The user click time recorded by cms is wrong, how to solve it?
Solution:
To solve the problem of incorrect user click time recorded by Empire CMS, you can take the following steps:
1. Check the database time zone setting
empiremaker
. Asia/Shanghai
represents Shanghai time zone. 2. Check the PHP time zone settings
.htaccess
file in the root directory of the website. <code>php_value date.timezone Asia/Shanghai</code>
Asia/Shanghai
with the time zone of the server. 3. Clear cache
Clear browser cache and server cache, including:
Ctrl F5
(or Cmd R
on Mac) to refresh the page. service apache2 restart
; if you use Nginx, please execute service nginx restart
. 4. Enable debug mode
config/config.php
file. $empirecms_config['dev_mode']
to true
. data/log/error.log
). If the above steps cannot solve the problem, please try the following other methods:
config/config.php
file, set $empirecms_config['ntpserver']
to a different NTP server, such as 0.beijing.pool.ntp.org
. The above is the detailed content of What should I do if the time when Imperial CMS records user clicks is incorrect?. For more information, please follow other related articles on the PHP Chinese website!