歡迎光臨, 訪客. 請先 登入註冊一個帳號.
四月 29, 2024, 10:29:30 下午
19595 文章 在 3865 主題 由 4580 會員
最新註冊會員: aa123aa1
LifeType 中文開發論壇  |  支援  |  安裝與設定  |  安裝時出現錯誤!希望大大幫忙 « 上篇主題 下篇主題 »
頁: [1] 2 3
作者 主題: 安裝時出現錯誤!希望大大幫忙  (閱讀 37381 次)
MAX0527
新手見習
*
文章: 21


檢視個人資料
« 於: 四月 03, 2006, 04:55:17 下午 »

我在自家機架設成功~!但在網存公司上安裝完後,入去後台就出現
Exception message: fopen(): SAFE MODE Restriction in effect. The script whose uid is 561 is not allowed to access /home/virtual/site37/fst/var/www/html/blog/tmp/1 owned by uid 48
Error code: 2
-- Backtrace --
/home/virtual/site37/fst/var/www/html/blog/class/template/smarty/core/core.write_file.php(30): fopen
/home/virtual/site37/fst/var/www/html/blog/class/template/smarty/core/core.write_compiled_resource.php(30): smarty_core_write_file
/home/virtual/site37/fst/var/www/html/blog/class/template/smarty/Smarty.class.php(1450): smarty_core_write_compiled_resource
/home/virtual/site37/fst/var/www/html/blog/class/template/smarty/Smarty.class.php(1279): template._compile_resource
/home/virtual/site37/fst/var/www/html/blog/class/template/template.class.php(129): smarty.fetch
/home/virtual/site37/fst/var/www/html/blog/class/view/admin/admintemplatedview.class.php(43): template.fetch
/home/virtual/site37/fst/var/www/html/blog/class/view/admin/adminnewpostview.class.php(68): admintemplatedview.render
/home/virtual/site37/fst/var/www/html/blog/class/controller/controller.class.php(329): adminnewpostview.render
/home/virtual/site37/fst/var/www/html/blog/admin.php(39): admincontroller.process

Exception message: fopen(./tmp/1/4430f4cb9c298): failed to open stream: Success
Error code: 2
-- Backtrace --
/home/virtual/site37/fst/var/www/html/blog/class/template/smarty/core/core.write_file.php(30): fopen
/home/virtual/site37/fst/var/www/html/blog/class/template/smarty/core/core.write_compiled_resource.php(30): smarty_core_write_file
/home/virtual/site37/fst/var/www/html/blog/class/template/smarty/Smarty.class.php(1450): smarty_core_write_compiled_resource
/home/virtual/site37/fst/var/www/html/blog/class/template/smarty/Smarty.class.php(1279): template._compile_resource
/home/virtual/site37/fst/var/www/html/blog/class/template/template.class.php(129): smarty.fetch
/home/virtual/site37/fst/var/www/html/blog/class/view/admin/admintemplatedview.class.php(43): template.fetch
/home/virtual/site37/fst/var/www/html/blog/class/view/admin/adminnewpostview.class.php(68): admintemplatedview.render
/home/virtual/site37/fst/var/www/html/blog/class/controller/controller.class.php(329): adminnewpostview.render
/home/virtual/site37/fst/var/www/html/blog/admin.php(39): admincontroller.process

Exception message: Smarty error: problem writing temporary file './tmp/1/4430f4cb9c298'
Error code: 512
-- Backtrace --
/home/virtual/site37/fst/var/www/html/blog/class/template/smarty/Smarty.class.php(1108): trigger_error
/home/virtual/site37/fst/var/www/html/blog/class/template/smarty/core/core.write_file.php(31): template.trigger_error
/home/virtual/site37/fst/var/www/html/blog/class/template/smarty/core/core.write_compiled_resource.php(30): smarty_core_write_file
/home/virtual/site37/fst/var/www/html/blog/class/template/smarty/Smarty.class.php(1450): smarty_core_write_compiled_resource
/home/virtual/site37/fst/var/www/html/blog/class/template/smarty/Smarty.class.php(1279): template._compile_resource
/home/virtual/site37/fst/var/www/html/blog/class/template/template.class.php(129): smarty.fetch
/home/virtual/site37/fst/var/www/html/blog/class/view/admin/admintemplatedview.class.php(43): template.fetch
/home/virtual/site37/fst/var/www/html/blog/class/view/admin/adminnewpostview.class.php(68): admintemplatedview.render
/home/virtual/site37/fst/var/www/html/blog/class/controller/controller.class.php(329): adminnewpostview.render
/home/virtual/site37/fst/var/www/html/blog/admin.php(39): admincontroller.process

