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
Discuz – unethost無限空間虛擬主機 技術分享部落格

解決 discuz 在 facebook 分享不會自動抓圖的問題(open graph插件)

大多的套裝程式,不見得能解決 facebook open graph 的問題,
因而靠插件來處理解決是最快的。

今天來介紹discuz的一個插件就能處理個狀況:

閱讀全文 解決 discuz 在 facebook 分享不會自動抓圖的問題(open graph插件)

如何快速解決discuz後台管理變空白的問題?

discuz是已經問世10年的一套論壇系統,
在亞洲華人被大量使用,但他也有相當脆弱的一面,
我們在之前寫過:解決discuz前台的論壇變空白的問題
今天在講到管理員後台也會變空白的問題。

閱讀全文 如何快速解決discuz後台管理變空白的問題?

如何設定 discuz 透過 gmail smtp 寄信? (discuz主程式和ucenter的smtp差異性)

discuz是一套很特殊的論壇,
現在新版本的discuz是由 discuz主程式+ucenter會員管理所組成的。

所以在設置 gmail smtp 寄信
得分別設定這兩樣系統,否則會有意想不到的錯誤發生。

閱讀全文 如何設定 discuz 透過 gmail smtp 寄信? (discuz主程式和ucenter的smtp差異性)

discuz資料庫編碼設定,導致登入問題

discuz_issue_wp

這幾天因協助移機,又接觸到discuz這一套論壇程式。
discuz 因為新版本更新及維護,程式現在是越來越肥,
加上語系編碼等問題,操作上如果沒狀況就沒問題,
一但出現問題就會相當棘手(主要是透過網站搜索不到解法)。

閱讀全文 discuz資料庫編碼設定,導致登入問題

Discuz的圖形驗証碼出不來

客戶反映,他們的獨立主機上,有Discuz的圖形驗証碼出不來的錯誤。

我們一查php生成的error檔,看到的訊息是:
PHP Fatal error:  Call to undefined function imagettftext()

看來是有少php的library。這個imagettftext()所對應的php library,是GD和freetype這兩個。所以解決之道就是:

  1. 執行cpanel的easyapache:WHM -> Software -> EasyApache
  2. If prompted to upgrade, do so then repeat the above step
  3. Begin customizing based on the current provile
  4. Proceed through the screens until you get to “Step 5”
  5. On “Step 5,” click on “Exhaustive Options”
  6. Under PHP, check the checkbox for GD, ttf
  7. Proceed with Build & Compile Process

一旦成功了,圖形驗証碼就出來了。