Entry Point is from front end
the problem is in components/"componentname"test/"componentname"test.php on line 227
there is no check for entry point i guess i need to put in a check here...
require_once(JPATH_ADMIN_COMPONENTNAMETEST .DS.'classes'.DS.'jcontroller.php');
if ($controllerName)
require_once( JPATH_ADMIN_COMPONENTNAMETEST .DS.'controllers'.DS.$controllerName.'.php' );
$controllerName = 'ComponentnametestController'.$controllerName;
// Create the controller
$controller = new $controllerName();
// Perform the Request task
$controller->execute( JRequest::getCmd('task') );
// Redirect if set by the controller
$controller->redirect();