Exception message: fetch(): Unable to access ./tmp/1/%%-18^%%-1851474714^newpost.template.php
Error code: 2
-- Backtrace --
/home/virtual/site37/fst/var/www/html/blog/class/template/smarty/Smarty.class.php(1281): fetch
/home/virtual/site37/fst/var/www/html/blog/class/template/template.class.php(129): smarty.fetch
/home/virtual/site37/fst/var/www/html/blog/class/view/admin/admintemplatedview.class.php(43): template.fetch
/home/virtual/site37/fst/var/www/html/blog/class/view/admin/adminnewpostview.class.php(68): admintemplatedview.render
/home/virtual/site37/fst/var/www/html/blog/class/controller/controller.class.php(329): adminnewpostview.render
/home/virtual/site37/fst/var/www/html/blog/admin.php(39): admincontroller.process

Exception message: fetch(./tmp/1/%%-18^%%-1851474714^newpost.template.php): failed to open stream: Success
Error code: 2
-- Backtrace --
/home/virtual/site37/fst/var/www/html/blog/class/template/smarty/Smarty.class.php(1281): fetch
/home/virtual/site37/fst/var/www/html/blog/class/template/template.class.php(129): smarty.fetch
/home/virtual/site37/fst/var/www/html/blog/class/view/admin/admintemplatedview.class.php(43): template.fetch
/home/virtual/site37/fst/var/www/html/blog/class/view/admin/adminnewpostview.class.php(68): admintemplatedview.render
/home/virtual/site37/fst/var/www/html/blog/class/controller/controller.class.php(329): adminnewpostview.render
/home/virtual/site37/fst/var/www/html/blog/admin.php(39): admincontroller.process

Exception message: fetch(): Failed opening './tmp/1/%%-18^%%-1851474714^newpost.template.php' for inclusion (include_path='.:/php/includes:/usr/share/php')
Error code: 2
-- Backtrace --
/home/virtual/site37/fst/var/www/html/blog/class/template/smarty/Smarty.class.php(1281): fetch
/home/virtual/site37/fst/var/www/html/blog/class/template/template.class.php(129): smarty.fetch
/home/virtual/site37/fst/var/www/html/blog/class/view/admin/admintemplatedview.class.php(43): template.fetch
/home/virtual/site37/fst/var/www/html/blog/class/view/admin/adminnewpostview.class.php(68): admintemplatedview.render
/home/virtual/site37/fst/var/www/html/blog/class/controller/controller.class.php(329): adminnewpostview.render
/home/virtual/site37/fst/var/www/html/blog/admin.php(39): admincontroller.process
已記錄
bibicall
版主
超級會員
*****
文章: 640


我是豬老大


檢視個人資料 個人網站
« 回覆文章 #1 於: 四月 03, 2006, 05:03:22 下午 »

用你的錯誤訊息「SAFE MODE Restriction in effect搜尋一下吧
這個問題已經有人問過了
應該是你的主機商把SAFE MODE打開
你看看搜尋到的方法能不能解決
不行的話只能問問你的主機商能不能關掉SAFE MODE
已記錄

我的虛擬主機基本資料如下
Operating system: Linux
Apache version: 1.3.37
PHP version: 4.4.4
MySQL version: 4.1.21-standard
MAX0527
新手見習
*
文章: 21


檢視個人資料
« 回覆文章 #2 於: 四月 03, 2006, 05:14:27 下午 »

