Real fun problem here, I’ve done a fresh install twice with what seems like the problem starting after installing clientconfig but removing it doesnt fix the problem.
SKIP AHEAD - I found the issue and it was fixed by removing versionX. I dont know if this is a versionx issue or a conflict between versionx and clientconfig but I removed both and then the full manager came back.
Note - the full page would load for a second and then go mostly blank like the image shows and console shows pretty much every resource is 404 (but again they load for a split second).
Hope this saves someone else some trouble and having to reinstall modx.
WELP, looks like the resources worked but when I go to use client config that page says the connector is broken and does the same thing (only buttons show). Perhaps this is a general MODx issue.
Hi, developer of both ClientConfig and VersionX here.
As there are no known manager-breaking-issues on either, and I’m also not aware of any conflicts, please post any errors you’re getting… in the browser developer console, MODX error log, etc.
Error log shows this:
[2019-08-01 12:00:57] (ERROR in xPDO::getService @ /home/pdsdiyhel/public_html/core/xpdo/xpdo.class.php : 1234) modRestClient::__construct is deprecated since version 2.3.0. Use the modRest classes instead.
[2019-08-01 12:00:57] (ERROR in modRestCurlClient::__construct @ /home/pdsdiyhel/public_html/core/model/modx/rest/modrestcurlclient.class.php : 26) modRestClient::__construct is deprecated since version 2.3.0. Use the modRest classes instead.
[2019-08-01 12:00:57] (ERROR in xPDO::getService @ /home/pdsdiyhel/public_html/core/xpdo/xpdo.class.php : 1234) modRestClient::__construct is deprecated since version 2.3.0. Use the modRest classes instead.
[2019-08-01 12:00:57] (ERROR in modRestCurlClient::__construct @ /home/pdsdiyhel/public_html/core/model/modx/rest/modrestcurlclient.class.php : 26) modRestClient::__construct is deprecated since version 2.3.0. Use the modRest classes instead.
[2019-08-01 12:00:58] (ERROR in xPDO::getService @ /home/pdsdiyhel/public_html/core/xpdo/xpdo.class.php : 1234) modRestClient::__construct is deprecated since version 2.3.0. Use the modRest classes instead.
[2019-08-01 12:00:58] (ERROR in xPDO::getService @ /home/pdsdiyhel/public_html/core/xpdo/xpdo.class.php : 1234) modRestClient::__construct is deprecated since version 2.3.0. Use the modRest classes instead.
[2019-08-01 12:00:58] (ERROR in modRestCurlClient::__construct @ /home/pdsdiyhel/public_html/core/model/modx/rest/modrestcurlclient.class.php : 26) modRestClient::__construct is deprecated since version 2.3.0. Use the modRest classes instead.
[2019-08-01 12:00:58] (ERROR in modRestCurlClient::__construct @ /home/pdsdiyhel/public_html/core/model/modx/rest/modrestcurlclient.class.php : 26) modRestClient::__construct is deprecated since version 2.3.0. Use the modRest classes instead.
[2019-08-01 12:01:05] (ERROR in xPDO::getService @ /home/pdsdiyhel/public_html/core/xpdo/xpdo.class.php : 1234) modRestClient::__construct is deprecated since version 2.3.0. Use the modRest classes instead.
[2019-08-01 12:01:05] (ERROR in modRestCurlClient::__construct @ /home/pdsdiyhel/public_html/core/model/modx/rest/modrestcurlclient.class.php : 26) modRestClient::__construct is deprecated since version 2.3.0. Use the modRest classes instead.
[2019-08-01 12:01:07] (ERROR in xPDO::getService @ /home/pdsdiyhel/public_html/core/xpdo/xpdo.class.php : 1234) modRestClient::__construct is deprecated since version 2.3.0. Use the modRest classes instead.
[2019-08-01 12:01:07] (ERROR in modRestCurlClient::__construct @ /home/pdsdiyhel/public_html/core/model/modx/rest/modrestcurlclient.class.php : 26) modRestClient::__construct is deprecated since version 2.3.0. Use the modRest classes instead.
[2019-08-01 12:01:08] (ERROR in xPDO::getService @ /home/pdsdiyhel/public_html/core/xpdo/xpdo.class.php : 1234) modRestClient::__construct is deprecated since version 2.3.0. Use the modRest classes instead.
[2019-08-01 12:01:08] (ERROR in modRestCurlClient::__construct @ /home/pdsdiyhel/public_html/core/model/modx/rest/modrestcurlclient.class.php : 26) modRestClient::__construct is deprecated since version 2.3.0. Use the modRest classes instead.
[2019-08-01 12:01:09] (ERROR in xPDO::getService @ /home/pdsdiyhel/public_html/core/xpdo/xpdo.class.php : 1234) modRestClient::__construct is deprecated since version 2.3.0. Use the modRest classes instead.
[2019-08-01 12:01:09] (ERROR in modRestCurlClient::__construct @ /home/pdsdiyhel/public_html/core/model/modx/rest/modrestcurlclient.class.php : 26) modRestClient::__construct is deprecated since version 2.3.0. Use the modRest classes instead.
[2019-08-01 12:01:16] (ERROR in xPDO::getService @ /home/pdsdiyhel/public_html/core/xpdo/xpdo.class.php : 1234) modRestClient::__construct is deprecated since version 2.3.0. Use the modRest classes instead.
[2019-08-01 12:01:16] (ERROR in modRestCurlClient::__construct @ /home/pdsdiyhel/public_html/core/model/modx/rest/modrestcurlclient.class.php : 26) modRestClient::__construct is deprecated since version 2.3.0. Use the modRest classes instead.
The first error in the console suggests that either the connector file does not exist (check if it does in the file manager or via ftp/ssh).
More likely, its file permissions are wrong.
Depending on your server configuration, directories typically need to be 0755 and files need 0644. When set differently (e.g. 0777, 0666, or lower) the server will reject access to them. In this case, one of the following is probably set wrong:
/assets/ - should typically be 0755
/assets/components/ - should typically be 0755
/assets/components/clientconfig/ - should typically be 0755
/assets/components/clientconfig/connector.php - should typically be 0644
Keep looking into file permissions and consult your server admin/host if needed. It’s almost certainly related to file permissions. Like I said that’s the typical numbers, not all. Maybe your server does need 0777 and 0666, happens on old or sometimes local environments. Or maybe the group/user is incorrect, though that’s really rare in my experience.
To simplify testing, you can open /assets/components/clientconfig/connector.php in your browser and keep hammering the permissions until the server lets it process and it returns JSON.
Can you think of anything else to check? This is my 30th+ modx install, I did check and do have another modx install on this server and the installs themselves always go the same but never had this happen before.
All permission look good and match my other modx install on the same server so IDK what else to check there.
I did uninstall versionx again and I can edit all resources and templates again like normal. When I go to configuration I see the configuration page but as soon as I click on admin side it loads everything for a millisecond then I only see the buttons and everything says 404 in the console.
Any further help is appreciated. even if you want me to check/add other extras or something, I can.