hi
i look in the search and did not find how to set the time zone for D7.0.5
any help?
i use Arvixe server...
hi i look in the search and did not find how to set the time zone for D7.0.5 any help? i use Arvixe server... |
its simple you cant setup a time zone - ticket is already open for that for a long time. There is a forum post which uses a little trick that might help you |
its simple you cant setup a time zone - ticket is already open for that for a long time. There is a forum post which uses a little trick that might help you where is it, i try to seach but did not find it. give me a link. |
http://www.boonex.com/unity/forums/?action=goto&search=1#topic/timezone-momentary-solution-.htm
Its a workaround which can help you a bit, but dont take it as a final solution its just a temporary workaround until this gonna be fixed by boonex hopefully in 7.1. Ticket is thetr for it but as boonex announced not everything will be included in 7.1 and there be a big selection what will be in 7.1 and what not its possible that this gonna be permanently fixed in some of future version ...so dont rely on 7.1 regarding this too much |
http://www.boonex.com/unity/forums/?action=goto&search=1#topic/timezone-momentary-solution-.htm
Its a workaround which can help you a bit, but dont take it as a final solution its just a temporary workaround until this gonna be fixed by boonex hopefully in 7.1. Ticket is thetr for it but as boonex announced not everything will be included in 7.1 and there be a big selection what will be in 7.1 and what not its possible that this gonna be permanently fixed in some of future version ...so dont rely on 7.1 regarding this too much good news for all to set the time zone for D7.0.5 this one working:
1)open /inc/header.inc.php
after <? add:
date_default_timezone_set('Europe/Rome');
Change Europe/Rome with your timezone (you can find supported timzone here: http://www.php.net/manual/en/timezones.php )
2) Open /inc/classes/BxDolDb.php
locate (around line 87): mysql_query("SET sql_mode = ''", $this->link); below this row add: $this->res("SET time_zone = '+1:00'");
Change +1:00 with your timezone...
Save and upload all....test and let me know!
I tested try this and seems It work...
This trick simple set timezone per connection, not per host, in this way u can change timezone without change server's time, in php and even in mysql!
Let me know! |
http://www.boonex.com/unity/forums/?action=goto&search=1#topic/timezone-momentary-solution-.htm
Its a workaround which can help you a bit, but dont take it as a final solution its just a temporary workaround until this gonna be fixed by boonex hopefully in 7.1. Ticket is thetr for it but as boonex announced not everything will be included in 7.1 and there be a big selection what will be in 7.1 and what not its possible that this gonna be permanently fixed in some of future version ...so dont rely on 7.1 regarding this too much good news for all to set the time zone for D7.0.5 this one working:
1)open /inc/header.inc.php
after <? add:
date_default_timezone_set('Europe/Rome');
Change Europe/Rome with your timezone (you can find supported timzone here: http://www.php.net/manual/en/timezones.php )
2) Open /inc/classes/BxDolDb.php
locate (around line 87): mysql_query("SET sql_mode = ''", $this->link); below this row add: $this->res("SET time_zone = '+1:00'");
Change +1:00 with your timezone...
Save and upload all....test and let me know!
I tested try this and seems It work...
This trick simple set timezone per connection, not per host, in this way u can change timezone without change server's time, in php and even in mysql!
Let me know! this works great, thanks :) You Creature!! |
maybe this can be added as solution to d7.1 timezone roadmap ticket ? |
The timezone setting works just fine at the site side, BUT NOT in the Orca forums...... sigh... BR: Jarmo |