In my module, I have the following for hook_menu. The problem is that
unless I'm logged in as user 1, any attempt to enter any of the url's
results in a 403 without ever getting to any of the callback functions
function my_menu() {
$paths = array();
$paths['xfer/out'] = array(
'title' => 'Transfer transaction data',
'title callback' => FALSE,
'page callback' => '_my_xfer_out',
'access arguments' => TRUE,
'file' => 'my_functions.inc',
'type' => MENU_CALLBACK,
);
$paths['my/xfer/in'] = array(
'title' => 'Transfer transaction data from',
'title callback' => FALSE,
'page callback' => '_my_xfer_in',
'access arguments' => TRUE,
'file' => 'my_functions.inc',
'type' => MENU_CALLBACK,
);
$paths['my/login'] = array(
'title' => 'Login for xfer',
'title callback' => FALSE,
'page callback' => '_my_login',
'page arguments' => array('Receive data', 'Deliver data'),
'access arguments' => TRUE,
'file' => 'my_functions.inc',
'type' => MENU_CALLBACK,
);
return $paths;
}