Guess timezone
Posted: 12 Apr 2010, 15:57
Hey!
http://www.phpbb.com/community/viewtopi ... &t=1214785
what do i need to do so i can get it working ?
I have just installed Guess timezone, almost anyways. but it's giving me and error/or more
http://www.phpbb.com/community/viewtopi ... &t=1214785
what do i need to do so i can get it working ?
I have just installed Guess timezone, almost anyways. but it's giving me and error/or more
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1590: Undefined index: use_browser
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4364: Undefined index: use_browser
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4364: Undefined index: use_client_browser
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4440: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3635)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4442: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3635)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4443: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3635)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4444: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3635)
Code: Select all
if ($include_result === false)
{
die('Language file ' . $this->lang_path . $this->lang_name . "/common.$phpEx" . " couldn't be opened.");
}
//Timezone Start
switch (true)
{
case $this->data['user_id'] != ANONYMOUS && $this->data['use_browser']:
case $this->data['user_id'] == ANONYMOUS && $config['use_client_browser']:
if (isset($_COOKIE[$config['cookie_name'] . '_time']['dst']) && isset($_COOKIE[$config['cookie_name'] . '_time']['zone']))
{
$temp = $_COOKIE[$config['cookie_name'] . '_time']['zone'];
if (!isset($lang['tz'][$temp]))
{
break;
}
$this->timezone = $temp * 3600;
$this->dst = ((bool) $_COOKIE[$config['cookie_name'] . '_time']['dst']) * 3600;
}
}
//Timezone Stop