blank frontpage after install Newscoop 402
  • Hello,

    I have install Newscoop 402 and have some problems.
    Some problems could I fix trough the forum posts.
    Admin is work now but my frontpage show ;

    [quote]
    Error ID:     2:Newscoop:4.0.2:MetaAction.php:154
    Error String:     Invalid argument supplied for foreach()
    Time:     Sun, 11 Nov 2012 11:02:49 +0100
    Backtrace:    

    {closure}() called at [/home/host/domains/myname.com/public_html/newsp/template_engine/metaclasses/MetaAction.php:154]
    MetaAction::ReadAvailableActions() called at [/home/host/domains/myname.com/public_html/newsp/template_engine/classes/CampContext.php:282]
    CampContext::__construct() called at [/home/host/domains/myname.com/public_html/newsp/template_engine/classes/CampTemplate.php:144]
    CampTemplate::context() called at [/home/host/domains/myname.com/public_html/newsp/template_engine/classes/CampSite.php:46]
    CampSite::init() called at [/home/host/domains/myname.com/public_html/newsp/application/controllers/LegacyController.php:52]
    LegacyController::indexAction() called at [/home/host/domains/myname.com/public_html/newsp/library/Zend/Controller/Action.php:513]
    Zend_Controller_Action::dispatch() called at [/home/host/domains/myname.com/public_html/newsp/library/Zend/Controller/Dispatcher/Standard.php:295]
    Zend_Controller_Dispatcher_Standard::dispatch() called at [/home/host/domains/myname.com/public_html/newsp/library/Zend/Controller/Front.php:954]
    Zend_Controller_Front::dispatch() called at [/home/host/domains/myname.com/public_html/newsp/library/Zend/Application/Bootstrap/Bootstrap.php:97]
    Zend_Application_Bootstrap_Bootstrap::run() called at [/home/host/domains/myname.com/public_html/newsp/library/Zend/Application.php:366]
    Zend_Application::run() called at [/home/host/domains/myname.com/public_html/newsp/public/index.php:5]
    require_once() called at [/home/host/domains/myname.com/public_html/newsp/index.php:12]
    [/quote]


    On the server is installed;
    Php 5.3.17
    MySQL 5.5.27
    Apache 2.2.23


    Any idea how I can solve this problem
    Have not try to post or create a erticle of upload any images.

    Thank you,

    Marten


  • 3 Comments sorted by
  • Thank you.

    Now have some text; Error: Unable to select a template! Please make sure the following conditions are met:
    there is at least one issue published and it had assigned valid templates for the front, section and article pages;
    a template was assigned for the URL error handling in the publication configuration screen.

    Change in admin the template settings form localhost to myname.com.
    And (try) a ad new article, only title is possible. (dont see the wysiwyg editor to ad more text)
    Try to change settings in thetemplate and get;
    [quote]
    Error ID: (*) 2:Newscoop:4.0.2:ThemeServiceLocalFileSystem.php:226
    Error String: (*) file_exists(): open_basedir restriction in effect. File(/home/host/domains/myname.com/public_html/newsp/application/../themes/system_templates/_subscription_notifier.tpl/theme.xml) is not within the allowed path(s): (/home/host/:/tmp:/var/tmp:/usr/local/lib/php/)
    Time: (*) Sun, 11 Nov 2012 17:30:12 +0000
    Backtrace: (*) {closure}() called at [:]
    file_exists() called at [/home/host/domains/myname.com/public_html/newsp/library/Newscoop/Service/Implementation/ThemeServiceLocalFileSystem.php:226]
    Newscoop\Service\Implementation\ThemeServiceLocalFileSystem::findAllThemesConfigPaths() called at [/home/host/domains/myname.com/public_html/newsp/library/Newscoop/Service/Implementation/ThemeManagementServiceLocal.php:150]
    Newscoop\Service\Implementation\ThemeManagementServiceLocal::getThemesData() called at [/home/host/domains/myname.com/public_html/newsp/library/Newscoop/Service/Implementation/ThemeManagementServiceLocal.php:170]
    Newscoop\Service\Implementation\ThemeManagementServiceLocal::getThemes() called at [/home/host/domains/myname.com/public_html/newsp/admin-files/issues/edit.php:88]
    require_once() called at [/home/host/domains/myname.com/public_html/newsp/application/modules/admin/controllers/LegacyController.php:129]
    Admin_LegacyController::indexAction() called at [/home/host/domains/myname.com/public_html/newsp/library/Zend/Controller/Action.php:513]
    Zend_Controller_Action::dispatch() called at [/home/host/domains/myname.com/public_html/newsp/library/Zend/Controller/Dispatcher/Standard.php:295]
    Zend_Controller_Dispatcher_Standard::dispatch() called at [/home/host/domains/myname.com/public_html/newsp/library/Zend/Controller/Front.php:954]
    Zend_Controller_Front::dispatch() called at [/home/host/domains/myname.com/public_html/newsp/library/Zend/Application/Bootstrap/Bootstrap.php:97]
    Zend_Application_Bootstrap_Bootstrap::run() called at [/home/host/domains/myname.com/public_html/newsp/library/Zend/Application.php:366]
    Zend_Application::run() called at [/home/host/domains/myname.com/public_html/newsp/public/index.php:5]
    require_once() called at [/home/host/domains/myname.com/public_html/newsp/admin.php:4]
    [/quote]

    Any idea whats wrong?

    Marten

  • Vote Up0Vote Down Andrey PodshivalovAndrey Podshivalov
    Posts: 1,526Member, Administrator, Sourcefabric Team
    open_basedir definition should be empty. Check php.ini, apache virtual host, .htaccess for this