Тема: Blizzlike userbar
Показать сообщение отдельно
Старый 24.06.2010, 18:49   #68
Lexsuss
Гость
 
Сообщений: n/a
По умолчанию

Здравствуйте. Поставил userbar, картинки не отображает. Создает бары в папке /cache
Сервер 3.3.3а 11723

Gd2 библиотека в PHP и mod_rewrite в Apache включены. - или то что у меня в info не gd2 а gd просто?
Хотя...файлик в /php5 называется php_gd2.dll
Код:
LoadModule rewrite_module modules/mod_rewrite.so
Код:
GD Support 	enabled 
GD Version 	bundled (2.0.34 compatible) 
FreeType Support 	enabled 
FreeType Linkage 	with freetype 
FreeType Version 	2.1.9 
T1Lib Support 	enabled 
GIF Read Support 	enabled 
GIF Create Support 	enabled 
JPG Support 	enabled 
PNG Support 	enabled 
WBMP Support 	enabled 
XBM Support 	enabled
Лог Apache (Ошибок нет)

Код:
192.168.1.2 - - [25/Jun/2010:02:22:38 +1100] "GET /userbar/ HTTP/1.1" 200 511
192.168.1.2 - - [25/Jun/2010:02:22:45 +1100] "GET /userbar/index.php?name=%D0%90%D0%BB%D1%8C%D1%82%D0%B0%D0%B8%D1%80 HTTP/1.1" 200 1251
192.168.1.2 - - [25/Jun/2010:02:22:46 +1100] "GET /userbar/ub.php?name=%D0%90%D0%BB%D1%8C%D1%82%D0%B0%D0%B8%D1%80&mini HTTP/1.1" 200 18497
192.168.1.2 - - [25/Jun/2010:02:22:46 +1100] "GET /userbar/ub.php?name=%D0%90%D0%BB%D1%8C%D1%82%D0%B0%D0%B8%D1%80 HTTP/1.1" 200 26279
192.168.1.2 - - [25/Jun/2010:02:22:38 +1100] "GET /userbar HTTP/1.1" 301 356
Конфиг:

Код:
<?php

$config = array(
	'rdb'			=> 'mysql://root:mangos@localhost:3306/realmd',
	'cdb'			=> 'mysql://root:mangos@localhost:3306/characters',
	'wdb'			=> 'mysql://root:mangos@localhost:3306/mangos',
	'db_encoding'	=> 'utf8',
	'img_type'		=> 'png',
	/**
	*	11723 -> 3.3.3a
	**/
	'buildClient'	=> 11723,
	'lang'			=> 'en', // выбор языка (  en/ru ).
	'realmid'		=> 1,
	'gmstatus_enable'=> true, // true - отображать статус ГМ, false - ГМы как обычные игроки
	'cache_timeout'	=> 120,
);

$dir = "/userbar/";
$font = array(
	'wow'		=> 'static/fonts/wow.ttf',	// name(eng), honor, lvl,achieve
	'verdanay'	=> 'static/fonts/verdanay.ttf', // no used
	'friztrus' 	=> 'static/fonts/friztrus.ttf', // realm, guild, name(rus)
	'skurri'	=> 'static/fonts/skurri.ttf', // guild
);

function databaseErrorHandler($message, $info) {
	// Если использовалась @, ничего не делать.
	if (!error_reporting()) return;

	print "<table>";
	print "<tr><td><font><b>[SQL Error]</b></font>: $message</td></tr>";
	print "<tr><td><pre>".print_r($info, true)."</div></pre></td></tr>";
	print "</table>";
	exit();
}

?>
При переходе по ссылке юзербара ваще ужос че творится.
Код:
Warning: Cannot modify header information - headers already sent by (output started at Z:\home\192.168.1.2\www\userbar\config.php:1) in Z:\home\192.168.1.2\www\userbar\core\class.userbar.php on line 423

Warning: Cannot modify header information - headers already sent by (output started at Z:\home\192.168.1.2\www\userbar\config.php:1) in Z:\home\192.168.1.2\www\userbar\core\class.userbar.php on line 424

Warning: Cannot modify header information - headers already sent by (output started at Z:\home\192.168.1.2\www\userbar\config.php:1) in Z:\home\192.168.1.2\www\userbar\core\class.userbar.php on line 425

Warning: Cannot modify header information - headers already sent by (output started at Z:\home\192.168.1.2\www\userbar\config.php:1) in Z:\home\192.168.1.2\www\userbar\core\class.userbar.php on line 426

Warning: Cannot modify header information - headers already sent by (output started at Z:\home\192.168.1.2\www\userbar\config.php:1) in Z:\home\192.168.1.2\www\userbar\core\class.userbar.php on line 427

Warning: Cannot modify header information - headers already sent by (output started at Z:\home\192.168.1.2\www\userbar\config.php:1) in Z:\home\192.168.1.2\www\userbar\core\class.userbar.php on line 428

Warning: Cannot modify header information - headers already sent by (output started at Z:\home\192.168.1.2\www\userbar\config.php:1) in Z:\home\192.168.1.2\www\userbar\core\class.userbar.php on line 443
�PNG   IHDR Далее идет здоровенный набор символов
Кодировал перекодировал 100500 раз Notepad,ом
Перерыл все, уверен что рядом но уже голова не варит.Какой будет диагноз? Ушел спать

Последний раз редактировалось Lexsuss; 24.06.2010 в 19:06.
  Ответить с цитированием