confiscate
Registered
Здравейте
Ползвам този урок да си интегрирам сайта и форума : http://web-tourist.net/login/login/view.php?st=1103
Но все ми дава грешка аз го тествам на домашния си компютър данеби това да е причината?
Ето ви кода да го погледнете :
А ето ви и линк към форума ако трябва да видите нещо : http://83.143.144.54:81/phpBB-2.0.23/phpBB2/index.php
Благодаря предварително за помоща!!!
PS: Атове е самата грешка:
Ползвам този урок да си интегрирам сайта и форума : http://web-tourist.net/login/login/view.php?st=1103
Но все ми дава грешка аз го тествам на домашния си компютър данеби това да е причината?
Ето ви кода да го погледнете :
Код:
<?
define('IN_PHPBB', true);
$phpbb_root_path ='phpBB-2.0.23/phpBB2/';
include($phpbb_root_path . 'config.php');
include($phpbb_root_path . 'extension.inc');
include($phpbb_root_path . 'common.'.$phpEx);
$userdata = session_pagestart($user_ip, PAGE_INDEX);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1251">
<title>Untitled Document</title>
<link href="fifa.css" rel="stylesheet" type="text/css" />
<style type="text/css">
</style>
<script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
</head>
<body>
<table width="984" border="0" align="center" class="content">
<tr>
<td height="375"><td width="976" height="816" align="left" valign="top"><p><img src="images/fifa-09_01.gif" width="970" height="135" /></p>
<table width="972" border="0" align="left" cellpadding="5" cellspacing="2">
<tr>
<td width="209" align="left" valign="top"><table width="209" height="595" border="0" cellspacing="3">
<tr>
<td width="201" height="22" bordercolor="#143898" background="images/images/neshto_01.gif" class="reg"><div align="center" class="style2">Меню</div></td>
</tr>
<tr>
<td height="149" align="left" valign="top" background="images/back_03.gif" class="registration"><table width="179" border="0">
<tr>
<td width="21" height="26"><img src="images/bullet.gif" width="18" height="9" /></td>
<td width="142"><span class="style3"><a href="+">Форум/Турнири</a></span></td>
</tr>
<tr>
<td height="25"><img src="images/bullet.gif" width="18" height="9" /></td>
<td><span class="style4"> <a href="+">Правила</a></span></td>
</tr>
<tr>
<td height="24"><img src="images/bullet.gif" width="18" height="9" /></td>
<td><span class="style4"><a href="+">Победители</a></span></td>
</tr>
<tr>
<td height="26"><img src="images/bullet.gif" width="18" height="9" /></td>
<td><span class="style3"><a href="+">Видео</a></span></td>
</tr>
<tr>
<td height="27"><img src="images/bullet.gif" width="18" height="9" /></td>
<td><span class="style3"><a href="+">Рейтинг</a></span></td>
</tr>
</table></td>
</tr>
<tr>
<td height="21" background="images/images/neshto_01.gif" class="men"><div align="center" class="style5">Анкета</div></td>
</tr>
<tr>
<td height="104" align="left" valign="top" class="menu"> </td>
</tr>
<tr>
<td height="21" background="images/images/neshto_01.gif" class="Rek"> </td>
</tr>
<tr>
<td height="96" align="left" valign="top" class="reklama">
<?
if ($userdata['user_active']>0)
{
echo '
<table border="0" style="font-size:12px;" cellpadding="0" cellspacing="0" >
<tr>
<td style="font-size:12px;" height="20"><b>Потребител:</b>
</td>
</tr>
<tr>
<td style="font-size:12px;" height="20"><a
href="'.$phpbb_root_path.'profile.php?mode=viewprofile&u='.$userdata['username'].' ">'. $userdata['username'].'</a>
</td>
</tr>
<tr>
<td height="20" ><a class="user" href="'.$phpbb_root_path.'login.php?logout=true&sid='.$userdata['session_id'].'">Изход</a></td>
</tr>
<tr>
<td height="5">
</td>
</tr>
</table>
';
}
else
{
echo '
<form action="'.$phpbb_root_path.'login.php" method="post" style="margin: 0px;">
<input type="hidden" name="redirect" value="../index.php" />
<table border="0" style="font-size:12px;" width="130" cellspacing="0" cellpadding="0">
<tr>
<td class="left" height="25">
<b>Потребител:</b>
</td>
</tr>
<tr>
<td class="left" height="25">
<input type="text" name="username" size="10" maxlength="25">
</td>
</tr>
<tr>
<td class="left" height="25">
<b>Парола:</b>
</td>
</tr>
<tr>
<td class="left" height="25">
<input type="password" name="password" size="10" maxlength="25">
</td>
</tr>
<tr>
<td>
автоматично: <input type="checkbox" name="autologin" checked >
</td>
</tr>
<tr>
<td class="left" height="35">
<input type="submit" name="login" value="Вход">
</td>
</tr>
<tr>
<td class="left" height="20" >
<a href="'.$phpbb_root_path.'profile.php?mode=register">Регистрация</a>
</td>
</tr>
<tr>
<td class="left" height="20">
<a href="'.$phpbb_root_path.'profile.php?mode=sendpassword" >Забравена парола</a>
</td>
</tr>
</table>
</form>
';
}
?>
</td>
</tr>
<tr>
<td height="21" background="images/images/neshto_01.gif" class="pic"> </td>
</tr>
<tr>
<td height="131" class="picture"> </td>
</tr>
</table></td>
<td height="675" colspan="2" align="left" valign="top"><table width="586" height="665" border="0">
<tr>
<td height="23" background="images/images/neshto_01.gif" class="cont"> </td>
</tr>
<tr>
<td width="580" height="636" align="left" valign="top" class="conteiner"><p> </p>
<p align="center"><strong>Подробен, автентичен геймплей - игрчите ще могат да се наслаждават на геймплея, който е претърпял години подобрение и иновация. Детайли като пряк свободни, бързи тъчове, подобрени сблъсъци между играчите доставят пълен футболен опит.<br />
Водещи визуални детайли - ФИФА 09 за ПС ще донесе скока в качеството, настоявано от играчите по света. Най-ноивте shader-и и визуални техники ще се нуждаят и от високо-технични видео карти за визуално невероятно пресъздаване на красивата игра.<br />
Специфични контроли за компютър - възможност за пълна промяна на контролите на мишката и клавиатурата доставят уникални контроли за спортните игри на компютърната сцена. Изберете къде искате да отиде човека с топката с обикновен клик на мишката. Още, изпращайте играчите си за праволинейни и правилни самостоятелни тичания ( :S ) използвайки същите команди.</strong></p></td>
</tr>
</table></td>
<td width="144" height="675" align="left" valign="top"> </td>
</tr>
</table>
<p> </p></td>
</tr>
</table>
</body>
</html>
А ето ви и линк към форума ако трябва да видите нещо : http://83.143.144.54:81/phpBB-2.0.23/phpBB2/index.php
Благодаря предварително за помоща!!!
PS: Атове е самата грешка:
Код:
Warning: include(phpBB-2.0.23/phpBB2/config.php) [function.include]: failed to open stream: No such file or directory in C:\AppServ\www\fifa\index2.php on line 5
Warning: include() [function.include]: Failed opening 'phpBB-2.0.23/phpBB2/config.php' for inclusion (include_path='.;C:\php5\pear') in C:\AppServ\www\fifa\index2.php on line 5
Warning: include(phpBB-2.0.23/phpBB2/extension.inc) [function.include]: failed to open stream: No such file or directory in C:\AppServ\www\fifa\index2.php on line 6
Warning: include() [function.include]: Failed opening 'phpBB-2.0.23/phpBB2/extension.inc' for inclusion (include_path='.;C:\php5\pear') in C:\AppServ\www\fifa\index2.php on line 6
Warning: include(phpBB-2.0.23/phpBB2/common.) [function.include]: failed to open stream: No such file or directory in C:\AppServ\www\fifa\index2.php on line 7
Warning: include() [function.include]: Failed opening 'phpBB-2.0.23/phpBB2/common.' for inclusion (include_path='.;C:\php5\pear') in C:\AppServ\www\fifa\index2.php on line 7
Fatal error: Call to undefined function session_pagestart() in C:\AppServ\www\fifa\index2.php on line 8