我使用Tad老師書中附的27號附件,依據書中27-1說的將這三個資料夾放到根目錄覆蓋,結果網站就開不了了,出現訊息如下:
Warning: main(/raid/vhost/os.url.tw/www/class/logger/xoopslogger.php) [function.main]: failed to open stream: No such file or directory in /raid/vhost/os.url.tw/www/include/common.php on line 106
Warning: main() [function.include]: Failed opening '/raid/vhost/os.url.tw/www/class/logger/xoopslogger.php' for inclusion (include_path='.:/usr/local/php4/lib/php') in /raid/vhost/os.url.tw/www/include/common.php on line 106
Fatal error: Undefined class name 'xoopslogger' in /raid/vhost/os.url.tw/www/include/common.php on line 107
我不太清楚106和107行出了什麼事,只怪自己一時忘了備份,誰能救一下?
我的網站 http://www.os.url.tw/
試過留言板說的了,變成這樣:
This page cannot be displayed due to an internal error.
You can provide the following information to the administrators of this site to help them solve the problem:
Error: Smarty error: the $compile_dir '/xoops_data001/caches/smarty_compile' does not exist, or is not a directory.
只有幾種可能:
1.xoops_data001/caches/smarty_compile 這資料夾不存在
2.xoops_data001/caches/smarty_compile 無法寫入
我看應該是第一種...
另一種狀況就是您的XOOPS不是2.3.x...