php网站显示空白的有关问题

WBOY
Release: 2016-06-13 12:08:19
Original
903 people have browsed it

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 />
Copy after login

------解决思路----------------------
是不是缺少了index.tpl
------解决思路----------------------
什麼錯誤,Bad Request (Invalid Hostname)
------解决思路----------------------
Bad Request (Invalid Hostname)
错误的请求(无效的主机名)

http://us006.dbidc.pw 是有效的
如果这就是你的,那么是泛域名解析有误

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template