:::
XOOPS使用討論區

tad link 在更新tad tools後 模組首頁空白

discuss pic 2014-09-05 08:17:36
老師您好:
我移除tad link之後,首頁可以用,用手動新增一個連結之後,模組首頁一樣就出現空白。
錯誤訊息如下:

問題
0.000115 - SET NAMES \'utf8\'
0.000065 - SET SQL_BIG_SELECTS = 1
0.000101 - SELECT * FROM config WHERE (conf_modid = \'0\' AND conf_catid = \'1\') ORDER BY conf_order ASC
0.000318 - SELECT sess_data, sess_ip FROM session WHERE sess_id = \'ht0hqlvd094e2c9fmi6mefhln6\'
0.000090 - SELECT * FROM users WHERE uid = \'1\'
0.000075 - SELECT * FROM modules WHERE dirname = \'tad_link\'
0.000370 - SELECT * FROM config WHERE (conf_modid = \'62\') ORDER BY conf_order ASC
0.000104 - SELECT * FROM config WHERE (conf_modid = \'0\' AND conf_catid = \'3\') ORDER BY conf_order ASC
0.000083 - SELECT DISTINCT gperm_itemid FROM group_permission WHERE gperm_name = \'block_read\' AND gperm_modid = 1 AND gperm_groupid IN (7,5,2,1,22)
0.000085 - SELECT b.* FROM newblocks b, block_module_link m WHERE m.block_id=b.bid AND b.isactive=1 AND b.visible=1 AND m.module_id IN (0,62) AND b.bid IN (4,5,6,7,8,9,10,11,12,61,62,15,16,17,18,19,20,22,23,24,25,26,27,128,127,44,45,46,67,40,129,3,68,1,2,149,160,159,92,97,95,93,98,96,94,90,99,91,82,89,83,148,147,146,145,144,143,142,141,140,139,138,122,101,102,114,118,117,116,115,113,119,120,121,123,124,126,131,132,135,136,137,150,151,152,153,154) ORDER BY b.weight, m.block_id
0.000072 - SELECT f.*, s.tpl_source FROM tplfile f LEFT JOIN tplsource s ON s.tpl_id=f.tpl_id WHERE (tpl_tplset = \'default\' AND tpl_file = \'system_block_themes.html\') ORDER BY tpl_refid
0.000060 - SELECT f.*, s.tpl_source FROM tplfile f LEFT JOIN tplsource s ON s.tpl_id=f.tpl_id WHERE (tpl_tplset = \'default\' AND tpl_file = \'system_block_search.html\') ORDER BY tpl_refid
0.000060 - SELECT * FROM modules WHERE dirname = \'tadtools\'
0.000054 - SELECT * FROM config WHERE (conf_modid = \'50\') ORDER BY conf_order ASC
0.000047 - select `tt_use_bootstrap`,`tt_bootstrap_color` from `tadtools_setup` where `tt_theme`=\'school2014\'
0.000046 - select * from tad_link_cate
0.000053 - select * from tad_link where enable=\'1\' and (unable_date=\'0000-00-00\' or unable_date >=\'2014-09-05\') order by post_date desc
0.000051 - select * from tad_link where enable=\'1\' and (unable_date=\'0000-00-00\' or unable_date >=\'2014-09-05\') order by post_date desc LIMIT 0, 10
0.000053 - select * from tad_link where link_sn=\'1\'
0.000049 - select * from tad_link where link_sn=\'1\'
discuss pic 2014-09-05 08:19:03
tad
這些都不是錯誤訊息。
只是SQL執行語法
discuss pic 2014-09-05 08:52:44
tad老師,錯誤訊息是這個..我以為是資料庫的問題導致空白。
通知: Undefined variable: active 在檔案中的第 /modules/tadtools/common/xoops.php 列 101
discuss pic 2014-09-05 08:55:25
tad
「通知」也不是錯誤訊息
只是一些語法嚴謹程度的問題,不影響程式運作。

請檢查php.ini的display_error有沒有設成On(異動後記得重啟Apache)
感覺該出來的錯誤訊息都沒跑出來
discuss pic 2014-09-05 09:05:04
請問tad老師,是這個訊息嘛?

Call to undefined function imagecreatetruecolor() in /www/modules/tad_link/function.php on line 174
discuss pic 2014-09-05 09:16:05
tad
您的php不支援imagecreatetruecolor這個函數
discuss pic 2014-09-05 09:25:03
tad
您的PHP是幾版的?感覺很舊...或者沒啟動GD
discuss pic 2014-09-05 09:29:56
我使用的環境是
XOOPS 版本: XOOPS 2.5.6
PHP 版本: 5.5.9-1ubuntu4.3
MySQL 版本: 5.5.38
---
GD還有
imagecreatetruecolor
我再看看是否有支援
discuss pic 2014-09-05 09:49:02
tad
原來不是太舊,而是太新....
discuss pic 2014-09-05 10:39:22
感謝tad老師~
真的是php5-gd沒裝。剛剛裝好之後,設定的畫面就出現了
:::

搜尋

QR Code 區塊

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

線上使用者

113人線上 (91人在瀏覽討論留言)

會員: 0

訪客: 113

更多…