A
A
Alexander2015-05-07 18:30:04
PHP
Alexander, 2015-05-07 18:30:04

Why "Access denied" in CMP table on MODX REVO?

Good afternoon!
I created my component based on ModxExtra and installed it.
When you open the component page, the table displays "Access is denied" (in Denver, on the hosting, the inscription "No data for output"), when you try to create records, they are actually created in MySQL, but are not displayed in the plate on the page
78503b32d0dc4f95a7b349a54eefc18a.PNG9d09ab41719e4a17b951c416b3a89b7c.PNG

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2015-05-11
@axyal

Well, I'm answering my own question
1. "Access denied" - an extra character before <?php in the ../assets/components/component_name/connector.php file
2. The data was not displayed due to an error in the .../core file /components/component_name/processors/mgr/item/getlist.php
$isLimit = !empty($_REQUEST['limit']);
$start = $modx->getOption('start',$_REQUEST,0);
$limit = $modx->getOption('limit',$_REQUEST,20);
$sort = $modx->getOption('sort',$_REQUEST,' name ');
$dir = $modx->getOption('dir',$_REQUEST,'ASC');
$isLimit = !empty($_REQUEST['limit']);
$start = $modx->
$limit = $modx->getOption('limit',$_REQUEST,20);
$sort = $modx->getOption('sort',$_REQUEST,' login ');
$dir = $modx->getOption('dir',$_REQUEST,'ASC');
d2d1cd74fa144b3b9cec025cf3c2fd07.PNG

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question