|
yabb在NT服务器上的安装问题
Warning: Undefined variable: step in D:\wwwroot\spazc.com\yabbse\install.php on line 18
Warning: Undefined index: DOCUMENT_ROOT in D:\wwwroot\spazc.com\yabbse\install.php on line 20
是什么意思?
我把install.php前几行帖出来,大家帮我看看
<html>
<head>
<title>YaBB SE安全模式安装程序</title>
<style type=text/css> p, font, td, input, select, option, textarea, form { font-family:宋体; font-size:12px; } a:link { font-size: 12px; text-decoration: none } a:visited { font-size: 12px; text-decoration: none } a:hover { font-size: 12px; text-decoration: underline } a:active { text-decoration: none; font-size: 12px } .thtcolor { COLOR: #FFFFFF;} #all A:active { COLOR: #004080 ;} #all A:visited { COLOR: #004080 ;} #all A:hover { COLOR: #ff0000;} #all A:link { COLOR: #004080;} #cat A:active { COLOR: #000000; text-decoration: none} #cat A:visited { COLOR: #000000 ; text-decoration: none} #cat A:hover { COLOR: #000000 ; text-decoration: underline} #cat A:link { COLOR: #000000 ; text-decoration: none} </STYLE>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<META NAME="description" CONTENT="<yabb title>">
<META NAME="keywords" CONTENT="PHP, MySQL, bulletin, board, free, open, source, YaBB, yet, another, SE">
</head>
<body bgcolor="#FFFFFF">
<center><table border=0 cellspacing=1 cellpadding=4 bgcolor="#000000" width=90%>
<tr>
<th bgcolor="#34699E"><font color="#FFFFFF">YaBB SE安全模式安装程序</font></th>
</tr>
<tr>
<td bgcolor="#f0f0f0">
<?php
if(!$step)
{
$installdir = $HTTP_SERVER_VARS["DOCUMENT_ROOT"]."/yabbse";
$installdir = str_replace("//","/",$installdir);
?>
注意:<br><br> 如果你的主机上的PHP是运行在安全模式,本程序将安装YaBB SE<br><br>
如果你的主机上的PHP<font color="#FF0000">不是</font>运行在安全模式,可能无法正确安装YaBB
SE<br>
<form action="install.php?step=2" method="POST">
<center>
<p>
<input type=submit value="开始安装 >">
<br>
</p>
<p><br>
YaBB中文基地 | Powered <a href="http://www.yabb.info/index.php?affiliate=YaBB%20SE%D6%D0%CE%C4%BB%F9%B5%D8&l=http://www.qswater.com/windnets/yabb&v=YaBB%20SE%201.0.0">by
YaBB SE</a><br>
可能是路径问题,但是我不会改,谁帮我一下,谢谢! |
|