Extra's in manger are none functional

Summary

So we are working to help a client to support the need for SBA loan processing, so we are launching a MODX website at extreme speed and have hit a snag. We are installing that site at the root level as a subdomain of a primary domain that already has a modx site. The problem we are having is this.

We have noticed that in the Manager a number of the extras are not functioning properly. For example:
Version X will not produce any versioning for resources, templates, chunks,etc.
Client Configuration will not save any settings or groups being added.

We are running the latest version of MODX 2.7.3 and PHP 7.3

Basically it appears that it is not loading some of the manager JS even though it is at the pathway provided.

Observed behavior

It appears to just try to keep processing.

Expected behavior

To function as normal

Environment

MODX 2.7.3 MySQL PHP 7.3 Apache

Do you get an error message in the console of your web browser and/or error log?

joshualuckers

I do get an error in the console, but not the error log.

Failed to load resource: the server responded with a status of 404 ()
modx.jsgrps-min.js:1 Uncaught TypeError: this.mask.addClass is not a function
    at S.onShow (modx.jsgrps-min.js:1)
    at S.afterShow (ext-all.js:21)
    at S.show (ext-all.js:21)
    at Object.show (ext-all.js:21)
    at MODx.onAjaxException (modx.js?v=f5210aec:122)
    at h.Event.fire (ext-all.js:21)
    at Ext.data.Connection.fireEvent (ext-all.js:21)
    at Ext.data.Connection.handleFailure (ext-all.js:21)
    at f (ext-base.js:21)
    at m (ext-base.js:21)
onShow @ modx.jsgrps-min.js:1
afterShow @ ext-all.js:21
show @ ext-all.js:21
show @ ext-all.js:21
onAjaxException @ modx.js?v=f5210aec:122
fire @ ext-all.js:21
fireEvent @ ext-all.js:21
handleFailure @ ext-all.js:21
f @ ext-base.js:21
m @ ext-base.js:21
(anonymous) @ ext-base.js:21
setInterval (async)
n @ ext-base.js:21
i @ ext-base.js:21
request @ ext-base.js:21
request @ ext-all.js:21
doRequest @ ext-all.js:21
request @ ext-all.js:21
execute @ ext-all.js:21
load @ ext-all.js:21
_loadColumnModel @ modx.jsgrps-min.js:1
MODx.grid.Grid @ modx.jsgrps-min.js:1
ClientConfig.grid.Settings @ grid.settings.js:119
create @ ext-all.js:21
createComponent @ ext-all.js:21
lookupComponent @ ext-all.js:21
add @ ext-all.js:21
(anonymous) @ ext-all.js:21
each @ ext-base.js:21
add @ ext-all.js:21
initComponent @ ext-all.js:21
initComponent @ ext-all.js:21
Ext.Component @ ext-all.js:21
S @ ext-base.js:21
S @ ext-base.js:21
S @ ext-base.js:21
create @ ext-all.js:21
createComponent @ ext-all.js:21
lookupComponent @ ext-all.js:21
add @ ext-all.js:21
(anonymous) @ ext-all.js:21
each @ ext-base.js:21
add @ ext-all.js:21
initComponent @ ext-all.js:21
initComponent @ ext-all.js:21
initComponent @ ext-all.js:21
Ext.Component @ ext-all.js:21
S @ ext-base.js:21
S @ ext-base.js:21
S @ ext-base.js:21
S @ ext-base.js:21
MODx.Tabs @ modx.jsgrps-min.js:1
create @ ext-all.js:21
createComponent @ ext-all.js:21
lookupComponent @ ext-all.js:21
add @ ext-all.js:21
(anonymous) @ ext-all.js:21
each @ ext-base.js:21
add @ ext-all.js:21
initComponent @ ext-all.js:21
initComponent @ ext-all.js:21
Ext.Component @ ext-all.js:21
S @ ext-base.js:21
S @ ext-base.js:21
S @ ext-base.js:21
create @ ext-all.js:21
load @ modx.js?v=f5210aec:85
_loadComponents @ modx.jsgrps-min.js:1
MODx.Component @ modx.jsgrps-min.js:1
ClientConfig.page.Admin @ admin.js:58
create @ ext-all.js:21
load @ modx.js?v=f5210aec:85
(anonymous) @ ?a=admin&namespace=clientconfig:48
(anonymous) @ ext-all.js:21
b @ ext-all.js:21
setInterval (async)
e.delay @ ext-all.js:21
(anonymous) @ ext-all.js:21
fire @ ext-all.js:21
b @ ext-all.js:21
Show 44 more frames
2/assets/components/clientconfig/connector.php:1 Failed to load resource: the server responded with a status of 404 ()
arch4.jpg:1 Failed to load resource: the server responded with a status of 404 ()
event1.jpg:1 Failed to load resource: the server responded with a status of 404 ()
modx.jsgrps-min.js:1 Uncaught TypeError: Cannot read property 'removeClass' of undefined
    at S.onHide (modx.jsgrps-min.js:1)
    at S.afterHide (ext-all.js:21)
    at S.hide (ext-all.js:21)
    at Object.hide (ext-all.js:21)
    at Object.show (ext-all.js:21)
    at MODx.onAjaxException (modx.js?v=f5210aec:122)
    at h.Event.fire (ext-all.js:21)
    at Ext.data.Connection.fireEvent (ext-all.js:21)
    at Ext.data.Connection.handleFailure (ext-all.js:21)
    at f (ext-base.js:21)