多謝大大的幫忙~!我忘記說明了,個PLOG是自己用的~
我搜尋後~這個POST
http://forum.lifetype.org.tw/index.php?topic=1009.0
樓主解決了問題~但我不太明白...= =
已記錄
MAX0527
新手見習
*
文章: 21


檢視個人資料
« 回覆文章 #3 於: 四月 03, 2006, 05:25:23 下午 »

有沒有人呀??
已記錄
MAX0527
新手見習
*
文章: 21


檢視個人資料
« 回覆文章 #4 於: 四月 03, 2006, 05:34:07 下午 »

我已經跟了
http://forum.lifetype.org.tw/index.php?topic=473.0
把php.ini的
safe_mode = On
safe_mode_gid = Off

改成

safe_mode = Off
safe_mode_gid = On
但都未解決
« 最後編輯時間: 四月 03, 2006, 05:41:07 下午 由 MAX0527 » 已記錄
MAX0527
新手見習
*
文章: 21


檢視個人資料
« 回覆文章 #5 於: 四月 03, 2006, 05:44:04 下午 »

出現了
Exception message: fopen(): SAFE MODE Restriction in effect. The script whose uid is 561 is not allowed to access /home/virtual/site37/fst/var/www/html/blog/tmp/1 owned by uid 48
Error code: 2
-- Backtrace --
/home/virtual/site37/fst/var/www/html/blog/class/template/smarty/core/core.write_file.php(30): fopen
/home/virtual/site37/fst/var/www/html/blog/class/template/smarty/core/core.write_compiled_resource.php(30): smarty_core_write_file
/home/virtual/site37/fst/var/www/html/blog/class/template/smarty/Smarty.class.php(1450): smarty_core_write_compiled_resource
/home/virtual/site37/fst/var/www/html/blog/class/template/smarty/Smarty.class.php(1279): template._compile_resource
/home/virtual/site37/fst/var/www/html/blog/class/template/template.class.php(129): smarty.fetch
/home/virtual/site37/fst/var/www/html/blog/class/view/admin/admintemplatedview.class.php(43): template.fetch
/home/virtual/site37/fst/var/www/html/blog/class/controller/controller.class.php(329): admintemplatedview.render
/home/virtual/site37/fst/var/www/html/blog/admin.php(39): admincontroller.process

Exception message: fopen(./tmp/1/4431010244ae7): failed to open stream: Success
Error code: 2
-- Backtrace --
/home/virtual/site37/fst/var/www/html/blog/class/template/smarty/core/core.write_file.php(30): fopen
/home/virtual/site37/fst/var/www/html/blog/class/template/smarty/core/core.write_compiled_resource.php(30): smarty_core_write_file
/home/virtual/site37/fst/var/www/html/blog/class/template/smarty/Smarty.class.php(1450): smarty_core_write_compiled_resource
/home/virtual/site37/fst/var/www/html/blog/class/template/smarty/Smarty.class.php(1279): template._compile_resource
/home/virtual/site37/fst/var/www/html/blog/class/template/template.class.php(129): smarty.fetch
/home/virtual/site37/fst/var/www/html/blog/class/view/admin/admintemplatedview.class.php(43): template.fetch
/home/virtual/site37/fst/var/www/html/blog/class/controller/controller.class.php(329): admintemplatedview.render
/home/virtual/site37/fst/var/www/html/blog/admin.php(39): admincontroller.process

