Fatal error during account creation in startup.

27 views
Skip to first unread message

Jeff Deroshia

unread,
Jun 5, 2017, 5:10:42 PM6/5/17
to QuickApps CMS
I installed QuickApps a couple of weeks ago with no problem. However, I'm trying to install it on a different machine, and when I get to the account creation page in the installer, I get a 500 Internal server error. The fatal error in the logs is "Fatal error:  Call to a member function isAdmin() on null in <site-root>/vendor/quickapps-plugins/cms/config/functions.php on line 397", which is in the theme() function: 

if ($name === null) {
    $option
= Router::getRequest()->isAdmin() ? 'back_theme' : 'front_theme';
    $name
= option($option);
}


PHP version: 5.6.11
CakePHP version: 3.4.7

My previous working install used CakePHP version 3.4.5.

Has anyone else seen this error? 

Chris

unread,
Jun 6, 2017, 2:25:49 PM6/6/17
to QuickApps CMS
Hi Jeff,

Hard to know without a full error-trace. However, does your server have `mod_rewrite` enabled? (https://github.com/quickapps/cms/tree/2.0#requirements)
Latest integration test were build on top of CakePHP 3.4.7, so I don't think it's a core-compatibility issue (https://travis-ci.org/quickapps/cms/jobs/234513661)
Reply all
Reply to author
Forward
0 new messages