onHide @ modx.jsgrps-min.js:1
afterHide @ ext-all.js:21
hide @ ext-all.js:21
hide @ ext-all.js:21
show @ ext-all.js:21
onAjaxException @ modx.js?v=f5210aec:122
fire @ ext-all.js:21
fireEvent @ ext-all.js:21
handleFailure @ ext-all.js:21
f @ ext-base.js:21
m @ ext-base.js:21
(anonymous) @ ext-base.js:21
setInterval (async)
n @ ext-base.js:21
i @ ext-base.js:21
request @ ext-base.js:21
request @ ext-all.js:21
doRequest @ ext-all.js:21
request @ ext-all.js:21
execute @ ext-all.js:21
load @ ext-all.js:21
MODx.grid.Grid @ modx.jsgrps-min.js:1
ClientConfig.grid.Settings @ grid.settings.js:119
create @ ext-all.js:21
createComponent @ ext-all.js:21
lookupComponent @ ext-all.js:21
add @ ext-all.js:21
(anonymous) @ ext-all.js:21
each @ ext-base.js:21
add @ ext-all.js:21
initComponent @ ext-all.js:21
initComponent @ ext-all.js:21
Ext.Component @ ext-all.js:21
S @ ext-base.js:21
S @ ext-base.js:21
S @ ext-base.js:21
create @ ext-all.js:21
createComponent @ ext-all.js:21
lookupComponent @ ext-all.js:21
add @ ext-all.js:21
(anonymous) @ ext-all.js:21
each @ ext-base.js:21
add @ ext-all.js:21
initComponent @ ext-all.js:21
initComponent @ ext-all.js:21
initComponent @ ext-all.js:21
Ext.Component @ ext-all.js:21
S @ ext-base.js:21
S @ ext-base.js:21
S @ ext-base.js:21
S @ ext-base.js:21
MODx.Tabs @ modx.jsgrps-min.js:1
create @ ext-all.js:21
createComponent @ ext-all.js:21
lookupComponent @ ext-all.js:21
add @ ext-all.js:21
(anonymous) @ ext-all.js:21
each @ ext-base.js:21
add @ ext-all.js:21
initComponent @ ext-all.js:21
initComponent @ ext-all.js:21
Ext.Component @ ext-all.js:21
S @ ext-base.js:21
S @ ext-base.js:21
S @ ext-base.js:21
create @ ext-all.js:21
load @ modx.js?v=f5210aec:85
_loadComponents @ modx.jsgrps-min.js:1
MODx.Component @ modx.jsgrps-min.js:1
ClientConfig.page.Admin @ admin.js:58
create @ ext-all.js:21
load @ modx.js?v=f5210aec:85
(anonymous) @ ?a=admin&namespace=clientconfig:48
(anonymous) @ ext-all.js:21
b @ ext-all.js:21
setInterval (async)
e.delay @ ext-all.js:21
(anonymous) @ ext-all.js:21
fire @ ext-all.js:21
b @ ext-all.js:21
Show 44 more frames
cover11.jpg:1 Failed to load resource: the server responded with a status of 404 ()
arch3.jpg:1 Failed to load resource: the server responded with a status of 404 ()
logo-light.png:1 Failed to load resource: the server responded with a status of 404 ()
modx.jsgrps-min.js:1 Uncaught TypeError: this.mask.addClass is not a function
    at S.onShow (modx.jsgrps-min.js:1)
    at S.afterShow (ext-all.js:21)
    at S.show (ext-all.js:21)
    at Object.show (ext-all.js:21)
    at MODx.onAjaxException (modx.js?v=f5210aec:122)
    at h.Event.fire (ext-all.js:21)
    at Ext.data.Connection.fireEvent (ext-all.js:21)
    at Ext.data.Connection.handleFailure (ext-all.js:21)
    at f (ext-base.js:21)
    at m (ext-base.js:21)
