Hello.
I installed the developer branch from github and I'm having some trouble making my component work.
The component was working fine in modx2.2. but now the connector can't get permission because somehow modx keeps retrieving the logged user as anonymous.
The first 3 lines of my connector are:
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';
The problem is in the index Connector because when modx is initialized it gets "anonymous" has the logged user and of course it refuses permission on checkPolicy
I tried tracing why this is happening and although not sure why I found that in the _initSession method (modx.class.php line 2350) the session_start() call seams to fail to fill the $_SESSION array.
This makes the getUser method to fail to retrieve the logged user and return anonymous
I'm I doing something wrong?
Can someone help me?
Thanks