English 中文(简体)
Zend -> 警告:可读(可操作)
原标题:Zend -> Warning: is_readable() [function.is-readable]: open_basedir restriction in effect

我在守则中正在得到以下警告:

      Warning: is_readable() [function.is-readable]: open_basedir restriction in effect.   File(/usr/share/php/./views/helpers/Doctype.php) is not within the allowed path(s): (/var/www/virtual/example.com/:/usr/share/pear/) in /var/www/virtual/example.com/htdocs/rockhopper-v2/library/Zend/Loader.php on line 198

or

      Warning: is_readable() [function.is-readable]: open_basedir restriction in effect.   File(/usr/share/php//var/www/virtual/example.com/htdocs/rockhopper-v2/application/modules/default/views/helpers/Layout.php) is not within the allowed path(s): (/var/www/virtual/example.com/:/usr/share/pear/) in /var/www/virtual/example.com/htdocs/rockhopper-v2/library/Zend/Loader.php on line 198

what is the problem and will it cause problems in deployment and production stage of my application?

谢谢。

最佳回答

这一信息似乎是因为Zentd FW 1.10.1 自动载荷制造了不同途径查阅这些档案。 http://framework.zend.com/issues/browse/ZF-9263。 Zend FW Bug Report

为了消除这一信息,你可以编辑档案索引.php,并将定本改为:

set_include_path(
APPLICATION_PATH. /../library .PATH_SEPARATOR.
APPLICATION_PATH. /../library/Zend 
);
问题回答




相关问题
Zend 邮件问题,涉及外国char子+ com子

泽斯德邮局在名称被定为具有外国性质(如“保”)和 com(”)的物品时,就放弃了一种例外(因为邮局(邮局)退回假)。 重新提出以下守则。

PHP Framework: Ebay Like Site

I am going to be builiding a site like ebay - with all the features of ebay. Please note my payment method is limited to paypal. What would be the best PHP framework to use to build this quickly, ...

Link to a specific step in onepage checkout

Is it possible to redirect the browser to nth step in the onepage checkout? If so, how would one go about doing it? I m working on a payment module and have a sort of "cancel" action that i would ...

Tagging with Zend Framework

I m trying to create the same solutions as below, but using a simple MySQL query (instead of the static version used below where the words/tags are implemented in the code). The name of the MySQL ...

dynamicaly adding textboxes to zend_form

I hope that this is a quick question to answer. I am developing a form using Zend_Form, I have a number of Zend_Dojo_Form_Element_Textboxs to add to this form dynamically. These are added from rows ...

热门标签