远端的所有地址链接显示都是http://localhost/lt/~~
但是管理端界面可以显示
但是登录后就出现资料库链接错误
我使用的是花生壳对域名进行管理
错误信息如下
Warning: mysql_pconnect() [function.mysql-pconnect]: Can't connect to MySQL server on 'www.enstu.net' (10061) in E:\AppServ\www\lt\class\database\pdb\drivers\pdbmysqldriver.class.php on line 103
Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in E:\AppServ\www\lt\class\database\pdb\drivers\pdbmysqldriver.class.php on line 133
Fatal error: Uncaught exception 'Exception' with message 'Fatal error: could not connect to the database! Error: ' in E:\AppServ\www\lt\class\database\db.class.php:76 Stack trace: #0 E:\AppServ\www\lt\class\dao\model.class.php(484): Db->getDb() #1 E:\AppServ\www\lt\class\dao\model.class.php(125): Model->_initializeDb() #2 E:\AppServ\www\lt\class\dao\userdata\baseuserdataprovider.class.php(107): Model->Execute('SELECT * FROM l...') #3 E:\AppServ\www\lt\class\dao\users.class.php(108): BaseUserDataProvider->getUsersBlogs('1', 1) #4 E:\AppServ\www\lt\class\action\admin\adminloginaction.class.php(99): Users->getUsersBlogs('1', 1) #5 E:\AppServ\www\lt\class\controller\controller.class.php(347): AdminLoginAction->perform() #6 E:\AppServ\www\lt\admin.php(43): Controller->process(Array, 'op') #7 {main} thrown in E:\AppServ\www\lt\class\database\db.class.php on line 76
现在我在想
lifetype在安装的过程中并没有考虑这个问题吗?
使用本地安装
localhost和域名的对应
我是PHP的初学者
各位大大有解决的方法吗?