Warning: include(/home/blog66rr/public_html/wp-content/plugins/hyper-cache/cache.php): failed to open stream: No such file or directory in /home/blog66rr/public_html/wp-content/advanced-cache.php on line 24

Warning: include(/home/blog66rr/public_html/wp-content/plugins/hyper-cache/cache.php): failed to open stream: No such file or directory in /home/blog66rr/public_html/wp-content/advanced-cache.php on line 24

Warning: include(): Failed opening '/home/blog66rr/public_html/wp-content/plugins/hyper-cache/cache.php' for inclusion (include_path='.:/opt/cpanel/ea-php70/root/usr/share/pear') in /home/blog66rr/public_html/wp-content/advanced-cache.php on line 24

Warning: Cannot modify header information - headers already sent by (output started at /home/blog66rr/public_html/wp-content/advanced-cache.php:24) in /home/blog66rr/public_html/wp-includes/feed-rss2.php on line 8
資料庫修復 – unethost無限空間虛擬主機 技術分享部落格 https://blog.unethost.com unethost 專注於提供優質的虛擬主機服務及相關問題解答 Tue, 22 Nov 2016 15:48:04 +0000 zh-TW hourly 1 https://wordpress.org/?v=6.0.8 如何透過cpanel 修復使用中的 wordpress 發生:建立資料庫連線時發生錯誤? https://blog.unethost.com/how_to_fix_online_wordpress_database_issue_at_cpanel/ Tue, 22 Nov 2016 15:45:53 +0000 http://blog.unethost.com/?p=4150 閱讀全文 如何透過cpanel 修復使用中的 wordpress 發生:建立資料庫連線時發生錯誤?]]> 我們自己使用wordpress架blog站,剛剛進行瀏覽時發生:建立資料庫連線時發生錯誤檢查一下mysql是正常上線的,然而只要透過我們下列的說明步驟,就可解決。

通常如果是新安裝wordpress,很可能是沒設定好db name , db user , db password等資料,而導致無法連線無法安裝。

但是如果已經是使用中的網站,則是要跑一下資料庫修復就可以解決。

how_to_fix_online_wordpress_database_issue_at_cpanel_01

 

1. wordpress遇到這個問題,先別緊張被駭的問題,通常透過資料庫修復功能
就可以處理掉的。

2. 跑完後,如果有出現下列數據,就是修復完成,會有訊息提示,
是哪一個db table出問題。

how_to_fix_online_wordpress_database_issue_at_cpanel_02

 

當然如果跑修復後還是無法修好,
可以直接通知我們進行協助。

 

(本篇教學由unethost.com客服撰寫)

延伸閱讀:如何備份Cpanel後台安裝的套裝程式?

安裝上述的軟體,我們提供虛擬主機試用,七天滿意保證,
功能完整使用不受限制,歡迎點我申請。

 

 

 

]]>
如何解決網站讀取到特定頁面,會出現 Internal Server Error的問題 (資料庫修復功能講解) https://blog.unethost.com/how_to_fix_internal-server-error_at_a_specific_web_page/ Fri, 02 Sep 2016 14:20:15 +0000 http://blog.unethost.com/?p=3874 閱讀全文 如何解決網站讀取到特定頁面,會出現 Internal Server Error的問題 (資料庫修復功能講解)]]> 今天講解的這個部份,是特殊的網站狀況,
有一php購物站,只要送出訂單後一陣子就會出現:
Internal Server Error

在未動過程式的情況下,這類狀況可能會跟資料庫的寫入有關,
這時就跑看看資料庫修復功能試試。
果然一試成功,另外除了cpanel的資料庫修復功能
最近經我們查看後,發現phpmyadmin的內建功能也有開啟,
所以一併介紹資料庫修復的新步驟。

 

1.登入cpanel控制台後,並搜索phpmy,並點擊之。

how_to_fix_internal-server-error_at_a_specific_web_page_01

2.選擇db name。

how_to_fix_internal-server-error_at_a_specific_web_page_02

3. 在資料表的最下方,將”全選“打勾,然後 “已選擇項目” 移到 “修復資料表” 。
千萬注意,不要移到清空或是刪除,因為一移過去就會開始動作。
清空 = 保留資料表並刪除其內的資料 ,
刪除 = 包含資料表及內容都刪掉。

how_to_fix_internal-server-error_at_a_specific_web_page_03

 

4.這樣就完成了。

how_to_fix_internal-server-error_at_a_specific_web_page_04

 

這次能順利處理,是透過經驗法則,
但真正遇到無法排除的情況,還是得觀察一下log檔,
才是比較好的檢查流程。

今天補一個小八掛,以前在單機版時代,
也有類似的修復工具。

看資料庫類型,
買一套廠商開發的修復程式,
可能數千台幣到數十萬都有,
當軟體公司銷售有資料庫的套裝程式後,
客戶每隔一段期間就需要跑一次修復,
就會派工程師到客戶公司,每次收費數千元。

(本篇教學由unethost.com客服撰寫)

延伸閱讀:如何備份Cpanel後台安裝的套裝程式?

安裝上述的軟體,我們提供虛擬主機試用,七天滿意保證,
功能完整使用不受限制,歡迎點我申請。

]]>