After running an upgrade on a site that is running 2.3.1 to 2.4.0, I am unable to login on the manager screen. The only output I get is a red 1 appears above UserName.
The only red output during the update is this on the Update Summary page.
Error updating table for class modManagerLog
Array
(
[0] => 00000
[1] =>
[2] =>
)
which seems to be classified as ignorable.
Credentials are valid and working prior to the update.
core/cache was nuked.
IE 11 Delete Browsing History has been done.
Cent/OS 6.17 up-to-date as of 9/17.
php 5.3.3
apache: Apache/2.2.15 (Unix)
Front End seems fine.
No errors being presented.
MySQL on another server 5.0.95.
The answer is provided here:
https://forums.modx.com/thread/98140/unable-to-login-as-manager-after-upgrade-to-2-4?page=3#dis-post-531938. I applied the following to the August 18th 2.4 basic download:
*** login.class.php.ORIG 2015-08-18 22:24:48.000000000 -0400
--- login.class.php 2015-09-22 16:32:19.000000000 -0400
***************
*** 61,69 ****
);
$response = $this->modx->invokeEvent($this->isMgr ? "OnBeforeManagerLogin" : "OnBeforeWebLogin", $onBeforeLoginParams);
- $preventLogin = $this->processEventResponse($response);
! return $preventLogin;
}
/**
--- 61,75 ----
);
$response = $this->modx->invokeEvent($this->isMgr ? "OnBeforeManagerLogin" : "OnBeforeWebLogin", $onBeforeLoginParams);
! if (is_array($response)) {
! foreach ($response as $key => $value) {
! if ($value !== true) {
! return $value;
! }
! }
! }
! return '';
}
/**
[ed. note: jpetersdt last edited this post 11 years ago.]