onShow @ modx.jsgrps-min.js:1
afterShow @ ext-all.js:21
show @ ext-all.js:21
show @ ext-all.js:21
onAjaxException @ modx.js?v=f5210aec:122
fire @ ext-all.js:21
fireEvent @ ext-all.js:21
handleFailure @ ext-all.js:21
f @ ext-base.js:21
m @ ext-base.js:21
(anonymous) @ ext-base.js:21
setInterval (async)
n @ ext-base.js:21
i @ ext-base.js:21
request @ ext-base.js:21
request @ ext-all.js:21
doRequest @ ext-all.js:21
request @ ext-all.js:21
execute @ ext-all.js:21
load @ ext-all.js:21
MODx.grid.Grid @ modx.jsgrps-min.js:1
ClientConfig.grid.Groups @ grid.groups.js:68
create @ ext-all.js:21
createComponent @ ext-all.js:21
lookupComponent @ ext-all.js:21
add @ ext-all.js:21
(anonymous) @ ext-all.js:21
each @ ext-base.js:21
add @ ext-all.js:21
initComponent @ ext-all.js:21
initComponent @ ext-all.js:21
Ext.Component @ ext-all.js:21
S @ ext-base.js:21
S @ ext-base.js:21
S @ ext-base.js:21
create @ ext-all.js:21
createComponent @ ext-all.js:21
lookupComponent @ ext-all.js:21
add @ ext-all.js:21
(anonymous) @ ext-all.js:21
each @ ext-base.js:21
add @ ext-all.js:21
initComponent @ ext-all.js:21
initComponent @ ext-all.js:21
initComponent @ ext-all.js:21
Ext.Component @ ext-all.js:21
S @ ext-base.js:21
S @ ext-base.js:21
S @ ext-base.js:21
S @ ext-base.js:21
MODx.Tabs @ modx.jsgrps-min.js:1
create @ ext-all.js:21
createComponent @ ext-all.js:21
lookupComponent @ ext-all.js:21
add @ ext-all.js:21
(anonymous) @ ext-all.js:21
each @ ext-base.js:21
add @ ext-all.js:21
initComponent @ ext-all.js:21
initComponent @ ext-all.js:21
Ext.Component @ ext-all.js:21
S @ ext-base.js:21
S @ ext-base.js:21
S @ ext-base.js:21
create @ ext-all.js:21
load @ modx.js?v=f5210aec:85
_loadComponents @ modx.jsgrps-min.js:1
MODx.Component @ modx.jsgrps-min.js:1
ClientConfig.page.Admin @ admin.js:58
create @ ext-all.js:21
load @ modx.js?v=f5210aec:85
(anonymous) @ ?a=admin&namespace=clientconfig:48
(anonymous) @ ext-all.js:21
b @ ext-all.js:21
setInterval (async)
e.delay @ ext-all.js:21
(anonymous) @ ext-all.js:21
fire @ ext-all.js:21
b @ ext-all.js:21
Show 43 more frames
cover11.jpg:1 Failed to load resource: the server responded with a status of 404 ()
event1.jpg:1 Failed to load resource: the server responded with a status of 404 ()
arch4.jpg:1 Failed to load resource: the server responded with a status of 404 ()
logo-light.png:1 Failed to load resource: the server responded with a status of 404 ()
arch3.jpg:1 Failed to load resource: the server responded with a status of 404 ()
/manager/assets/js/lazysizes.min.js:1 Failed to load resource: the server responded with a status of 404 ()
/manager/assets/js/bootstrap.min.js:1 Failed to load resource: the server responded with a status of 404 ()
/manager/assets/js/flexslider.min.js:1 Failed to load resource: the server responded with a status of 404 ()
/manager/assets/js/scripts.js:1 Failed to load resource: the server responded with a status of 404 ()
/manager/assets/js/parallax.js:1 Failed to load resource: the server responded with a status of 404 ()
/manager/assets/js/smooth-scroll.min.js:1 Failed to load resource: the server responded with a status of 404 ()

Basically it is having a problem loading component files. like the are 404, but they are out putting the correct pathway.

I have also noticed that Friendly URL and I can not manual update the MODX environment. will not work either. I thinking it is a configuration issues.

<?php
/**
 *  MODX Configuration file
 */
$database_type = 'mysql';
$database_server = 'localhost';
$database_user = 'USERNAME';
$database_password = 'DATABASEPASSWORD';
$database_connection_charset = 'latin1';
$dbase = 'DATABASENAME';
$table_prefix = 'modx_';
$database_dsn = 'mysql:host=localhost;dbname=DATABASENAME;charset=latin1';
$config_options = array (
);
$driver_options = array (
);

