We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 4172
    • 5,888 Posts
    Strange.
    I can't reproduce that issue.
    I'm allways getting the HTTP_MODAUTH also with the first request to the getcombo - processor.
      -------------------------------

      you can buy me a beer, if you like MIGX

      http://webcmsolutions.de/migx.html

      Thanks!
      • 49079
      • 12 Posts
      Thank you for help!!

      Do you test the latest version modx / migx??

      What environment you test?

      Maybe i don't something do..... or maybe we have different system setting (session setting or any other)... [ed. note: artexoid last edited this post 8 years, 4 months ago.]
        • 49079
        • 12 Posts
        /.../public_html/assets/components/migx/connector.php

        before require_once dirname(dirname(dirname(dirname(__FILE__)))).'/config.core.php';

        if (empty($_REQUEST['HTTP_MODAUTH'])) {
        echo '{"success":true,"total":"0","results":[]}';
        die();
        }

        It's very bad solution. It work, but have one moment, dropbox not have default list and display default value "all"

        /** MIGX ...*/
        /**
         * xdbedit connector
         * 
         * @package migx
         * @subpackage controllers
         */
        if (empty($_REQUEST['HTTP_MODAUTH'])) {
            echo '{"success":true,"total":"0","results":[]}';
            die();
        }
        
        require_once dirname(dirname(dirname(dirname(__FILE__)))).'/config.core.php';
        require_once MODX_CORE_PATH.'config/'.MODX_CONFIG_KEY.'.inc.php';
        require_once MODX_CONNECTORS_PATH.'index.php';
        
        $modx->lexicon->load('migx:default');
        
        //fix for firefox - issue with iframe and form-action
        $action = isset($_REQUEST['action']) ? $_REQUEST['action'] : '';
        $_REQUEST['action'] = isset($_REQUEST['actionx']) ? $_REQUEST['actionx'] : $action;
        
        /* handle request */
        $miTVCorePath = $modx->getOption('migx.core_path',null,$modx->getOption('core_path').'components/migx/');
        require_once $miTVCorePath.'model/migx/migx.class.php';
        require_once $modx->getOption('core_path').'model/modx/modmanagercontroller.class.php';
        $modx->migx = new Migx($modx);
        $modx->migx->config['configs'] = isset($_REQUEST['configs']) ? $_REQUEST['configs'] : '';
        $modx->migx->loadConfigs();
        
        $modx->request->handleRequest(array(
            'processors_path' => $miTVCorePath.'processors/',
            'location' => '',
        ));