首页上一页 1 下一页尾页 1 条记录 1/1页
后台登陆不了,老是提示用户名错误!!!!
发表在PHP图书答疑
2011-04-29
是否精华
是
否
版块置顶:
是
否
我买的是php编程宝典
第二十一章,企业网站开发模板的后台登陆不了,老是提示用户名错误!我是按书本提供的用户名和密码!!!
并且我改了数据库都登陆不了!!!!首页和分页还提示一大堆错误..........
下面是打开首页时候的提示..........
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'root'@'localhost' (using password: YES) in E:\wamp\www\88\adodb\drivers\adodb-mysql.inc.php on line 364
Notice: Use of undefined constant class_title - assumed 'class_title' in E:\wamp\www\88\index.php on line 3
Notice: Undefined index: class_title in E:\wamp\www\88\index.php on line 3
Notice: Use of undefined constant conn_type - assumed 'conn_type' in E:\wamp\www\88\cpzs.php on line 4
Notice: Undefined index: conn_type in E:\wamp\www\88\cpzs.php on line 4
Notice: Use of undefined constant conn_type - assumed 'conn_type' in E:\wamp\www\88\cpzs.php on line 8
Notice: Undefined index: conn_type in E:\wamp\www\88\cpzs.php on line 8
Notice: Undefined index: page in E:\wamp\www\88\cpzs.php on line 13
Notice: Undefined index: class_title in E:\wamp\www\88\cpzs.php on line 14
Notice: Undefined variable: str in E:\wamp\www\88\system\system.class.inc.php on line 108
下面是打开后台登陆地址的提示...........
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'root'@'localhost' (using password: YES) in E:\wamp\www\88\adodb\drivers\adodb-mysql.inc.php on line 364
[font color=#FF0000][strong]以上情况只有在wamp下出现.....换了appserv后正常了,但是还有几个问题,那就是在appserv下搜狗浏览器是访问不了的,显示一片空白。在ie下和遨游下显示正常,但是后台登陆后又是一片空白,查看源码里面只有:<script>alert('登录成功');location='main.php';</script>,没有自动跳转到main.php,这时候在浏览器直接访问main.php正常。[/strong][/font]
第二十一章,企业网站开发模板的后台登陆不了,老是提示用户名错误!我是按书本提供的用户名和密码!!!
并且我改了数据库都登陆不了!!!!首页和分页还提示一大堆错误..........
下面是打开首页时候的提示..........
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'root'@'localhost' (using password: YES) in E:\wamp\www\88\adodb\drivers\adodb-mysql.inc.php on line 364
Notice: Use of undefined constant class_title - assumed 'class_title' in E:\wamp\www\88\index.php on line 3
Notice: Undefined index: class_title in E:\wamp\www\88\index.php on line 3
Notice: Use of undefined constant conn_type - assumed 'conn_type' in E:\wamp\www\88\cpzs.php on line 4
Notice: Undefined index: conn_type in E:\wamp\www\88\cpzs.php on line 4
Notice: Use of undefined constant conn_type - assumed 'conn_type' in E:\wamp\www\88\cpzs.php on line 8
Notice: Undefined index: conn_type in E:\wamp\www\88\cpzs.php on line 8
Notice: Undefined index: page in E:\wamp\www\88\cpzs.php on line 13
Notice: Undefined index: class_title in E:\wamp\www\88\cpzs.php on line 14
Notice: Undefined variable: str in E:\wamp\www\88\system\system.class.inc.php on line 108
下面是打开后台登陆地址的提示...........
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'root'@'localhost' (using password: YES) in E:\wamp\www\88\adodb\drivers\adodb-mysql.inc.php on line 364
[font color=#FF0000][strong]以上情况只有在wamp下出现.....换了appserv后正常了,但是还有几个问题,那就是在appserv下搜狗浏览器是访问不了的,显示一片空白。在ie下和遨游下显示正常,但是后台登陆后又是一片空白,查看源码里面只有:<script>alert('登录成功');location='main.php';</script>,没有自动跳转到main.php,这时候在浏览器直接访问main.php正常。[/strong][/font]