Stuck again. This dragon won't die!
I've carefully worked through this section twice. Part one of the tutorial works fine. The first part of the second part also works-- the CMP is live and I even get to see an empty grid. But I'm still not there.
Rereading the tut and triple checking because I've skipped and/or botched things before:
- uncomment a line in home.class.php
- create /www/doodles/assets/components/doodles/js/mgr/widgets/doodles.grid.js
- uncomment stuff in home.panel.js
- create /www/doodles/assets/components/doodles/connector.php
- create /www/doodles/config.core.php
- make sure the modx core path is correct in that last file (mine seems to match other files that are already on my box)
- create /www/doodles/core/components/doodles/processors/mgr/doodle/getlist.class.php
- go look at your populated grid!
I then end up with these error messages:
51 messages are hidden by filters. Show all messages.
body.scrollLeft is deprecated in strict mode. Please use 'documentElement.scrollLeft' if in strict mode and 'body.scrollLeft' only if in quirks mode. ext-all.js:21
body.scrollTop is deprecated in strict mode. Please use 'documentElement.scrollTop' if in strict mode and 'body.scrollTop' only if in quirks mode. ext-all.js:21
POST
http://localhost/doodles/assets/components/doodles/connector.php 401 (Not Authorized) ext-base.js:21
POST
http://localhost/modx-2.2.10-pl/connectors/resource/index.php?action=getNodes&id=web_0&type=modContext 401 (Not Authorized) ext-base.js:21
POST
http://localhost/modx-2.2.10-pl/connectors/system/registry/register.php 401 (Not Authorized) ext-base.js:21
The MODx gui then prompts me for a username and password; there are now rows populating on my grid. (It says, "Your session has expired. Please proceed to login again." But that isn't really true.)
Clearly... something in the connector is failing to get the authorization it is expecting.
Help...?
[ed. note: coderjeff last edited this post 12 years, 10 months ago.]