After install: Error ID:2:Newscoop:4.0.2:Loader.php:198
  • I get the following error after successfully installing Newscoop:
    Error Report Error ID: 2:Newscoop:4.0.2:Loader.php:198 Error String: is_readable(): open_basedir restriction in effect. File(/usr/share/php//data/htdocs/c/cfire2/web/newscoop/application/controllers/helpers/FlashMessenger.php) is not within the allowed path(s): (.:/data/htdocs/c/cfire2:/tmp:/usr/bin/mysql:/var/lib/mysql:/usr/sbin/sendmail:/usr/bin/sendmail:/usr/share/pear/) Time: Sun, 07 Oct 2012 19:43:02 +0100 Backtrace: {closure}() called at [:]is_readable() called at [/data/htdocs/c/cfire2/web/newscoop/library/Zend/Loader.php:198]Zend_Loader::isReadable() called at [/data/htdocs/c/cfire2/web/newscoop/library/Zend/Loader/PluginLoader.php:389]Zend_Loader_PluginLoader::load() called at [/data/htdocs/c/cfire2/web/newscoop/library/Zend/Controller/Action/HelperBroker.php:366]Zend_Controller_Action_HelperBroker::_loadHelper() called at [/data/htdocs/c/cfire2/web/newscoop/library/Zend/Controller/Action/HelperBroker.php:155]Zend_Controller_Action_HelperBroker::getStaticHelper() called at [/data/htdocs/c/cfire2/web/newscoop/application/modules/admin/Bootstrap.php:126]Admin_Bootstrap::_initFlashMessenger() called at [/data/htdocs/c/cfire2/web/newscoop/library/Zend/Application/Bootstrap/BootstrapAbstract.php:667]Zend_Application_Bootstrap_BootstrapAbstract::_executeResource() called at [/data/htdocs/c/cfire2/web/newscoop/library/Zend/Application/Bootstrap/BootstrapAbstract.php:620]Zend_Application_Bootstrap_BootstrapAbstract::_bootstrap() called at [/data/htdocs/c/cfire2/web/newscoop/library/Zend/Application/Bootstrap/BootstrapAbstract.php:584]Zend_Application_Bootstrap_BootstrapAbstract::bootstrap() called at [/data/htdocs/c/cfire2/web/newscoop/library/Zend/Application/Resource/Modules.php:107]Zend_Application_Resource_Modules::init() called at [/data/htdocs/c/cfire2/web/newscoop/library/Zend/Application/Bootstrap/BootstrapAbstract.php:681]Zend_Application_Bootstrap_BootstrapAbstract::_executeResource() called at [/data/htdocs/c/cfire2/web/newscoop/library/Zend/Application/Bootstrap/BootstrapAbstract.php:624]Zend_Application_Bootstrap_BootstrapAbstract::_bootstrap() called at [/data/htdocs/c/cfire2/web/newscoop/library/Zend/Application/Bootstrap/BootstrapAbstract.php:584]Zend_Application_Bootstrap_BootstrapAbstract::bootstrap() called at [/data/htdocs/c/cfire2/web/newscoop/library/Zend/Application.php:355]Zend_Application::bootstrap() called at [/data/htdocs/c/cfire2/web/newscoop/public/index.php:4]require_once() called at [/data/htdocs/c/cfire2/web/newscoop/index.php:12]


    Any ideas gratefully received
  • 5 Comments sorted by
  • hi, can u check if there is Zend in library folder?
  • Vote Up0Vote Down Andrey PodshivalovAndrey Podshivalov
    Posts: 1,526Member, Administrator, Sourcefabric Team
    >Error Report Error ID: 2:Newscoop:4.0.2:Loader.php:198
    Error String: is_readable(): open_basedir restriction in effect.

    you need to remove open_basedir definition (check php.ini, .htaccess)
  • Hi Petr
    Zend folder is there

    Thanks Andrey
    There are no open_basedir restrictions set in my php.ini file, .htaccess doesn't mention open_basedir, I've edited the httpd.conf file and added the line:
    php_admin_value open_basedir none
    restarted httpd, but it hasn't worked. Its a VPS, any other possible files that may be overriding these?
  • Vote Up0Vote Down Andrey PodshivalovAndrey Podshivalov
    Posts: 1,526Member, Administrator, Sourcefabric Team
    make a file test.php with <? phpinfo() ?>
    It will show you the current open_basedir value
  • All good, thanks -  located the appropriate httpd.conf file and I'm now up and running