PDA

查看完整版本 : [問題]關於網站移植到新空間


skeptic
2004-08-15, 05:40 PM
各位前輩:

由於小弟在等待主機商設定完成之前已經在免費空間(freepgs.com)架好phpbb論壇,現在想要整個移植到新的付費空間去!
小弟應該是完整備份還是只備份資料然後到新站還原資料庫呢?
另外,在還原時是否必須特別注意哪些事項?

哈啦
2004-08-15, 05:43 PM
所謂完整備份就是傋份原來的資料庫而已,不是把整個phpbb都備份。你只要到新主機一樣新安裝一次phpbb,然後再用還原資料庫的方法把備份的資料庫裝上去,但好像你的資料庫一旦超過2MB就無法直接還原,而需要用其他方法如phpMyAdmin或者請主機商直接幫你還原。

skeptic
2004-08-15, 06:30 PM
站長:
不好意思 再追問一下 :bow

我在新站把備份的資料庫裝上去之後,發現上傳圖像會有如下錯誤訊息:
這我看不懂 不知道有沒有解決辦法??

Warning: copy(./images/avatars/501774851411f3abd83d6f.jpg): failed to open stream: Permission denied in /home/skeptic/public_html/phpBB2/includes/usercp_avatar.php on line 227

Warning: Cannot modify header information - headers already sent by (output started at /home/skeptic/public_html/phpBB2/includes/usercp_avatar.php:227) in /home/skeptic/public_html/phpBB2/includes/page_header.php on line 475

Warning: Cannot modify header information - headers already sent by (output started at /home/skeptic/public_html/phpBB2/includes/usercp_avatar.php:227) in /home/skeptic/public_html/phpBB2/includes/page_header.php on line 477

Warning: Cannot modify header information - headers already sent by (output started at /home/skeptic/public_html/phpBB2/includes/usercp_avatar.php:227) in /home/skeptic/public_html/phpBB2/includes/page_header.php on line 478

回憶過去
2004-08-15, 07:36 PM
如果有安裝外掛就要另外用了

skeptic
2004-08-15, 11:02 PM
~what 我的phpBB版本是2.0.10
奇怪! 就算我是全新安裝之後要上傳圖像也會出現那些訊息 :hitwall

哈啦
2004-08-15, 11:04 PM
站長:
不好意思 再追問一下 :bow

我在新站把備份的資料庫裝上去之後,發現上傳圖像會有如下錯誤訊息:
這我看不懂 不知道有沒有解決辦法??

Warning: copy(./images/avatars/501774851411f3abd83d6f.jpg): failed to open stream: Permission denied in /home/skeptic/public_html/phpBB2/includes/usercp_avatar.php on line 227



看起來像是你的新主機裡的部份檔案和目錄的權限沒有完全開放。有時你需要請主機商幫你一次性的修改,或者你就得一個一個改成777。