LifeType 中文開發論壇

支援 => 安裝與設定 => 主題作者是: sorlo 於 十二月 28, 2005, 12:48:17 下午



主題: Exception message: exec() has been disabled for security reasons
作者: sorlo十二月 28, 2005, 12:48:17 下午
hi,

I got that message when I try to install new template

I don't understand what's that meant, what can I do?

Andy

Exception message: exec() has been disabled for security reasons
Error code: 2
-- Backtrace --
/var/www/html/plog/class/file/unpacker/zipunpacker.class.php(62): exec
/var/www/html/plog/class/file/unpacker/unpacker.class.php(136): zipunpacker.unpack
/var/www/html/plog/class/template/templatesandbox.class.php(91): unpacker.unpack
/var/www/html/plog/class/action/admin/adminaddblogtemplateaction.class.php(85): templatesandbox.checktemplateset
/var/www/html/plog/class/action/admin/adminaddblogtemplateaction.class.php(211): adminaddblogtemplateaction._performuploadtemplate
/var/www/html/plog/class/controller/controller.class.php(309): adminaddblogtemplateaction.perform
/var/www/html/plog/admin.php(41): admincontroller.process

Exception message: Cannot modify header information - headers already sent by (output started at /var/www/html/plog/class/object/exception.class.php:37)
Error code: 2
-- Backtrace --
/var/www/html/plog/class/view/view.class.php(316): header
/var/www/html/plog/class/view/admin/adminview.class.php(106): view.render
/var/www/html/plog/class/view/admin/admintemplatedview.class.php(36): adminview.render
/var/www/html/plog/class/view/admin/adminblogtemplatesetslistview.class.php(27): admintemplatedview.render
/var/www/html/plog/class/controller/controller.class.php(329): adminblogtemplatesetslistview.render
/var/www/html/plog/admin.php(41): admincontroller.process

Exception message: Cannot modify header information - headers already sent by (output started at /var/www/html/plog/class/object/exception.class.php:37)
Error code: 2
-- Backtrace --
/var/www/html/plog/class/view/view.class.php(177): header
/var/www/html/plog/class/view/view.class.php(318): adminblogtemplatesetslistview.sendcontenttype
/var/www/html/plog/class/view/admin/adminview.class.php(106): view.render
/var/www/html/plog/class/view/admin/admintemplatedview.class.php(36): adminview.render
/var/www/html/plog/class/view/admin/adminblogtemplatesetslistview.class.php(27): admintemplatedview.render
/var/www/html/plog/class/controller/controller.class.php(329): adminblogtemplatesetslistview.render
/var/www/html/plog/admin.php(41): admincontroller.process


主題: Re: Exception message: exec() has been disabled for security reasons
作者: markwu一月 05, 2006, 11:44:54 上午
請參考: FAQ 裡面的 為什麼我的模版無法上傳?還出現一堆錯誤訊息 (http://wiki.lifetype.org.tw/index.php?title=Template_FAQ#.E7.82.BA.E4.BB.80.E9.BA.BC.E6.88.91.E7.9A.84.E6.A8.A1.E7.89.88.E7.84.A1.E6.B3.95.E4.B8.8A.E5.82.B3.EF.BC.9F.E9.82.84.E5.87.BA.E7.8F.BE.E4.B8.80.E5.A0.86.E9.8C.AF.E8.AA.A4.E8.A8.8A.E6.81.AF)。

Mark