大家安:
當我在我的虛擬主機上安裝1.0.1版克服了一些怪問題後(譬如Wizard.php有從0.3昇級到1.0的modify, 只新增21-24的Table...等錯誤)
建完database , 本以為可以邁向最後,
進入到admin.php 後 發現遇到兩個錯,讓我被打敗了... ><
因為我不熟悉PAER跟Smarty,所以想請問我該怎樣解決這兩個問題,
我在虛擬主機上好像項常常碰到類似路徑的問題,是因為我的虛擬空間沒裝PEAR嗎?我有另外的方法可以解決???
救救我吧 我已經裝很久了 , 虛擬主機商也不讓我用phpinfo()看它們php的infor,傷腦筋啊
下面是我的兩個錯
Exception message: is_readable(): open_basedir restriction in effect. File(/usr/share/pear/./admin/default.template) is not within the allowed path(s):
(/home/httpd/vhosts/kelly.com/httpdocs:/tmp)
Error code: 2
-- Backtrace --
/home/httpd/vhosts/kelly.com/httpdocs/plog/class/template/smarty/core/core.get_include_path.php(34): is_readable
/home/httpd/vhosts/kelly.com/httpdocs/plog/class/template/smarty/Smarty.class.php(1670): smarty_core_get_include_path
/home/httpd/vhosts/kelly.com/httpdocs/plog/class/template/smarty/Smarty.class.php(1558): template._parse_resource_name
/home/httpd/vhosts/kelly.com/httpdocs/plog/class/template/smarty/Smarty.class.php(1433): template._fetch_resource_info
/home/httpd/vhosts/kelly.com/httpdocs/plog/class/template/smarty/Smarty.class.php(1279): template._compile_resource
/home/httpd/vhosts/kelly.com/httpdocs/plog/class/template/template.class.php(120): smarty.fetch
/home/httpd/vhosts/kelly.com/httpdocs/plog/class/view/admin/admindefaultview.class.php(56): template.fetch
/home/httpd/vhosts/kelly.com/httpdocs/plog/class/controller/controller.class.php(325): admindefaultview.render
/home/httpd/vhosts/kelly.com/httpdocs/plog/admin.php(39): admincontroller.process
Exception message: Smarty error: unable to read resource: "admin/default.template"
Error code: 512
-- Backtrace --
/home/httpd/vhosts/kelly.com/httpdocs/plog/class/template/smarty/Smarty.class.php(1108): trigger_error
/home/httpd/vhosts/kelly.com/httpdocs/plog/class/template/smarty/Smarty.class.php(1604): template.trigger_error
/home/httpd/vhosts/kelly.com/httpdocs/plog/class/template/smarty/Smarty.class.php(1433): template._fetch_resource_info
/home/httpd/vhosts/kelly.com/httpdocs/plog/class/template/smarty/Smarty.class.php(1279): template._compile_resource
/home/httpd/vhosts/kelly.com/httpdocs/plog/class/template/template.class.php(120): smarty.fetch
/home/httpd/vhosts/kelly.com/httpdocs/plog/class/view/admin/admindefaultview.class.php(56): template.fetch
/home/httpd/vhosts/kelly.com/httpdocs/plog/class/controller/controller.class.php(325): admindefaultview.render
/home/httpd/vhosts/kelly.com/httpdocs/plog/admin.php(39): admincontroller.process
謝謝