我做了一些研究,錯誤的根源,同時設立Built2Go汽車經銷商和需要幫助調整代碼註冊引用新的返回值被棄用
已過時:指定由新的返回值參考已被棄用在C:\ XAMPP \ htdocs中\ speedyautos \ install.php了上線185
線182至200讀取
if ($level == "4")
{
$Install = &new INSTALL();
$Install->INSTALLS();
if ($Install->InstallError)
{
$GetResult = "<div class=\"error\">Style Import Failed. Error below: <br /><br />$Install->InstallError</div>";
$submitbtn = "<input type=\"hidden\" name=\"level\" value=\"4\" /><input class=\"button\" type=\"submit\" name=\"next\" value=\"Redo to Step 4\" /></form></div>\n";
}
else
{
$GetResult = "<div class=\"error\">$Install->msg</div>";
$GetResult .= "<a href='admincp/index.php'>Login to Your Admin</a></p>
<p align=\"center\">Thank you for the Installing The $name_of_site Script. It is required to Delete this install script once done.</p>\n";
$submitbtn = "<div class=\"boxcontent\">Finished</div></form>\n";
}
推薦使用:分配通過引用的新返回值被棄用在C:\ XAMPP \ htdocs中\ speedyautos \ admincp \上線434
線429到439讀func.php
$CarInfo = new Cars($db);
$CarInfo->GetMostPopular();
if (!eregi("admincp", $_SERVER['REQUEST_URI']))
{
$db = new DBM;
$Booth = &new Booth($db);
if ($SystemInfo->_systemstatus['Display_Poll'] == 'A')
{
$Poll = $Booth->display_booth();
}
}
對不起,我犯了第二部分的錯誤,並已經改寫了 – methuselah 2011-03-08 06:16:35
的問題,你應該提及php 5.XX – Gaurav 2011-03-08 06:25:54
@Gaurav:ooopss跳過了這一點.Thanx – 2011-03-08 06:35:25