程序在本地运行没有问题,但是传到万网的空间,就报错了:Warning: is_readable() [function.is-readable]: open_basedir restriction in effect. File(/var/www/php5/lib/php/./application/views/helpers/PaginationControl.php) is not within the allowed path(s): (/data/home/hmu026369:/usr/home/hmu026369:/data/home/tmp:/usr/home/tmp:/var/www/disablesite) in /data/home/hmu026369/htdocs/Zend/Loader.php on line 192Warning: is_readable() [function.is-readable]: open_basedir restriction in effect. File(/var/www/php5/lib/php/./application/views/helpers/Partial.php) is not within the allowed path(s): (/data/home/hmu026369:/usr/home/hmu026369:/data/home/tmp:/usr/home/tmp:/var/www/disablesite) in /data/home/hmu026369/htdocs/Zend/Loader.php on line 192这是我的代码结构:zf
|----application
|----public
|----zend
|----index.php
在index.php中这样引用的zend:require_once 'Zend/Loader.php';
Zend_Loader::loadClass ( 'Zend_Controller_Front' );
Zend_Loader::loadClass ( 'Zend_Config_Ini' );
Zend_Loader::loadClass ( 'Zend_Db' );
Zend_Loader::loadClass ( 'Zend_Db_Table' );
Zend_Loader::loadClass ( 'Zend_Registry' );
Zend_Loader::loadClass ( 'Zend_Paginator' );
Zend_Loader::loadClass('Zend_Paginator_Adapter_Null');