[NOT A BUG] Timezone in AMXBANS

TI INDIAN
Posts: 24
Joined: 31 Oct 2013, 09:50

[NOT A BUG] Timezone in AMXBANS

Postby TI INDIAN » 31 Oct 2013, 09:54

ok so I have problem with the timezone in AMXBANS and I cannot fix it.Here is the error

Warning: strftime() [function.strftime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CET/1.0/no DST' instead in /data/filer-6/web/web304/htdocs/amxbans/include/smarty/plugins/modifier.date_format.php on line 53

Any ideas how to fix? If you can please answer as soon as possible. :?

I want to make it Europe/paris. so please see to it ! :geek:

If you have the soution add me on steam zatty93

YamiKaitou
Amxbans Developer
Posts: 257
Joined: 17 Apr 2013, 14:09

Re: Timezone in AMXBANS

Postby YamiKaitou » 31 Oct 2013, 23:07

So set the timezone in your PHP settings

TI INDIAN
Posts: 24
Joined: 31 Oct 2013, 09:50

Re: Timezone in AMXBANS

Postby TI INDIAN » 31 Oct 2013, 23:10

How to do it ..can you show the full description i dont know how to fix it and i dont know in which file also i have to do it...

the line is

Code: Select all

return strftime($format, $timestamp);

YamiKaitou
Amxbans Developer
Posts: 257
Joined: 17 Apr 2013, 14:09

Re: Timezone in AMXBANS

Postby YamiKaitou » 01 Nov 2013, 04:55

Go bug your Web Host

TI INDIAN
Posts: 24
Joined: 31 Oct 2013, 09:50

Re: Timezone in AMXBANS

Postby TI INDIAN » 01 Nov 2013, 08:57

This is amxbans problem or no? my web host is verygames and they dont know anything about amxbans from my point of view....there is must be something that could chnage the timezone thats why the error is pointing towards the smarty plugin.. which is probably describes it is bug of amxbans... so you must be knowing s there is something which is creating this problem :3

TI INDIAN
Posts: 24
Joined: 31 Oct 2013, 09:50

Re: Timezone in AMXBANS

Postby TI INDIAN » 01 Nov 2013, 09:49

Ok so i reinstalled the server and this time it is diffrent error

strftime() [function.strftime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CET/1.0/no DST' instead in /data/filer-6/web/web304/htdocs/amxbans/include/smarty/Smarty_Compiler.class.php on line 400

So... This is the bug now...

YamiKaitou
Amxbans Developer
Posts: 257
Joined: 17 Apr 2013, 14:09

Re: Timezone in AMXBANS

Postby YamiKaitou » 01 Nov 2013, 11:26

This is not a bug with AMXBans but a misconfiguration of your web host. The timezone is set in the php.ini file on the web host, so go bug your host about the issue

TI INDIAN
Posts: 24
Joined: 31 Oct 2013, 09:50

Re: [NOT A BUG] Timezone in AMXBANS

Postby TI INDIAN » 01 Nov 2013, 13:48

ok so i got the php5.ini file but its empty ... what should i write in it .. to change the timezone

TI INDIAN
Posts: 24
Joined: 31 Oct 2013, 09:50

Re: [NOT A BUG] Timezone in AMXBANS

Postby TI INDIAN » 01 Nov 2013, 13:49

By the way Yamikatou .. can you come on my teamviewer and check it for just 1 min.. just 1 min.. it will be great for me if u do it plz... or do u have skype? add me yagneshgusani on skype

TI INDIAN
Posts: 24
Joined: 31 Oct 2013, 09:50

Re: [NOT A BUG] Timezone in AMXBANS

Postby TI INDIAN » 01 Nov 2013, 14:08

Ok i m the bastard fucking bastard .. the sever is hosted in berlin and i was thinking why it isnt in paris... so my bad.. btw how to hide erros in amxbans?


Return to “Bugs”

Who is online

Users browsing this forum: No registered users and 1 guest