歡迎光臨, 訪客. 請先 登入註冊一個帳號.
四月 19, 2024, 11:21:56 下午
19595 文章 在 3865 主題 由 4580 會員
最新註冊會員: aa123aa1
LifeType 中文開發論壇  |  支援  |  安裝與設定  |  升級 LifeType 1.2 版 « 上篇主題 下篇主題 »
頁: [1]
作者 主題: 升級 LifeType 1.2 版  (閱讀 17427 次)
crusade
新手見習
*
文章: 4


檢視個人資料
« 於: 三月 22, 2007, 08:28:06 上午 »

請問一下,我在 升級 LifeType 1.2 版後,現在進入網站後都會出現錯誤,

Exception message: unlink(./tmp/1\%%7A^7A2^7A2A4818%%cleanup.template.php) [function.unlink]: No such file or directory
Error code: 2
-- Backtrace --
D:\lifetype\class\template\smarty\internals\core.write_file.php(44): unlink
D:\lifetype\class\template\smarty\internals\core.write_compiled_resource.php(29): smarty_core_write_file
D:\lifetype\class\template\smarty\Smarty.class.php(1433): smarty_core_write_compiled_resource
D:\lifetype\class\template\smarty\Smarty.class.php(1263): template._compile_resource
D:\lifetype\class\template\template.class.php(198): smarty.fetch
D:\lifetype\class\view\admin\admintemplatedview.class.php(43): template.fetch
D:\lifetype\class\controller\controller.class.php(379): admintemplatedview.render
D:\lifetype\admin.php(43): admincontroller.process

Exception message: unlink(./tmp/1\%%F4^F4E^F4E7A413%%header.template.php) [function.unlink]: No such file or directory
Error code: 2
-- Backtrace --
D:\lifetype\class\template\smarty\internals\core.write_file.php(44): unlink
D:\lifetype\class\template\smarty\internals\core.write_compiled_resource.php(29): smarty_core_write_file
D:\lifetype\class\template\smarty\Smarty.class.php(1433): smarty_core_write_compiled_resource
D:\lifetype\class\template\smarty\Smarty.class.php(1869): template._compile_resource
D:\lifetype\class\template\template.class.php(136): smarty._smarty_include
D:\lifetype\tmp\1\%%7A^7A2^7A2A4818%%cleanup.template.php(4): template._smarty_include
D:\lifetype\class\template\smarty\Smarty.class.php(1265): include
D:\lifetype\class\template\template.class.php(198): smarty.fetch
D:\lifetype\class\view\admin\admintemplatedview.class.php(43): template.fetch
D:\lifetype\class\controller\controller.class.php(379): admintemplatedview.render
D:\lifetype\admin.php(43): admincontroller.process

看這個錯誤訊息好像是讀取檔案時路徑的斜線有問題,
這個問題要改那裡,謝謝大家幫忙一下 !!
已記錄
falcon
新手見習
*
文章: 2


檢視個人資料
« 回覆文章 #1 於: 三月 22, 2007, 01:38:32 下午 »

報告!
我發生的狀況也是這樣。
向各位求教。
已記錄

我的pLOG運行環境
Win2003 Ent./Apache 1.3.3/PHP 4.3.10/MySQL 4.1.9/pLog 1.0.1 Final/GD2.0/Grey Template
Linux Redhat 9/Apache 2.0.12/PHP 5.0.1/MySQL 5.0/pLog 1.0.1 Final/GD2.0/Grey Template
markwu
系統管理員
超級會員
*****
文章: 3928


Mark Wu


檢視個人資料 個人網站
« 回覆文章 #2 於: 三月 23, 2007, 01:40:39 上午 »

這是 smarty 的 bug ...

已經在 SVN 1.2 branchs  中修復了。

請下載 http://devel.lifetype.net/svn/plog/plog/branches/lifetype-1.2/class/template/smarty/internals/core.write_file.php

然後覆蓋過原始檔案就可以了。

Mark
已記錄

crusade
新手見習
*
文章: 4


檢視個人資料
« 回覆文章 #3 於: 三月 23, 2007, 10:37:53 上午 »

今天又發現一個現象,就是我要登入管理介面   admin.php ,
但是我的帳號是打成大寫(當初建立時是小寫),結果就出現這個訊息
Fatal error: Call to a member function on a non-object in D:\lifetype\class\dao\userdata\lifetypeuserdataprovider.class.php on line 74

,如果帳號是打小寫,就會出現 "很抱歉,您輸入的帳號或密碼錯誤",這是正常的,
因為這個問題如果不改的話,那就會讓人家知道你的帳號是什麼了,他只要去猜密碼就可以了!,謝謝
已記錄
crusade
新手見習
*
文章: 4


