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

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
greenftechn
Forum Members
Forum Members
Posts: 36
Joined: Wed Sep 26, 2007 10:53 pm

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

Post 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!
Last edited by greenftechn on Wed Jul 28, 2010 7:25 pm, edited 1 time in total.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

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

Post by calguy1000 »

Your files didn't upload properly.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
greenftechn
Forum Members
Forum Members
Posts: 36
Joined: Wed Sep 26, 2007 10:53 pm

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

Post 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
Last edited by greenftechn on Wed Jul 28, 2010 7:25 pm, edited 1 time in total.
Locked

Return to “[locked] Installation, Setup and Upgrade”