Page 1 of 1

[solved] Upgraded 1.7.1 to 1.8.1, couldn't login to admin

Posted: Mon Jul 26, 2010 5:49 pm
by greenftechn
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!

Re: Upgraded 1.7.1 to 1.8.1, couldn't login to admin

Posted: Mon Jul 26, 2010 7:38 pm
by calguy1000
Your files didn't upload properly.

[solved] Re: Upgraded 1.7.1 to 1.8.1, couldn't login to admin

Posted: Wed Jul 28, 2010 7:20 pm
by greenftechn
calguy1000 wrote: Your files didn't upload properly.
I installed from the shell. My checksums were all ok....

However, I do have a renamed admin folder. I think this post is relevant:

http://forum.cmsmadesimple.org/index.ph ... 980.0.html

I'm going to mark the issue solved