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
|
|
« 回覆文章 #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
|
|
« 回覆文章 #3 於: 四月 03, 2006, 05:25:23 下午 » |
|
有沒有人呀??
|
|
|
已記錄
|
|
|
|
|
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
|
|
« 回覆文章 #6 於: 四月 03, 2006, 08:06:40 下午 » |
|
這如果不是你自己的機器,那麼你沒辦法關掉 safe_mode
在怎麼設定都是沒用的!
這必須請你的虛擬主機公司關掉才行。
如果他們不願意關,那麼你只能換虛擬主機公司了。
Mark
|
|
|
已記錄
|
|
|
|
lss
|
|
« 回覆文章 #7 於: 四月 03, 2006, 08:08:21 下午 » |
|
你有重新啟動 apache 嗎? 說實在的,光看你那句「有沒有人啊」,大概就有很多人會真的不理你。 lss
|
|
|
已記錄
|
|
|
|
MAX0527
新手見習
文章: 21
|
|
« 回覆文章 #8 於: 四月 04, 2006, 01:33:39 上午 » |
|
你有重新啟動 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
|
|
« 回覆文章 #10 於: 四月 04, 2006, 07:11:13 上午 » |
|
啊~~~ 我沒注意到你說的是虛擬主機 如 mark 和 bibicall 說的一樣,虛擬主機商不支援的話是沒辦法的,趁早換一家吧。 lss
|
|
|
已記錄
|
|
|
|
MAX0527
新手見習
文章: 21
|
|
« 回覆文章 #11 於: 四月 04, 2006, 08:59:35 上午 » |
|
不支援什麼???
|
|
|
已記錄
|
|
|
|
MAX0527
新手見習
文章: 21
|
|
« 回覆文章 #12 於: 四月 04, 2006, 09:06:05 上午 » |
|
啊~~~ 我沒注意到你說的是虛擬主機 如 mark 和 bibicall 說的一樣,虛擬主機商不支援的話是沒辦法的,趁早換一家吧。 lss 我不明白你說要支援什麼..= =
|
|
|
已記錄
|
|
|
|
lss
|
|
« 回覆文章 #13 於: 四月 04, 2006, 09:12:52 上午 » |
|
好吧,我措辭不當~~~,重 post 一次吧: 啊~~~ 我沒注意到你說的是虛擬主機 如 mark 和 bibicall 說的一樣,虛擬主機商 不支援關掉 PHP 的安全模式 ( safe mode )的話是沒辦法的,趁早換一家吧。 lss
|
|
|
已記錄
|
|
|
|
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 ?
|
|
|
已記錄
|
|
|
|
|