PHPweb的源码本地测试可以,传到空间后就不行了,?
我在本地测试可以,可是一传到空间上就不行,没有弹出一个输入数据库名称的,下图,显示的是:PHPWarning:main(base/language/.php)[<ahre...
我在本地测试可以,可是一传到空间上就不行,没有弹出一个输入数据库名称的,下图,显示的是:
PHP Warning: main(base/language/.php) [<a href='function.main'>function.main</a>]: failed to open stream: No such file or directory in H:\root\home\hsjiang001-001\www\site1\includes\common.inc.php on line 27 PHP Warning: main() [<a href='function.include'>function.include</a>]: Failed opening 'base/language/.php' for inclusion (include_path='.;c:\php5\includes;c:\php5\pear') in H:\root\home\hsjiang001-001\www\site1\includes\common.inc.php on line 27 PHP Warning: mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Can't connect to MySQL server on 'localhost' (10061) in H:\root\home\hsjiang001-001\www\site1\includes\db.inc.php on line 22 PHP Warning: mysql_get_server_info() [<a href='function.mysql-get-server-info'>function.mysql-get-server-info</a>]: Can't connect to MySQL server on 'localhost' (10061) in H:\root\home\hsjiang001-001\www\site1\includes\db.inc.php on line 87 PHP Warning: mysql_get_server_info() [<a href='function.mysql-get-server-info'>function.mysql-get-server-info</a>]: A link to the server could not be established in H:\root\home\hsjiang001-001\www\site1\includes\db.inc.php on line 87
本地测试没问题 展开
PHP Warning: main(base/language/.php) [<a href='function.main'>function.main</a>]: failed to open stream: No such file or directory in H:\root\home\hsjiang001-001\www\site1\includes\common.inc.php on line 27 PHP Warning: main() [<a href='function.include'>function.include</a>]: Failed opening 'base/language/.php' for inclusion (include_path='.;c:\php5\includes;c:\php5\pear') in H:\root\home\hsjiang001-001\www\site1\includes\common.inc.php on line 27 PHP Warning: mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Can't connect to MySQL server on 'localhost' (10061) in H:\root\home\hsjiang001-001\www\site1\includes\db.inc.php on line 22 PHP Warning: mysql_get_server_info() [<a href='function.mysql-get-server-info'>function.mysql-get-server-info</a>]: Can't connect to MySQL server on 'localhost' (10061) in H:\root\home\hsjiang001-001\www\site1\includes\db.inc.php on line 87 PHP Warning: mysql_get_server_info() [<a href='function.mysql-get-server-info'>function.mysql-get-server-info</a>]: A link to the server could not be established in H:\root\home\hsjiang001-001\www\site1\includes\db.inc.php on line 87
本地测试没问题 展开
4个回答
展开全部
检查虚拟主机 是否符合PHPWEB条件
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
路径有问题,好像
追问
什么路径问题呢?
追答
贴一下代码看看了
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
用的是哪家IDC的空间?
追问
香港空间,易网库
追答
你的这个问题跟空间商没有关系。
可能是程序已经安装过的原因建议重新上传未安装的完整程序
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询