1 頁 (共 2 頁)

[問題]關於還原資料庫外掛

發表於 : 2004-01-11 02:16
andywang2
參考http://phpbb-tw.net/phpbb/viewtopic.php?t=13424
我跑完後會出現\r
Fatal error: Maximum execution time of 30 seconds exceeded in /phpBB2/restore_dump.php on line 80
能怎麼改...

發表於 : 2004-01-11 03:45
依夢兒
試著把 buffer 加大一點,例如 2048 ....

代碼: 選擇全部

// The read ahead buffer size used
$buffer_size = [color=red]1024[/color];

發表於 : 2004-01-11 08:10
fan
請問這個還原檔適用於plus 1.3嗎?
謝謝!

發表於 : 2004-01-11 09:31
fan
Restoration is now complete. \r

Please refer to restore_log.txt to view the errors encountered during the process

出現這樣,而且沒有匯入資料庫?
麻煩大大解答
謝謝

發表於 : 2004-01-11 10:09
shihchieh
那表示上傳(還原)仍然逾時了,可能是你的資料過大造成的

發表於 : 2004-01-11 11:53
andywang2
依夢兒 寫:試著把 buffer 加大一點,例如 2048 ....

代碼: 選擇全部

// The read ahead buffer size used
$buffer_size = [color=red]1024[/color];
最大可以加到多少...
我的資料庫11mb
不管怎麼跑都不行
還是有其他方法可以還原ㄇ

發表於 : 2004-01-11 11:59
aiken
如果你是架在自己的主機的話\r
php.ini

代碼: 選擇全部

;;;;;;;;;;;;;;;;;;;
; Resource Limits ;
;;;;;;;;;;;;;;;;;;;

max_execution_time = 300     ; Maximum execution time of each script, in seconds
max_input_time = 300	; Maximum amount of time each script may spend parsing request data
memory_limit = 10M      ; Maximum amount of memory a script may consume (8MB)
這幾行你可以調整看看

如果是架在外面的主機的話這個就沒辦法調了

發表於 : 2004-01-11 14:33
fan
yuan 寫:那表示上傳(還原)仍然逾時了,可能是你的資料過大造成的
那該如何解決呢?是否無法使用這個外掛?
謝謝大大 :-D

發表於 : 2004-01-11 20:39
依夢兒
fan 寫:請問這個還原檔適用於plus 1.3嗎?
謝謝!
可以,只要是支援 MySQL 的論壇和程式都可以用。

發表於 : 2004-01-11 22:16
fan
依夢兒 寫:
fan 寫:請問這個還原檔適用於plus 1.3嗎?
謝謝!
可以,只要是支援 MySQL 的論壇和程式都可以用。
你好~
那如果我資料庫有70MB是不是就沒辦法使用這個外掛匯入了呢?
我到100%時出現如下的錯誤:

Restoration is now complete.

Please refer to restore_log.txt to view the errors encountered during the process

yuan大大說是:那表示上傳(還原)仍然逾時了,可能是你的資料過大造成的
那我該如何解決呢 ?:oops:
謝謝依夢兒大大 :-D

發表於 : 2004-01-11 23:05
aiken
你是來亂的嗎?

Restoration is now complete.
這個也叫錯誤?!
你去查字典看看這句話什麼意思

發表於 : 2004-01-12 00:29
fan
aiken大大 你好\r
可是執行完畢時 它顯示
Restoration is now complete.
Please refer to restore_log.txt to view the errors encountered during the process


而我看我的新安裝論壇並沒有將備份的資料匯入阿\r
會員沒有 主題也沒有 只有匯入版面標題而已...
煩請aiken大大指教...
謝謝

發表於 : 2004-01-12 01:40
依夢兒
正常情況下,使用這個 Script 還原成功\時,瀏覽器只會出現 Restoration is now complete. 字樣。
至於下面那一行 Please 什麼的,我從來沒看過。

從字面上解釋,它是叫你看 restore_log.txt ,這是錯誤記錄檔,看一下吧!

這個 Script 我使用不下十多次了,還原 60 MB的 .sql 也不曾遇過任何問題。

發表於 : 2004-01-12 01:58
fan
了解!
他那個錯誤檔很長,看不懂~
可能是我有裝外掛的原因吧?
在請教一下,有可能會是裝外掛造成的嗎?
再次感謝!

發表於 : 2004-01-12 02:13
依夢兒
不知道,要看錯誤記錄才知道。