Answer the question
In order to leave comments, you need to log in
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
Answer the question
In order to leave comments, you need to log in
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');
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question