:::
XOOPS使用討論區

安裝tadbook後 出現程式提醒問題

discuss pic 2012-02-23 03:35:35
我的安裝環境如圖

我裝完後tadbook後 在首頁出現Notice: Use of undefined constant XOOPS_ROOT_PATH - assumed 'XOOPS_ROOT_PATH' in C:\xampp\htdocs\xoops\modules\tad_book3\header.php on line 7

我把header.php 打開後7-9行出現的文字
if(file_exists(XOOPS_ROOT_PATH."/modules/tadtools/mobile_device_detect.php")){
include_once XOOPS_ROOT_PATH."/modules/tadtools/mobile_device_detect.php";
mobile_device_detect(true, false, true, true, true, true, true, 'pda.php', false);

雖然程式上還是可以用 只不過最上頭出現那個文字 以及有點破版 還是覺得怪怪的
discuss pic 2012-02-23 03:45:30
tad
關閉PHP偵錯即可。
discuss pic 2012-02-23 04:19:33
感謝tad大 回覆
但我很確認 PHP偵錯有關閉 會不會我安裝的環境(xampp太新了)
:::

搜尋

QR Code 區塊

https%3A%2F%2Fwww.tad0616.net%2Fmodules%2Ftad_discuss%2Fdiscuss.php%3FDiscussID%3D2278

線上使用者

30人線上 (17人在瀏覽討論留言)

會員: 0

訪客: 30

更多…