Ver Mensaje Individual
  #1 (permalink)  
Antiguo 18/12/2010, 11:55
Avatar de manyblue
manyblue
 
Fecha de Ingreso: marzo-2008
Mensajes: 329
Antigüedad: 16 años
Puntos: 10
Error instalacion phpBB3 (zona horaria)

Ante todo saludar primero a todos, estoy instalando phpBB3 en freeBSD 8.1 y entre otros errores de permisos de escritura que ya soluciones me aparecen estos tambien:

Código:
[phpBB Debug] PHP Notice: in file /index.php on line 86: date() [[URL="http://manyblue.homeunix.com/phpBB3/function.date"]function.date[/URL]]: 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/Paris' for 'WET/0.0/no DST' instead
[phpBB Debug] PHP Notice: in file /index.php on line 86: getdate() [[URL="http://manyblue.homeunix.com/phpBB3/function.getdate"]function.getdate[/URL]]: 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/Paris' for 'WET/0.0/no DST' instead
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4284: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3493)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4286: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3493)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4287: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3493)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4288: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3493)
edito index-php dentro de /usr/local/www/apache22/phpBB3/index.php y voy a la linea 86 :


Código:
 
86  $now = getdate(time() + $user->timezone + $user->dst - date('Z'));
87        $sql = 'SELECT u.user_id, u.username, u.user_colour, u.user_birthday
88               FROM ' . USERS_TABLE . ' u
89                LEFT JOIN ' . BANLIST_TABLE . " b ON (u.user_id = b.ban_userid)
90                WHERE (b.ban_id IS NULL
91                        OR b.ban_exclude = 1)
92                    AND u.user_birthday LIKE '" . $db->sql_escape(sprintf('%2d-%93  2d-', $now['mday'], $now['mon'])) . "%'
94                        AND u.user_type IN (" . USER_NORMAL . ', ' .  
95 USER_FOUNDER . ')';
        $result = $db->sql_query($sql);
        while ($row = $db->sql_fetchrow($result))
        {
                $birthday_list .= (($birthday_list != '') ? ', ' : '') . get_username_string('full', $row['user_id'], $row['username'], $row['user_colour']);
                if ($age = (int) substr($row['user_birthday'], -4))
                {
                        $birthday_list .= ' (' . ($now['year'] - $age) . ')';
                }
        }
        $db->sql_freeresult($result);
ahora edito /usr/local/www/apache22/phpBB3/includes/functios.php


Código:
 
4286    header('Cache-Control: private, no-cache="set-cookie"');
            header('Expires: 0');
            header('Pragma: no-cache');
            return;
}
esta ultima parte creo que es darle permisos chmod 777 functions.php pero no lo se muybien y la primera estoy despistado.
Agradezco ayuda