Skip to content

Pokemon count on home page is set at 0 or 1000

Obihörnchen edited this page Jan 7, 2017 · 5 revisions

What happen ?

Worldopole is time based to display informations on what's happenning right now. So it's really important to setup your host correctly regarding timezone.

How to do it ?

First check if your server have the same TimeZone as you. You can do it on an SSH terminal using the date command. Your server should be running at the same TimeZone as you are.

If the server is running at the same timezone as you connect to MySQL (SSH or PhpMyAdmin) and run following commands

SELECT NOW(),CURDATE(),CURTIME();

The NOW() value should be on the same Timezone as you.

Your server is on a different Timezone.

If you can configure your server, please use

Ubuntu/Debian sudo dpkg-reconfigure tzdata

RHEL/SLES/Fedora/CentOS sudo timedatectl

Other distributions cp /usr/share/zoneinfo/CONTINENT/CITY /etc/localtime ln -s /usr/share/zoneinfo/CONTINENT/CITY /etc/localtime

Your MySQL server is on a different Timezone

Please configure MySQL

If you cannot modify server or MySQL Timezone.

First you can run Worldopole if and only if your server AND MySQL have the same Timezone. You'll need to configure your variables.json timezone regarding your host Timezone, not yours.