I have been searching for an answer to this for the last 2 hours. Unfortunately, none of the "solutions" seem to work. If there is a definitive post regarding this issue, please point me to it.
I have upgraded an Evo 9.6 site to 1.0.6. I have done this with several site on this same server and haven't had an issue until now.
The "Front End" of the site is viewable and functioning correctly, however I can not acces the Manager. The /manager page is blank. No errors are present.
I have tried doing away with the .htaccess and that doesn't affect the issue at all. There are no odd characters in the DB Name or Password. The config file contents are below (the DB User/Name/PW have been removed for security purposes.)
<!--BEGIN CONFIG -->
<?php
/**
* MODx Configuration file
*/
$database_type = 'mysql';
$database_server = 'localhost';
$database_user = 'HIDDEN';
$database_password = 'HIDDEN';
$database_connection_charset = 'utf8';
$database_connection_method = 'SET CHARACTER SET';
$dbase = '`HIDDEN`';
$table_prefix = 'HIDDEN';
error_reporting(E_ALL & ~E_NOTICE);
$lastInstallTime = 1340058237;
$site_sessionname = 'SN4fdfaa7d2d094';
$https_port = '443';
// automatically assign base_path and base_url
if(empty($base_path)||empty($base_url)||$_REQUEST['base_path']||$_REQUEST['base_url']) {
$sapi= 'undefined';
if (!strstr($_SERVER['PHP_SELF'], $_SERVER['SCRIPT_NAME']) && ($sapi= @ php_sapi_name()) == 'cgi') {
$script_name= $_SERVER['PHP_SELF'];
} else {
$script_name= $_SERVER['SCRIPT_NAME'];
}
$a= explode("/manager", str_replace("\\", "/", dirname($script_name)));
if (count($a) > 1)
array_pop($a);
$url= implode("manager", $a);
reset($a);
$a= explode("manager", str_replace("\\", "/", dirname(__FILE__)));
if (count($a) > 1)
array_pop($a);
$pth= implode("manager", $a);
unset ($a);
$base_url= $url . (substr($url, -1) != "/" ? "/" : "");
$base_path= $pth . (substr($pth, -1) != "/" && substr($pth, -1) != "\\" ? "/" : "");
}
// assign site_url
$site_url= ((isset ($_SERVER['HTTPS']) && strtolower($_SERVER['HTTPS']) == 'on') || $_SERVER['SERVER_PORT'] == $https_port) ? 'https://' : 'http://';
$site_url .= $_SERVER['HTTP_HOST'];
if ($_SERVER['SERVER_PORT'] != 80)
$site_url= str_replace(':' . $_SERVER['SERVER_PORT'], '', $site_url); // remove port from HTTP_HOST
$site_url .= ($_SERVER['SERVER_PORT'] == 80 || (isset ($_SERVER['HTTPS']) && strtolower($_SERVER['HTTPS']) == 'on') || $_SERVER['SERVER_PORT'] == $https_port) ? '' : ':' . $_SERVER['SERVER_PORT'];
$site_url .= $base_url;
if (!defined('MODX_BASE_PATH')) define('MODX_BASE_PATH', $base_path);
if (!defined('MODX_BASE_URL')) define('MODX_BASE_URL', $base_url);
if (!defined('MODX_SITE_URL')) define('MODX_SITE_URL', $site_url);
if (!defined('MODX_MANAGER_PATH')) define('MODX_MANAGER_PATH', $base_path.'manager/');
if (!defined('MODX_MANAGER_URL')) define('MODX_MANAGER_URL', $site_url.'manager/');
// start cms session
if(!function_exists('startCMSSession')) {
function startCMSSession(){
global $site_sessionname;
session_name($site_sessionname);
session_start();
$cookieExpiration= 0;
if (isset ($_SESSION['mgrValidated']) || isset ($_SESSION['webValidated'])) {
$contextKey= isset ($_SESSION['mgrValidated']) ? 'mgr' : 'web';
if (isset ($_SESSION['modx.' . $contextKey . '.session.cookie.lifetime']) && is_numeric($_SESSION['modx.' . $contextKey . '.session.cookie.lifetime'])) {
$cookieLifetime= intval($_SESSION['modx.' . $contextKey . '.session.cookie.lifetime']);
}
if ($cookieLifetime) {
$cookieExpiration= time() + $cookieLifetime;
}
if (!isset($_SESSION['modx.session.created.time'])) {
$_SESSION['modx.session.created.time'] = time();
}
}
setcookie(session_name(), session_id(), $cookieExpiration, MODX_BASE_URL);
}
}
?>
<!-- END CONFIG -->
Can anyone offer help?
TIA
Kevin
I have never experienced this error before, do you see the login form, or it is completely blank?
Have you tried to clear the browser's cache?
If you look at the source code what do you see?