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
wordpress錯誤訊息 – unethost無限空間虛擬主機 技術分享部落格 https://blog.unethost.com unethost 專注於提供優質的虛擬主機服務及相關問題解答 Fri, 22 Jul 2016 07:56:11 +0000 zh-TW hourly 1 https://wordpress.org/?v=6.0.8 如何解決 wordpress 錯誤訊息: Notice: unserialize(): Error at offset 3403 of 4096 bytes in /home/yuhouseshop/public_html/system/library/cache.php on line 11 https://blog.unethost.com/how_to_fix_wordpress_error_issue-notice-unserialize-error-at-offset-3403-of-4096-bytes-in-homeyuhouseshoppublic_htmlsystemlibrarycache-php-on-line-11/ Fri, 22 Jul 2016 07:50:49 +0000 http://blog.unethost.com/?p=3756 閱讀全文 如何解決 wordpress 錯誤訊息: Notice: unserialize(): Error at offset 3403 of 4096 bytes in /home/yuhouseshop/public_html/system/library/cache.php on line 11]]> 如果php無故出現特殊問題,
建議可以開啟display_errors來進行除錯。

這一次遇到的這個wordpress的錯誤訊息,
雖然沒有啟動display errors,但頁面則是自動秀出錯誤訊息。

這是使用worpdress+購物車的狀況,
當網站運作到一半時,首頁出現這樣的錯誤訊息。

wp_error_issue_cache_01
圖示為真實範例,因客戶資料保密,所以除示範訊息外, 其他部份都有加密。

我們的經驗是:
當看到錯誤訊息時,只要仔細閱讀字串,通常就可以解掉問題;

否則就是把error message貼到google搜索看看,
只要是常見的套裝軟體,在google裡已經有累積相當的知識搜索。

本次的狀況:
因為這不是剛安裝好就出現,而是已經上線,
並使用一段時間後出現的,當我們看到錯誤提示,
就發現這是是快取出問題的提示,

通常套裝軟體的快取就是使用硬碟讀寫,
所以馬上去查硬碟使用。

果不其然,原來是主機帳號的硬碟容量達上限引起的,
緊急調整後,就沒有錯誤訊息了。

 

結論:
因這是購物網站,訪客如果看到程式碼後,會以為網站有問題,
而不敢下單,這樣對於站內行銷就會很吃虧。
站長很有警覺性,馬上通知我們處理,這是相當正確的。

 

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

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

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

 

]]>