Exception message: Smarty error: problem writing temporary file './tmp/1/4431010244ae7'
Error code: 512
-- Backtrace --
/home/virtual/site37/fst/var/www/html/blog/class/template/smarty/Smarty.class.php(1108): trigger_error
/home/virtual/site37/fst/var/www/html/blog/class/template/smarty/core/core.write_file.php(31): template.trigger_error
/home/virtual/site37/fst/var/www/html/blog/class/template/smarty/core/core.write_compiled_resource.php(30): smarty_core_write_file
/home/virtual/site37/fst/var/www/html/blog/class/template/smarty/Smarty.class.php(1450): smarty_core_write_compiled_resource
/home/virtual/site37/fst/var/www/html/blog/class/template/smarty/Smarty.class.php(1279): template._compile_resource
/home/virtual/site37/fst/var/www/html/blog/class/template/template.class.php(129): smarty.fetch
/home/virtual/site37/fst/var/www/html/blog/class/view/admin/admintemplatedview.class.php(43): template.fetch
/home/virtual/site37/fst/var/www/html/blog/class/controller/controller.class.php(329): admintemplatedview.render
/home/virtual/site37/fst/var/www/html/blog/admin.php(39): admincontroller.process

Exception message: fetch(): Unable to access ./tmp/1/%%-16^%%-1657293502^main.template.php
Error code: 2
-- Backtrace --
/home/virtual/site37/fst/var/www/html/blog/class/template/smarty/Smarty.class.php(1281): fetch
/home/virtual/site37/fst/var/www/html/blog/class/template/template.class.php(129): smarty.fetch
/home/virtual/site37/fst/var/www/html/blog/class/view/admin/admintemplatedview.class.php(43): template.fetch
/home/virtual/site37/fst/var/www/html/blog/class/controller/controller.class.php(329): admintemplatedview.render
/home/virtual/site37/fst/var/www/html/blog/admin.php(39): admincontroller.process

Exception message: fetch(./tmp/1/%%-16^%%-1657293502^main.template.php): failed to open stream: Success
Error code: 2
-- Backtrace --
/home/virtual/site37/fst/var/www/html/blog/class/template/smarty/Smarty.class.php(1281): fetch
/home/virtual/site37/fst/var/www/html/blog/class/template/template.class.php(129): smarty.fetch
/home/virtual/site37/fst/var/www/html/blog/class/view/admin/admintemplatedview.class.php(43): template.fetch
/home/virtual/site37/fst/var/www/html/blog/class/controller/controller.class.php(329): admintemplatedview.render
/home/virtual/site37/fst/var/www/html/blog/admin.php(39): admincontroller.process

Exception message: fetch(): Failed opening './tmp/1/%%-16^%%-1657293502^main.template.php' for inclusion (include_path='.:/php/includes:/usr/share/php')
Error code: 2
-- Backtrace --
/home/virtual/site37/fst/var/www/html/blog/class/template/smarty/Smarty.class.php(1281): fetch
/home/virtual/site37/fst/var/www/html/blog/class/template/template.class.php(129): smarty.fetch
/home/virtual/site37/fst/var/www/html/blog/class/view/admin/admintemplatedview.class.php(43): template.fetch
/home/virtual/site37/fst/var/www/html/blog/class/controller/controller.class.php(329): admintemplatedview.render
/home/virtual/site37/fst/var/www/html/blog/admin.php(39): admincontroller.process
已記錄
markwu
系統管理員
超級會員
*****
文章: 3928


Mark Wu


檢視個人資料 個人網站
« 回覆文章 #6 於: 四月 03, 2006, 08:06:40 下午 »

這如果不是你自己的機器,那麼你沒辦法關掉 safe_mode

在怎麼設定都是沒用的!

這必須請你的虛擬主機公司關掉才行。

如果他們不願意關,那麼你只能換虛擬主機公司了。

Mark
已記錄

lss
我不是被~拉~~出來的,不要叫我大大!
總版主
超級會員
*****
文章: 1511



檢視個人資料 個人網站
« 回覆文章 #7 於: 四月 03, 2006, 08:08:21 下午 »

我已經跟了
http://forum.lifetype.org.tw/index.php?topic=473.0
把php.ini的
safe_mode = On
safe_mode_gid = Off

改成

safe_mode = Off
safe_mode_gid = On
但都未解決
你有重新啟動 apache 嗎?

說實在的,光看你那句「有沒有人啊」,大概就有很多人會真的不理你。

lss
已記錄

沒找過 常見問題集或不知道 如何在 LifeType 中文開發論壇發問的人,恕不回答問題
MAX0527
新手見習
*
文章: 21


