具体是这样的:
我昨天修改了一下登录前首页和登录后首页的模板,增加了两个google广告。
刚开始没啥问题,也更新缓存了。
今天早上一看。输入网址http://www.dong72.com 首页一片空白,但是输入去掉www的http://dong72.com 就可以看到首页。
但是无法登录。输入用户名和密码后,然后进入输入验证问题的页面,输入后,点击提交,说是登录成功,但是还是会自动退出。
把debug设置为1后。下面是错误输出的调试信息。请高手指教
1 | 0.201 ms | SELECT uid, username FROM uchome_space WHERE uid='1' | Explain | id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra | 1 | SIMPLE | uchome_space | const | PRIMARY | PRIMARY | 3 | const | 1 | - |
|
2 | 0.192 ms | SELECT password FROM uchome_member WHERE uid='1' | Explain | id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra | 1 | SIMPLE | uchome_member | const | PRIMARY | PRIMARY | 3 | const | 1 | - |
|
3 | 0.186 ms | DELETE FROM uchome_session WHERE uid='1' OR lastactivity<'1291639399' |
4 | 0.255 ms | SELECT * FROM uchome_magicuselog WHERE uid='1' AND mid='invisible' | Explain | id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra | 1 | SIMPLE | uchome_magicuselog | ref | uid | uid | 35 | const,const | 1 | Using where |
|
5 | 0.152 ms | REPLACE INTO uchome_session (`uid`, `username`, `password`, `lastactivity`, `ip`) VALUES ('1', 'admin', '54f87d8d248545e89878d18af52edd92', '1291646599', '111193221') |
6 | 0.223 ms | SELECT * FROM uchome_creditlog WHERE uid='1' AND rid='10' | Explain | id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra | 1 | SIMPLE | uchome_creditlog | ref | uid | uid | 6 | const,const | 1 | - |
|
7 | 0.225 ms | UPDATE uchome_space SET lastlogin='1291646599',ip='111193221' WHERE uid='1' | Info | Rows matched: 1 Changed: 1 Warnings: 0 |
8 | 0.167 ms | SELECT * FROM uchome_spacelog WHERE uid='1' | Explain | id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra | 1 | SIMPLE | - | - | - | - | - | - | - | Impossible WHERE noticed after reading const tables |
|
9 | 0.198 ms | SELECT COUNT(*) FROM uchome_statuser WHERE `uid`='1' AND `daytime`='$nowdaytime' AND `type`='login' LIMIT 1 | Explain | id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra | 1 | SIMPLE | uchome_statuser | ref | uid | uid | 3 | const | 1 | Using where |
|
10 | 0.431 ms | SELECT * FROM uchome_creditlog WHERE uid='1' AND rid='5' | Explain | id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra | 1 | SIMPLE | uchome_creditlog | ref | uid | uid | 6 | const,const | 1 | - |
|
11 | 0.227 ms | UPDATE uchome_space SET avatar=1,updatetime=1291646599 WHERE uid='1' | Info | Rows matched: 1 Changed: 1 Warnings: 0 |
1 | $_COOKIE['__utma'] | 20637223.165272633.1289398060.1289746797.1289748610.27 | 2 | $_COOKIE['__utmz'] | 20637223.1289398060.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none) | 3 | $_COOKIE['uchome_loginuser'] | admin | 4 | $_COOKIE['read_feed_ids'] | 162846,162932,162949,162989,163106,163030,163153 | 5 | $_COOKIE['3cc342b19003f0bed42f3216bf7ac9ea'] | 2adec67b40e8891e99e596ad7262920c |
|