檢視個人資料
« 回覆文章 #4 於: 三月 23, 2007, 11:08:52 上午 »

再提一個問題,在發表的文章左上角出現的日期沒有年月日,看起來真的是很怪,希望可以加上年月日顯示,謝謝!!
已記錄
markwu
系統管理員
超級會員
*****
文章: 3928


Mark Wu


檢視個人資料 個人網站
« 回覆文章 #5 於: 三月 23, 2007, 11:29:43 上午 »

今天又發現一個現象,就是我要登入管理介面   admin.php ,
但是我的帳號是打成大寫(當初建立時是小寫),結果就出現這個訊息
Fatal error: Call to a member function on a non-object in D:\lifetype\class\dao\userdata\lifetypeuserdataprovider.class.php on line 74

,如果帳號是打小寫,就會出現 "很抱歉,您輸入的帳號或密碼錯誤",這是正常的,
因為這個問題如果不改的話,那就會讓人家知道你的帳號是什麼了,他只要去猜密碼就可以了!,謝謝

因為忘了把 log 移除,剛剛我在 SVN 中修復了。你下載這個檔案

http://devel.lifetype.net/svn/plog/plog/branches/lifetype-1.2/class/dao/userdata/lifetypeuserdataprovider.class.php

重新覆蓋,應該就不會了!

Mark
已記錄

crusade
新手見習
*
文章: 4


檢視個人資料
« 回覆文章 #6 於: 三月 23, 2007, 06:29:00 下午 »

又有問題了,
我在 "全部站台管控" 中的 "清理垃圾"  執行 "清除垃圾迴響 "  會出現這個錯誤,請問是那裡有問題,謝謝 !!
Fatal error: Call to a member function on a non-object in D:\lifetype\class\dao\commentscommon.class.php on line 454
已記錄
markwu
系統管理員
超級會員
*****
文章: 3928


Mark Wu


檢視個人資料 個人網站
« 回覆文章 #7 於: 三月 23, 2007, 08:02:22 下午 »

我沒辦法重現這個錯誤!

Mark
已記錄

edgar0528
新手見習
*
文章: 3



檢視個人資料 個人網站
« 回覆文章 #8 於: 三月 23, 2007, 11:45:59 下午 »

再回報一個錯誤

在1.1.6的時候 用離線編輯軟體去BLOG上取得文章可以取得內文和延伸內文

但更新到1.2後 只能取得內文 無法取得延伸內文


另外 透過離線編輯發佈到BLOG上的圖檔,RESIZE有問題 測試的結果是
最小縮圖會變成 120*120(正常)
中等縮圖變成原圖大小(異常)
最後的檔案變成120*120(異常)

MARK兄 麻煩看一下  謝謝
已記錄

歡迎來我的Blog參觀
http://pgg.gotdns.com/blog/pgcc
yianyu
新手見習
*
文章: 8



檢視個人資料
« 回覆文章 #9 於: 三月 26, 2007, 01:40:26 下午 »

這是 smarty 的 bug ...

已經在 SVN 1.2 branchs  中修復了。

請下載 http://devel.lifetype.net/svn/plog/plog/branches/lifetype-1.2/class/template/smarty/internals/core.write_file.php

然後覆蓋過原始檔案就可以了。

Mark

我也遇到上面的問題  嚎啕大哭
但是我依照上面去下載覆蓋原始檔案 他還是一樣的錯誤 >"<
Exception message: unlink(./tmp/summary\%%FD^FD8^FD8C114A%%index.template.inc) [function.unlink]: No such file or directory
Error code: 2
-- Backtrace --
C:\AppServ\www\lifetype\class\template\smarty\internals\core.write_file.php(44): unlink
C:\AppServ\www\lifetype\class\template\smarty\internals\core.write_compiled_include.php(86): smarty_core_write_file

覆蓋過後 清除cookie 重新開網頁  但是一樣的訊息 請問我是哪邊更新錯誤嗎??

另外 在register.php 這各頁面要註冊的時候 註冊選項也無法啟作用 請問這各問題該如何排除 嚎啕大哭
再麻煩排除問題 謝謝  開懷大笑

« 最後編輯時間: 三月 26, 2007, 01:59:57 下午 由 yianyu » 已記錄

環境: win2000 + LifeType ToGo! 1.0.2 Beta 1 + iis 80port
頁: [1]
LifeType 中文開發論壇  |  支援  |  安裝與設定  |  升級 LifeType 1.2 版 « 上篇主題 下篇主題 »
    前往: