This appears to be caused by this module
SugarCubed: Configurator Upgrades Module 4.5.0rc1
And can lock you out of the system.
What we did was open the index.php files and deleted the following code :
/*
* Pre Page Render stubs by kbrill (ken.brill@gmail.com)
* 08-05-2006
*
* Allows developers to add PHP programs that run with every page
* It includes an entire directory of PHP files so that one developer
* doesn't have to worry about what another did.
*/
$path_parts = pathinfo($_SERVER["SCRIPT_FILENAME"]);
$path_name=$path_parts['dirname']."/";
$pre_render_directory = $path_name."include/pre_render/";
if(!is_dir($pre_render_directory)) {
mkdir($pre_render_directory);
}
$include_files = scandir($pre_render_directory);
foreach ($include_files as $include_filename) {
if($include_filename<>"." && $include_filename<>"..") {
include($pre_render_directory.$include_filename);
}
}
/*
*
* END PRE-RENDER PHP FILES
*
*/Then refreashed the page went to the admin area and uninstalled the:
SugarCubed: Configurator Upgrades Module 4.5.0rc1
We then went back to the index.php file and restored the above code and saved the page. Everything appears to be worling fine now.