歡迎光臨, 訪客. 請先 登入註冊一個帳號.
五月 06, 2024, 07:19:27 下午
19595 文章 在 3865 主題 由 4580 會員
最新註冊會員: aa123aa1
LifeType 中文開發論壇  |  支援  |  使用與操作  |  模版安裝完之後首頁出現這些錯誤 « 上篇主題 下篇主題 »
頁: [1]
作者 主題: 模版安裝完之後首頁出現這些錯誤  (閱讀 10019 次)
awelkije
新手見習
*
文章: 5


檢視個人資料
« 於: 十一月 22, 2006, 09:23:03 下午 »

Exception message: fopen(./templates/\ocadia/main.template) [function.fopen]: failed to open stream: Permission denied
Error code: 2
-- Backtrace --
d:\inetpub\wwwroot\lf\class\template\smarty\Smarty.class.php(1717): fopen
d:\inetpub\wwwroot\lf\class\template\smarty\Smarty.class.php(1551): cachedtemplate._read_file
d:\inetpub\wwwroot\lf\class\template\smarty\Smarty.class.php(1417): cachedtemplate._fetch_resource_info
d:\inetpub\wwwroot\lf\class\template\smarty\Smarty.class.php(1263): cachedtemplate._compile_resource
d:\inetpub\wwwroot\lf\class\template\cachedtemplate.class.php(48): smarty.fetch
d:\inetpub\wwwroot\lf\class\view\smartyview.class.php(255): cachedtemplate.fetch
d:\inetpub\wwwroot\lf\class\view\blogview.class.php(252): smartyview.render
d:\inetpub\wwwroot\lf\class\view\defaultview.class.php(82): blogview.render
d:\inetpub\wwwroot\lf\class\controller\controller.class.php(330): defaultview.render
d:\inetpub\wwwroot\lf\index.php(50): blogcontroller.process
已記錄
james
LifeType 中文發展團隊
超級會員
*****
文章: 823


哼!!你不說,誰會知道你做過那些修改呢!? (丟滑鼠~~)


檢視個人資料 個人網站
« 回覆文章 #1 於: 十一月 22, 2006, 10:18:29 下午 »

Exception message: fopen(./templates/\ocadia/main.template) [function.fopen]: failed to open stream: Permission denied
Error code: 2
-- Backtrace --
d:\inetpub\wwwroot\lf\class\template\smarty\Smarty.class.php(1717): fopen
d:\inetpub\wwwroot\lf\class\template\smarty\Smarty.class.php(1551): cachedtemplate._read_file
d:\inetpub\wwwroot\lf\class\template\smarty\Smarty.class.php(1417): cachedtemplate._fetch_resource_info
d:\inetpub\wwwroot\lf\class\template\smarty\Smarty.class.php(1263): cachedtemplate._compile_resource
d:\inetpub\wwwroot\lf\class\template\cachedtemplate.class.php(48): smarty.fetch
d:\inetpub\wwwroot\lf\class\view\smartyview.class.php(255): cachedtemplate.fetch
d:\inetpub\wwwroot\lf\class\view\blogview.class.php(252): smartyview.render
d:\inetpub\wwwroot\lf\class\view\defaultview.class.php(82): blogview.render
d:\inetpub\wwwroot\lf\class\controller\controller.class.php(330): defaultview.render
d:\inetpub\wwwroot\lf\index.php(50): blogcontroller.process
紅色字體是問題所在.
請檢查檔案目錄所在權限.
另外,此問題屬於操作問題,因此轉移到使用與操作版面。

James.
已記錄

記得發問前,先使用搜尋功能找找看有沒相關的解答。
如果找不到,請依照如何在LifeType論壇發問來提問喔。
awelkije
新手見習
*
文章: 5


檢視個人資料
« 回覆文章 #2 於: 十一月 23, 2006, 07:44:08 下午 »

架站win2003 +php4.4 +mysql 4.0.23
我everyone都打勾了
還是這樣
已記錄
james
LifeType 中文發展團隊
超級會員
*****
文章: 823


哼!!你不說,誰會知道你做過那些修改呢!? (丟滑鼠~~)


檢視個人資料 個人網站
« 回覆文章 #3 於: 十一月 24, 2006, 08:00:07 上午 »

架站win2003 +php4.4 +mysql 4.0.23
我everyone都打勾了
還是這樣
請問你的http server是?? IIS或是apache??
我猜應該是IIS吧!?
如果是的話,請看一下這一篇 http://forum.lifetype.org.tw/index.php?topic=1720.msg10167#msg10167
另外你所發問的另一個問題,應該是相同原因.
因此如果可以解決,煩請回報一聲.並說明一下你的解決方式.
讓以後有相同狀況的人可以參考. 微笑
James.
« 最後編輯時間: 十一月 24, 2006, 08:03:57 上午 由 james » 已記錄

記得發問前,先使用搜尋功能找找看有沒相關的解答。
如果找不到,請依照如何在LifeType論壇發問來提問喔。
頁: [1]
LifeType 中文開發論壇  |  支援  |  使用與操作  |  模版安裝完之後首頁出現這些錯誤 « 上篇主題 下篇主題 »
    前往: