Código:
edito index-php dentro de /usr/local/www/apache22/phpBB3/index.php y voy a la linea 86 :[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)
Código:
ahora edito /usr/local/www/apache22/phpBB3/includes/functios.php86 $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);
Código:
esta ultima parte creo que es darle permisos chmod 777 functions.php pero no lo se muybien y la primera estoy despistado.4286 header('Cache-Control: private, no-cache="set-cookie"'); header('Expires: 0'); header('Pragma: no-cache'); return; }
Agradezco ayuda