You can try 2 things

1. Try removing access callback and let the default functionality take over. Flush caches and then see if this works.
2. there is less possibility, but have you used drupal_access_denied in your function, if so, is any condition going wrong ?

On Sun, May 6, 2012 at 6:43 PM, Fred Jones <fredthejonester@gmail.com> wrote:
Here is my code:

function mymod_menu(){
 $items['front'] = array(
   'title' => '',
   'page callback' => 'mymod_homepage',
   'type' => MENU_NORMAL_ITEM,
   'access callback' => 'user_access',
   'access arguments' => array('View published content'),
 );
 return $items;
}

and anonymous users have "View published content" checked off. With or
without the "access callback" line, I get access denied for the home
page for anon users. I am confused as to why. What am I missing here?

Thank you,
Fred
--
[ Drupal support list | http://lists.drupal.org/ ]



--
Regards,
Vaibhav Jain