Код: Выделить всё
Cannot redeclare geoip_country_code_by_name() in root/ipdatabase/geoip.inc on line 452Установку делал по инструкции, скачал GeoLiteCity.dat и залил его в папку, при запуске файла выдает эту же ошибку update_users.php
Код: Выделить всё
Cannot redeclare geoip_country_code_by_name() in root/ipdatabase/geoip.inc on line 452Я пол года назад ставил последний мод Антибот+100500,и работал форум отлично. Пробывал удалить кеш и куки,не помогло.Здравствуйте, в данный момент на сайте 503 ошибки нет. Обычно она появляется если при запросах к сайту создаются процессы apache, которые зависают, нужно обратиться к разработчикам и выяснить по какой причине сайт создает зависающие процессы (процесс, который не завершается). Возможно, проблема в каком-то плагине.
На сервере хостинга.где именно?
ТП:где хранятся логи апачи?
Логи можно подключить в разделе Журналы
В статистике посещений так же ошибки 503 не наблюдаю
Код: Выделить всё
[phpBB Debug] PHP Notice: in file [ROOT]/includes/functions_display.php on line 1437: Undefined variable: phpbb_root_path
[phpBB Debug] PHP Notice: in file [ROOT]/includes/functions_display.php on line 1438: Undefined variable: phpbb_root_path
[phpBB Debug] PHP Notice: in file [ROOT]/includes/functions_display.php on line 1437: Undefined variable: phpbb_root_path
[phpBB Debug] PHP Notice: in file [ROOT]/includes/functions_display.php on line 1438: Undefined variable: phpbb_root_path
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4801: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4803: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4804: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4805: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)Код: Выделить всё
$flag_img = (!empty($flags[$user_flag]['image'])) ? '<img src="' . $phpbb_root_path . $config['flags_path'] . '/' . $flags[$user_flag]['image'] . '" alt="' . $flag_text . '" title="' . $flag_text . '" />' : '';
$flag_img_src = (!empty($flags[$user_flag]['image'])) ? $phpbb_root_path . $config['flags_path'] . '/' . $flags[$user_flag]['image'] : '';Код: Выделить всё
header('Content-type: text/html; charset=UTF-8');
header('Cache-Control: private, no-cache="set-cookie"');
header('Expires: 0');
header('Pragma: no-cache');Не силен в php, но обычно в таком случае отвечают одно и тоже - надо объявить эту переменную. В файле должно быть что-то типа[phpBB Debug] PHP Notice: in file [ROOT]/includes/functions_display.php on line 1437: Undefined variable: phpbb_root_path
global $phpbb_root_path, $phpEx, $config;Код: Выделить всё
<?php
/**
*
* @package phpBB3
* @version $Id$
* @copyright (c) 2005 phpBB Group
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/
/**
* @ignore
*/
if (!defined('IN_PHPBB'))
{
exit;
}
/**
* Display Forums
*/
function display_forums($root_data = '', $display_moderators = true, $return_moderators = false)
{
global $db, $auth, $user, $template;
global $phpbb_root_path, $phpEx, $config;Спросите у нашего FAQ, пора бы уже это знать, что это не ошибка.slavapril писал(а):По второй ошибке спросите у Яши
viewtopic.php строку die("OK");http://www.phpbbguru.net/useful/general ... g-php/#dbgrightmiha писал(а):Включить дебаг где, как это сделать?