:::
XOOPS使用討論區

模組更新後,部分畫面無法顯示

discuss pic 2017-11-28 08:51:04
Tad老師您好
我校網模組更新後,"學校行政"/"處室簡介"的幾個子項目內容卻不見了?
上次上您的研習課,也是在模組更新後,這地方的內容就不見了...
研習那天您有幫我改.內容就有出現~但我來不及看是從哪兒改的!!
可以再為我解惑一次嗎?感謝您~
discuss pic 2017-11-28 09:03:46
tad
呃...老實說,我也不記得
但確定的是TinyD實在是太舊了
不過貴校的XOOPS更舊
所以,去下載TinyD的舊版試試...

但最好的作法還是:
  1. 更新PHP
  2. 更新XOOPS
  3. 更新所有模組及佈景
  4. 將TinyD的內容轉移到Tadnews的自訂頁面
discuss pic 2017-11-28 09:32:56
這是給「周詠琳」的悄悄話喔!
discuss pic 2017-11-28 09:40:07
tad
看錯誤訊息是時區沒設
警告: strftime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Chongqing' for 'CST/8.0/no DST' instead 在檔案中的第 /class/smarty/plugins/modifier.date_format.php 列 53

請連到 http://www.hhps.hc.edu.tw/modules/tad_adm/admin/phpini.php
並編輯/etc/php.ini
依照建議值修改
改完重啟Apache試試
discuss pic 2017-11-30 19:13:39
老師您好~
 http://www.hhps.hc.edu.tw/modules/tad_adm/admin/phpini.php 的phpini.php時區原本就是Asia/Taipei
/etc/php.ini 的php.ini內時區我已加上去Asia/Taipei了
以上如圖
重啟Apache後.網頁處室的內容仍然沒有呈現耶~
discuss pic 2017-11-30 23:13:20
tad
時區的錯誤訊息確實沒出現了
重新更新模組就好了
看來是樣板跑掉了而已。
discuss pic 2017-12-01 10:32:11
真的!
再更新模組就出現了耶~
為了這件事已經折騰我快兩個月了~
感謝tad神~~
:::

搜尋

QR Code 區塊

https%3A%2F%2Fwww.tad0616.net%2Fmodules%2Ftad_discuss%2Fdiscuss.php%3FDiscussID%3D33796%26BoardID%3D17

線上使用者

207人線上 (182人在瀏覽討論留言)

會員: 0

訪客: 207

更多…