1 頁 (共 1 頁)

[問題] 不能如常到討論區的首頁.......

發表於 : 2005-03-07 18:27
AlexAu
我在一次死機之後再上討論區便變成這樣子了....... :cry:

代碼: 選擇全部

Could not query forums information

DEBUG MODE

SQL Error : 1034 Incorrect key file for table: 'p'. Try to repair it

SELECT f.*, p.post_time, p.post_username, u.username, u.user_id FROM (( phpbb_forums f LEFT JOIN phpbb_posts p ON p.post_id = f.forum_last_post_id ) LEFT JOIN phpbb_users u ON u.user_id = p.poster_id ) ORDER BY f.cat_id, f.forum_order

Line : 169
File : D:\Web\_pub\e\index.php
如何是好?

我正使用\r
Windows Server 2003 Enterprise
Apache 2.0.52
PHP 4.3.10
MySQL 4.0.23

發表於 : 2005-03-08 18:00
fish206452
1.看樣子好像是資料庫損毀的, 您有沒有備份呢?

2.建議別再Windows上面裝apache, 因為那本來就是為unix設計的, 因為官司打輸了才出windows版..效能比不上linux下的apache跟win下的iis6

發表於 : 2005-03-08 18:07
bebe2803
奇怪, 還以為 apache 在 xp 和 2000/2003 介面上作了很多工作... (有個說什麼不太支援 95/98, 而全力為 xp/2003 寫....)

Re: [問題] 不能如常到討論區的首頁.......

發表於 : 2005-03-08 18:14
Mac
AlexAu 寫:

代碼: 選擇全部

Could not query forums information

DEBUG MODE

SQL Error : 1034 Incorrect key file for table: 'p'. [color=red]Try to repair it[/color]

SELECT f.*, p.post_time, p.post_username, u.username, u.user_id FROM (( phpbb_forums f LEFT JOIN [color=red]phpbb_posts p[/color] ON p.post_id = f.forum_last_post_id ) LEFT JOIN phpbb_users u ON u.user_id = p.poster_id ) ORDER BY f.cat_id, f.forum_order

Line : 169
File : D:\Web\_pub\e\index.php
答案就在錯誤訊息裡面\r

~Mac

發表於 : 2005-03-09 01:14
bebe2803
看不明呢... @@ 如果有這錯誤信息, 應作出什麼動作 ?

發表於 : 2005-03-09 02:34
wu2017
進入資料庫\r
點選全部資料表\r
資料表修復 或 資料表最佳化