[solved] Upgraded 1.7.1 to 1.8.1, couldn't login to admin
Posted: Mon Jul 26, 2010 5:49 pm
Running fully updated Hardy server. I upgraded from 1.7.1 to 1.8.1, then couldn't login to admin.
I have the CGExtensions and CGCalendar modules
Received this error in browser upon login attempt:
Fatal error: Call to undefined method CGCalendar::LoginPost() in /var/www/sites/hohwebm/renamed_admin/login.php on line 186
I checked the code in the referenced area and proceeded to comment it out as shown below:
#Perform the login_post callback TODO: Remove me
#foreach($gCms->modules as $key=>$value)
#{
# if ($gCms->modules[$key]['installed'] == true &&
# $gCms->modules[$key]['active'] == true)
# {
# $gCms->modules[$key]['object']->LoginPost($oneuser);
# }
#}
After this, everything seems fine until I went to logout. Then I received:
Fatal error: Call to undefined method CGCalendar::LogoutPost() in /var/www/sites/hohwebm/renamed_admin/logout.php on line 48
Obviously, this is related to the code in the login.php file too. Not knowing for sure what is going on in the code, I hesitate to make any changes without some guidance. Thanks!
I have the CGExtensions and CGCalendar modules
Received this error in browser upon login attempt:
Fatal error: Call to undefined method CGCalendar::LoginPost() in /var/www/sites/hohwebm/renamed_admin/login.php on line 186
I checked the code in the referenced area and proceeded to comment it out as shown below:
#Perform the login_post callback TODO: Remove me
#foreach($gCms->modules as $key=>$value)
#{
# if ($gCms->modules[$key]['installed'] == true &&
# $gCms->modules[$key]['active'] == true)
# {
# $gCms->modules[$key]['object']->LoginPost($oneuser);
# }
#}
After this, everything seems fine until I went to logout. Then I received:
Fatal error: Call to undefined method CGCalendar::LogoutPost() in /var/www/sites/hohwebm/renamed_admin/logout.php on line 48
Obviously, this is related to the code in the login.php file too. Not knowing for sure what is going on in the code, I hesitate to make any changes without some guidance. Thanks!