檢視個人資料
« 回覆文章 #8 於: 四月 04, 2006, 01:33:39 上午 »

我已經跟了
http://forum.lifetype.org.tw/index.php?topic=473.0
把php.ini的
safe_mode = On
safe_mode_gid = Off

改成

safe_mode = Off
safe_mode_gid = On
但都未解決
你有重新啟動 apache 嗎?

說實在的,光看你那句「有沒有人啊」,大概就有很多人會真的不理你。

lss
對不起...我的語氣重了 傷心
你是否說把php.ini的
safe_mode = On
safe_mode_gid = Off
改成
safe_mode = Off
safe_mode_gid = On後,
再要虛擬主機公司重新啟動 apache ??
已記錄
MAX0527
新手見習
*
文章: 21


檢視個人資料
« 回覆文章 #9 於: 四月 04, 2006, 01:34:43 上午 »

這如果不是你自己的機器,那麼你沒辦法關掉 safe_mode

在怎麼設定都是沒用的!

這必須請你的虛擬主機公司關掉才行。

如果他們不願意關,那麼你只能換虛擬主機公司了。

Mark
難道不是只要把把php.ini的
safe_mode = On
safe_mode_gid = Off
改成
safe_mode = Off
safe_mode_gid = On
就可以了嗎?
已記錄
lss
我不是被~拉~~出來的,不要叫我大大!
總版主
超級會員
*****
文章: 1511



檢視個人資料 個人網站
« 回覆文章 #10 於: 四月 04, 2006, 07:11:13 上午 »

啊~~~

我沒注意到你說的是虛擬主機  害羞

如 mark 和 bibicall 說的一樣,虛擬主機商不支援的話是沒辦法的,趁早換一家吧。

lss
已記錄

沒找過 常見問題集或不知道 如何在 LifeType 中文開發論壇發問的人,恕不回答問題
MAX0527
新手見習
*
文章: 21


檢視個人資料
« 回覆文章 #11 於: 四月 04, 2006, 08:59:35 上午 »

不支援什麼???
已記錄
MAX0527
新手見習
*
文章: 21


檢視個人資料
« 回覆文章 #12 於: 四月 04, 2006, 09:06:05 上午 »

啊~~~

我沒注意到你說的是虛擬主機  害羞

如 mark 和 bibicall 說的一樣,虛擬主機商不支援的話是沒辦法的,趁早換一家吧。

lss
我不明白你說要支援什麼..= = 害羞 傷心
已記錄
lss
我不是被~拉~~出來的,不要叫我大大!
總版主
超級會員
*****
文章: 1511



檢視個人資料 個人網站
« 回覆文章 #13 於: 四月 04, 2006, 09:12:52 上午 »

好吧,我措辭不當~~~,重 post 一次吧:

引用
啊~~~

我沒注意到你說的是虛擬主機  害羞

如 mark 和 bibicall 說的一樣,虛擬主機商不支援關掉 PHP 的安全模式 ( safe mode )的話是沒辦法的,趁早換一家吧。

lss

已記錄

沒找過 常見問題集或不知道 如何在 LifeType 中文開發論壇發問的人,恕不回答問題
MAX0527
新手見習
*
文章: 21


檢視個人資料
« 回覆文章 #14 於: 四月 04, 2006, 09:20:29 上午 »

好吧,我措辭不當~~~,重 post 一次吧:

引用
啊~~~

我沒注意到你說的是虛擬主機  害羞

如 mark 和 bibicall 說的一樣,虛擬主機商不支援關掉 PHP 的安全模式 ( safe mode )的話是沒辦法的,趁早換一家吧。

lss
是不是指
把php.ini的
safe_mode = On
safe_mode_gid = Off
改成
safe_mode = Off
safe_mode_gid = On
?

已記錄
頁: [1] 2 3
LifeType 中文開發論壇  |  支援  |  安裝與設定  |  安裝時出現錯誤!希望大大幫忙 « 上篇主題 下篇主題 »
    前往: