老問題,建一個 f:\tmp 資料夾就搞定了。
很久沒看到有人問這個了。
plog安装在dreamhost的虚拟主机上,怎么改啊?老大
你的錯誤訊息一定不一樣,哈
Exception message: fopen(tmp/sql_error.log): failed to open stream: Permission denied
Error code: 2
-- Backtrace --
/home/mycraft2/public_html/plog/class/logger/appender/fileappender.class.php(57): fopen
/home/mycraft2/public_html/plog/class/logger/appender/fileappender.class.php(43): fileappender.openfp
/home/mycraft2/public_html/plog/class/logger/loggermanager.class.php(142): fileappender.fileappender
/home/mycraft2/public_html/plog/class/logger/loggermanager.class.php(114): loggermanager.createappenderinstance
/home/mycraft2/public_html/plog/class/logger/loggermanager.class.php(87): loggermanager._loadloggerconfig
/home/mycraft2/public_html/plog/class/logger/loggermanager.class.php(177): loggermanager.loggermanager
/home/mycraft2/public_html/plog/class/logger/loggermanager.class.php(192): loggermanager.getinstance
/home/mycraft2/public_html/plog/class/template/template.class.php(56): loggermanager.getlogger
/home/mycraft2/public_html/plog/class/template/cachedtemplate.class.php(30): cachedtemplate.template
/home/mycraft2/public_html/plog/class/template/templateservice.class.php(173): cachedtemplate.cachedtemplate
/home/mycraft2/public_html/plog/class/view/smartyview.class.php(70): templateservice.cachedtemplate
/home/mycraft2/public_html/plog/class/view/blogview.class.php(39): defaultview.smartyview
/home/mycraft2/public_html/plog/class/view/defaultview.class.php(23): defaultview.blogview
/home/mycraft2/public_html/plog/class/action/defaultaction.class.php(69): defaultview.defaultview
/home/mycraft2/public_html/plog/class/controller/controller.class.php(305): defaultaction.perform
/home/mycraft2/public_html/plog/index.php(44): blogcontroller.process
Exception message: Cannot open log file: tmp/sql_error.log
Error code: 0
-- Backtrace --
/home/mycraft2/public_html/plog/class/logger/appender/fileappender.class.php(59): throw
/home/mycraft2/public_html/plog/class/logger/appender/fileappender.class.php(43): fileappender.openfp
/home/mycraft2/public_html/plog/class/logger/loggermanager.class.php(142): fileappender.fileappender
/home/mycraft2/public_html/plog/class/logger/loggermanager.class.php(114): loggermanager.createappenderinstance
/home/mycraft2/public_html/plog/class/logger/loggermanager.class.php(87): loggermanager._loadloggerconfig
/home/mycraft2/public_html/plog/class/logger/loggermanager.class.php(177): loggermanager.loggermanager
/home/mycraft2/public_html/plog/class/logger/loggermanager.class.php(192): loggermanager.getinstance
/home/mycraft2/public_html/plog/class/template/template.class.php(56): loggermanager.getlogger
/home/mycraft2/public_html/plog/class/template/cachedtemplate.class.php(30): cachedtemplate.template
/home/mycraft2/public_html/plog/class/template/templateservice.class.php(173): cachedtemplate.cachedtemplate
/home/mycraft2/public_html/plog/class/view/smartyview.class.php(70): templateservice.cachedtemplate
/home/mycraft2/public_html/plog/class/view/blogview.class.php(39): defaultview.smartyview
/home/mycraft2/public_html/plog/class/view/defaultview.class.php(23): defaultview.blogview
/home/mycraft2/public_html/plog/class/action/defaultaction.class.php(69): defaultview.defaultview
/home/mycraft2/public_html/plog/class/controller/controller.class.php(305): defaultaction.perform
/home/mycraft2/public_html/plog/index.php(44): blogcontroller.process
我週一安裝時明明就是好的
今天一上來... 就很哀怨的出現了這樣的訊息
剛剛用ftp去把\tmp裡面的東西看了一下
權限是644
統統改成777就ok了
你試試吧..