I recommend doing a backtrace.
It looks like the error is coming from include/MVC/View/views/view.noaccess.php
Altering it to do a backtrace will enable to chase the initial call that's causing it. Also, checkout xdebug for debugging
PHP Code:
<?php
/*********************************************************************************
* The contents of this file are subject to
* *******************************************************************************/
require_once('include/vCard.php');
class ViewNoaccess extends SugarView{
var $type ='noaccess';
function ViewNoaccess(){
parent::SugarView();
}
function display(){
echo '<p class="error">Warning: You do not have permission to access this module.</p>';
$trace = debug_backtrace();
print "<pre>"; print_r($trace); print "</pre>";die();
}
}
?>
PS: you can't run w/ this code in production btw.
Bookmarks