ExBB Community » » Настройка форума » HTTP/1.0 500 Internal Server Error

Страниц (1): [1]
 

1. GreatALF - 26 июня 2014 — 14:46 - перейти к сообщению
Беда вот в чем
сервис http://www.majento.ru/index.php?...k-server-request
на ввод запроса например вот этой страницы http://www.xatv.ru/forum/avtosto...uyu-aziyu-t.html выдает ответ

CODE:
HTTP/1.0 500 Internal Server Error
Date: Thu, 26 Jun 2014 14:39:30 GMT
Server: Apache/2.2.22 (Ubuntu)
X-Powered-By: PHP/5.3.10-1ubuntu3.8
Set-Cookie: PHPSESSID=n3g3spm2ne93qna3o38nt3gvh0; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: lastvisit=1403793570; expires=Fri, 26-Jun-2015 14:39:30 GMT; path=/
Vary: Accept-Encoding
Connection: close
Content-Type: text/html; charset=windows-1251


В то же время http://webmaster.yandex.ru/serve...06f9921ba1a8c57c
Выдает
CODE:

Код статуса HTTP: "200 OK"
Время ответа сервера: 140мс
IP сайта: 62.109.16.98
Кодировка: windows-1251(ansi-1251, cp5347, cp1251)
Размер страницы: 18.39Кб


Как это понимать?

Если шо то мод ЧПУ выключал, такая же ерунда.

если смотреть через Network в хроме то он выдает вот такую строчку
CODE:
mul'tiviza-t.html
/forum
GET
500
Internal Server Error
text/html
инициатор lib.js:450
Script
2. GreatALF - 27 июня 2014 — 05:23 - перейти к сообщению
Дошел до вот этого момента.

Именно в самой теме, при открытии страницы (загрузки) вываливаются ошибки

CODE:
Parse error: syntax error, unexpected T_STRING in /var/www/greatalf/data/www/xatv.ru/forum/include/fm.class.php(974) : runtime-created function on line 5 Parse error: syntax error, unexpected T_STRING in /var/www/greatalf/data/www/xatv.ru/forum/include/fm.class.php(974) : runtime-created function on line 5 Parse error: syntax error, unexpected T_STRING in /var/www/greatalf/data/www/xatv.ru/forum/include/fm.class.php(974) : runtime-created function on line 5 Parse error: syntax error, unexpected T_STRING in /var/www/greatalf/data/www/xatv.ru/forum/include/fm.class.php(974) : runtime-created function on line 5 Parse error: syntax error, unexpected T_STRING in /var/www/greatalf/data/www/xatv.ru/forum/include/fm.class.php(974) : runtime-created function on line 5


В 974 строке файла
CODE:
$string = preg_replace_callback("#\[url\](".$patern.")\[\/url\]#isx",
create_function(
'$matches',
'global $fm; $LinkText = preg_replace("#^(.{32})(.+)(.{16})#is","$1...$3",trim($matches[1]));
$Link = (empty($matches[2])) ? "http://".$matches[1]:$matches[1];
if (!stristr($Link, \'http://www.\'.$fm->exbb_domain) && !stristr($Link, \'http://\'.$fm->exbb_domain))
$Link = $fm->out_redir.$Link;
return "<a href=\"{$Link}\" target=\"_blank\" rel="noindex,nofollow">".trim($LinkText)."</a> ";'),$string);


именно 974 это
CODE:
return "<a href=\"{$Link}\" target=\"_blank\" rel="noindex,nofollow">".trim($LinkText)."</a> ";'),$string);


Как исправить?
3. GreatALF - 27 июня 2014 — 05:46 - перейти к сообщению
Странно, закаментил....ошибка пропала, но все же хотелось бы знать, что эти строки делают...

Яндекс.Метрика   

Powered by ExBB
[Script Execution time: 0.031]     [ ]