$lastInstallTime = 1585816175;

$site_id = 'SITE ID';
$site_sessionname = '';
$https_port = '443';
$uuid = 'UUID';

if (!defined('MODX_CORE_PATH')) {
    $modx_core_path= '/home/leasecor/sba/core/';
    define('MODX_CORE_PATH', $modx_core_path);
}
if (!defined('MODX_PROCESSORS_PATH')) {
    $modx_processors_path= '/home/leasecor/sba/core/model/modx/processors/';
    define('MODX_PROCESSORS_PATH', $modx_processors_path);
}
if (!defined('MODX_CONNECTORS_PATH')) {
    $modx_connectors_path= '/home/leasecor/sba/connectors/';
    $modx_connectors_url= '/connectors/';
    define('MODX_CONNECTORS_PATH', $modx_connectors_path);
    define('MODX_CONNECTORS_URL', $modx_connectors_url);
}
if (!defined('MODX_MANAGER_PATH')) {
    $modx_manager_path= '/home/leasecor/sba/manager/';
    $modx_manager_url= '/manager/';
    define('MODX_MANAGER_PATH', $modx_manager_path);
    define('MODX_MANAGER_URL', $modx_manager_url);
}
if (!defined('MODX_BASE_PATH')) {
    $modx_base_path= '/home/leasecor/sba/';
    $modx_base_url= '/';
    define('MODX_BASE_PATH', $modx_base_path);
    define('MODX_BASE_URL', $modx_base_url);
}
if(defined('PHP_SAPI') && (PHP_SAPI == "cli" || PHP_SAPI == "embed")) {
    $isSecureRequest = false;
} else {
    $isSecureRequest = ((isset($_SERVER['HTTPS']) && !empty($_SERVER['HTTPS']) && strtolower($_SERVER['HTTPS']) !== 'off') || $_SERVER['SERVER_PORT'] == $https_port);
}
if (!defined('MODX_URL_SCHEME')) {
    $url_scheme=  $isSecureRequest ? 'https://' : 'http://';
    define('MODX_URL_SCHEME', $url_scheme);
}
if (!defined('MODX_HTTP_HOST')) {
    if(defined('PHP_SAPI') && (PHP_SAPI == "cli" || PHP_SAPI == "embed")) {
        $http_host='sba.leasecorp.com';
        define('MODX_HTTP_HOST', $http_host);
    } else {
        $http_host= array_key_exists('HTTP_HOST', $_SERVER) ? htmlspecialchars($_SERVER['HTTP_HOST'], ENT_QUOTES) : 'sba.leasecorp.com';
        if ($_SERVER['SERVER_PORT'] != 80) {
            $http_host= str_replace(':' . $_SERVER['SERVER_PORT'], '', $http_host); // remove port from HTTP_HOST
        }
        $http_host .= ($_SERVER['SERVER_PORT'] == 80 || $isSecureRequest) ? '' : ':' . $_SERVER['SERVER_PORT'];
        define('MODX_HTTP_HOST', $http_host);
    }
}
if (!defined('MODX_SITE_URL')) {
    $site_url= $url_scheme . $http_host . MODX_BASE_URL;
    define('MODX_SITE_URL', $site_url);
}
if (!defined('MODX_ASSETS_PATH')) {
    $modx_assets_path= '/home/leasecor/sba/assets/';
    $modx_assets_url= '/assets/';
    define('MODX_ASSETS_PATH', $modx_assets_path);
    define('MODX_ASSETS_URL', $modx_assets_url);
}
if (!defined('MODX_LOG_LEVEL_FATAL')) {
    define('MODX_LOG_LEVEL_FATAL', 0);
    define('MODX_LOG_LEVEL_ERROR', 1);
    define('MODX_LOG_LEVEL_WARN', 2);
    define('MODX_LOG_LEVEL_INFO', 3);
    define('MODX_LOG_LEVEL_DEBUG', 4);
}

Check the file permissions on the assets folder.

Mark,
That is a great thought and one I have also already tried. Folder is 755

Mark, do you have time to help me fix this? Willing to cover your time I am in a binded.

Mark, I have try that as well as install a clean version of modx and then insert the old data base in. Now I can even get in to MODX. https://sba.leasecorp.com/manager/

This page isn’t working

sba.leasecorp.com is currently unable to handle this request.

HTTP ERROR 500

For some reason I just feel like I am loosing my mind.

Problem resolved. :slight_smile:

Mark,
Thank again…

1 Like