感謝老師您出那麼多書讓我受益良多
我這次遇到問題如下
我安裝完老師您的相簿模組後
按使用者"觀看帳號"會出現空白頁面
偵錯顯示Fatal error: Cannot redeclare tadgallery_search() (previously declared in c:\appserv\www\0809\modules\tadgallery\include\search.php:2) in c:\appserv\www\0809\modules\tadnews\include\search.php on line 2
All errors (0) queries (49) blocks (3) extra (0) timers (5)
但是我發現將老師您的相簿模組關閉後
觀看帳號又可以正確使用了
依照偵錯有關相簿也有關新聞模組問題
但是關閉相簿模組後卻可以正常使用
所以我無法了解是發生什麼問題
可以請老師您指點一下嘛?感謝您
我的環境是
作業系統:XP Pro
Appserv:2.4.4a
Apache Web Server Version 1.3.33
PHP Script Language Version 4.3.11
MySQL Database Version 4.0.24
phpMyAdmin Database Manager Version 2.5.7-pl1
XOOPS則是XOOPS 2.0.17.1.S3版本
編碼UTF-8
此外在首頁偵錯也有下面幾項錯誤
Notice: Use of undefined constant _MI_TADGAL_NAME - assumed '_MI_TADGAL_NAME' in file /modules/tadgallery/xoops_version.php line 10
Notice: Use of undefined constant _MI_TADGAL_DESC - assumed '_MI_TADGAL_DESC' in file /modules/tadgallery/xoops_version.php line 16
Notice: Use of undefined constant _MI_TADGAL_TEMPLATE_DESC1 - assumed '_MI_TADGAL_TEMPLATE_DESC1' in file /modules/tadgallery/xoops_version.php line 55
Notice: Use of undefined constant _MI_TADGAL_TEMPLATE_DESC2 - assumed '_MI_TADGAL_TEMPLATE_DESC2' in file /modules/tadgallery/xoops_version.php line 57
Notice: Use of undefined constant _MI_TADGAL_BNAME4 - assumed '_MI_TADGAL_BNAME4' in file /modules/tadgallery/xoops_version.php line 62
Notice: Use of undefined constant _MI_TADGAL_BDESC4 - assumed '_MI_TADGAL_BDESC4' in file /modules/tadgallery/xoops_version.php line 63
Notice: Use of undefined constant _MI_TADGAL_BNAME1 - assumed '_MI_TADGAL_BNAME1' in file /modules/tadgallery/xoops_version.php line 70
Notice: Use of undefined constant _MI_TADGAL_BDESC1 - assumed '_MI_TADGAL_BDESC1' in file /modules/tadgallery/xoops_version.php line 71
Notice: Use of undefined constant _MI_TADGAL_BNAME2 - assumed '_MI_TADGAL_BNAME2' in file /modules/tadgallery/xoops_version.php line 78
Notice: Use of undefined constant _MI_TADGAL_BDESC2 - assumed '_MI_TADGAL_BDESC2' in file /modules/tadgallery/xoops_version.php line 79
Notice: Use of undefined constant _MI_TADGAL_BNAME3 - assumed '_MI_TADGAL_BNAME3' in file /modules/tadgallery/xoops_version.php line 86
Notice: Use of undefined constant _MI_TADGAL_BDESC3 - assumed '_MI_TADGAL_BDESC3' in file /modules/tadgallery/xoops_version.php line 87
Notice: Use of undefined constant _MI_TADGAL_BNAME5 - assumed '_MI_TADGAL_BNAME5' in file /modules/tadgallery/xoops_version.php line 94
Notice: Use of undefined constant _MI_TADGAL_BDESC5 - assumed '_MI_TADGAL_BDESC5' in file /modules/tadgallery/xoops_version.php line 95
Notice: Use of undefined constant _MI_TADGAL_BNAME6 - assumed '_MI_TADGAL_BNAME6' in file /modules/tadgallery/xoops_version.php line 102
Notice: Use of undefined constant _MI_TADGAL_BDESC6 - assumed '_MI_TADGAL_BDESC6' in file /modules/tadgallery/xoops_version.php line 103