Maison > Article > développement back-end > php网站显示空白的有关问题
php网站显示空白的问题!
错误提示等都开了!
windows 2003 系统,php5.3 , mysql 5.5
这是 php探针 http://a858158288.us006.dbidc.pw/tz.php
这是 出错网站: http://a858158288.us006.dbidc.pw/
这是 index.php 的代码:
<?php<br />$file = "./include/lock.txt";<br />if(!file_exists($file))<br />{<br /> header("Location: ./install");<br />}<br /><br />require('include/conn.php');<br />$siteconfig="select * from phpsou_siteconfig";<br />$site_query=mysql_query($siteconfig);<br />while($site=mysql_fetch_array($site_query,MYSQL_ASSOC)) <br />{<br /> $title=$site['adtitle'];<br /> $name=$site['name']; <br /> $keywords=$site['Keywords'];<br /> $description=$site['description'];<br />}<br />$smarty->assign("title",$title); <br />$smarty->assign("name",$name); <br />$smarty->assign("keywords",$keywords); <br />$smarty->assign("description",$description); <br /><br /><br /><br />$sql="select * from phpsou_about where is_show order by sortid asc";<br />$cate_query=mysql_query($sql);<br />while($cate=mysql_fetch_array($cate_query,MYSQL_ASSOC)) <br />{ <br /> $about[]=array("title"=>$cate[title],"about_id"=>$cate[about_id],"url"=>$cate[url]); <br />} <br />$smarty->assign("about",$about); <br /><br />$smarty->display('index.tpl');<br />?><br />