Help - Search - Members - Calendar
Full Version: Signin Problems With Admin And Front End
Movable Type Community Forum > Other Product Discussion > Bugs and Odd Behavior
Ben S
So this is a strange problem. I just finished configuring a MT4.2 install (first time using MT). And things are running smoothly, however, I've noticed a couple problems.

When I first sign into the Admin section, sometimes certain actions I take force me to re-login. I login in again, and it completes the action I started. Ie) Signed, went to Widgets, tried to edit a Widget, took me to Sign In again, Signed In again, and it took me straight to the Widget that I wanted to edit.

K, not that big a deal.

On the front end, when you sign in, it works. However, once you click an entry, or an archive (basically anything that is a regular .html page) it changes to having to Sign in again (the top section that used to say "Signed In As..." now says "Sign In" again). HOWEVER, if you then search for a term, on the search result page it shows you are signed in again!

Here is the site: (usr: test pwd: 123456)
http://www.harvardorbust.com

(also, on a side note) - When i first sign into the admin, I am UNABLE to edit ANY pages (widgets, templates, etc) in firefox. It is all greyed out. I have to press "SAVE" first. Then it refreshes the page and I get the edit window with the coded color... No refreshing, or quiting, or clearing cookies/cache doesn't do anything)

Thanks for any help...
OtherNiceMan
This sounds like a mismatch in your mt-config and the url your are connecting to.

Can you post your mt-config.cgi (xxxx user and password information).
Ben S
QUOTE (OtherNiceMan @ Aug 16 2008, 03:21 AM) *
This sounds like a mismatch in your mt-config and the url your are connecting to.
Can you post your mt-config.cgi (xxxx user and password information).


CODE
# The CGIPath is the URL to your Movable Type directory
CGIPath http://www.harvardorbust.com/cgi-bin/mt/

# The StaticWebPath is the URL to your mt-static directory
StaticWebPath http://www.harvardorbust.com/mt-static

#================ DATABASE SETTINGS ==================

##### MYSQL #####
ObjectDriver DBI::mysql
Database dbxxxx_harvard
DBUser xxxxxx
DBPassword xxxxxx
DBHost internal-db.sxxxxx.gridserver.com


now, when i set this up the first time. I had to manually configure the Mt-config file (i can't remember why). so maybe it's missing something?
OtherNiceMan
Looks OK.

When you login in are you connecting to www.harvardorbust.com or harvardorbust.com ?

If you can, check what information is being stored in the login cookie (FF with Web Developer Toolbar can done this).
Ben S
*****NEVER MIND, I DELTED EVERYTHING AND STARTED OVER FROM SCRATCH, HOPEFULLY NO MORE PROBLEMS*****

I tried connecting to both with 'www' and without. No difference.

I did however notice that once i've signed in, and goto a new page (where it now says 'Sign In' again) if i click 'sign in' it changes to "signing in" and then shows the account i'm signed in as. So it's not really logging me out per say. It just says it is.

I tried making a new blog and this problem does appear. So i guess i have to start over from the beginning, hopefully it doesn't happen again. However, the Admin problem is still an issue, and i'd rather not have to install MT all over again.

Here is the cookie information for the Front End, Admin to follow:

Thanks for your help. I'm really loving MT and it'd be great to iron these little things out...

btw: any idea why i have to press 'save' and then have to Log In again before i can edit any pages? that is pretty consistant now.

Log In, try to edit page, can't cause it's greyed out, press 'Save', that takes me to login page again, log in, takes me back to page i was on, can edit pages again. Bizarre



CODE
http://www.harvardorbust.com/about.html
6 cookies
Name commenter_id
Value
Host harvardorbust.com
Path /
Secure No
Expires Tue, 19 Aug 2008 00:27:39 GMT


Name commenter_name
Value Ben%20Stanley
Host harvardorbust.com
Path /
Secure No
Expires Tue, 14 Aug 2018 00:40:03 GMT

Name mt_commenter
Value FF7AlGXMPcGWuIGgIDwFBrhgdMhvjycXDO59idOo
Host harvardorbust.com
Path /
Secure No
Expires Tue, 14 Aug 2018 00:40:03 GMT


Name commenter_id
Value
Host www.harvardorbust.com
Path /
Secure No
Expires Tue, 19 Aug 2008 00:28:00 GMT


Name commenter_name
Value test%20account%202
Host www.harvardorbust.com
Path /
Secure No
Expires Sun, 17 Aug 2008 02:32:31 GMT


Name mt_commenter
Value MPoP6d1VvpvptZq5SHNgNcNoQLMiFXmbjJICx86j
Host www.harvardorbust.com
Path /
Secure No
Expires Sun, 17 Aug 2008 02:32:31 GMT


CODE

http://harvardorbust.com/cgi-bin/mt/mt.cgi
4 cookies

Name commenter_id
Value
Host harvardorbust.com
Path /
Secure No
Expires Tue, 19 Aug 2008 00:27:39 GMT

Name commenter_name
Value Ben%20Stanley
Host harvardorbust.com
Path /
Secure No
Expires Tue, 14 Aug 2018 00:40:03 GMT

Name mt_commenter
Value FF7AlGXMPcGWuIGgIDwFBrhgdMhvjycXDO59idOo
Host harvardorbust.com
Path /
Secure No
Expires Tue, 14 Aug 2018 00:40:03 GMT

Name mt_user
Value ben%3A%3A0DpJ5pUDSIe1otRfVDacnFO4jM1UbNg0j7qvWOpY%3A%3A1
Host harvardorbust.com
Path /cgi-bin/mt/
Secure No
Expires Tue, 14 Aug 2018 00:40:03 GMT


http://www.harvardorbust.com/mt-static/html/blank.html
6 cookies

Name commenter_id
Value
Host harvardorbust.com
Path /
Secure No
Expires Tue, 19 Aug 2008 00:27:39 GMT

Name commenter_name
Value Ben%20Stanley
Host harvardorbust.com
Path /
Secure No
Expires Tue, 14 Aug 2018 00:40:03 GMT

Name mt_commenter
Value FF7AlGXMPcGWuIGgIDwFBrhgdMhvjycXDO59idOo
Host harvardorbust.com
Path /
Secure No
Expires Tue, 14 Aug 2018 00:40:03 GMT

Name commenter_id
Value
Host www.harvardorbust.com
Path /
Secure No
Expires Tue, 19 Aug 2008 00:28:00 GMT

Name commenter_name
Value test%20account%202
Host www.harvardorbust.com
Path /
Secure No
Expires Sun, 17 Aug 2008 02:32:31 GMT

Name mt_commenter
Value MPoP6d1VvpvptZq5SHNgNcNoQLMiFXmbjJICx86j
Host www.harvardorbust.com
Path /
Secure No
Expires Sun, 17 Aug 2008 02:32:31 GMT
Dave-O
I have a similar problem *I think*. All of the "regular" user accounts work fine (in both IE and Firefox), but the system admin account only works in Firefox. In IE, it forces the system admin account to login after any action is selected. Makes no sense really.

As far as I know it is data related. When I do a fresh install, it all works fine. When I import the data, it stops working. Yipee.

I've heard that repairing the database tables fixes it in some cases though. However it didn't fix it for me. It's not a huge issues because I don't mind Firefox and the actual system admin prefers Firefox. It is a frustrating problem though and I haven't had any luck with support or the forums (yet).
OtherNiceMan
Sounds as if there is a problem with session data or user account information in the tables.
François Nonnenmacher
QUOTE (Ben S @ Aug 16 2008, 11:54 AM) *
When I first sign into the Admin section, sometimes certain actions I take force me to re-login. I login in again, and it completes the action I started. Ie) Signed, went to Widgets, tried to edit a Widget, took me to Sign In again, Signed In again, and it took me straight to the Widget that I wanted to edit.


Take a look at the following bug: http://bugs.movabletype.org/default.asp?82082

If you see that the IDs in your mt_user and mt_commenter cookies are always the same and never changing, try the following code SEVERAL times on your server:

perl -e 'print rand;'

If it outputs always the same number, then you've got your culprit. The fix is outlined in the bug report linked above (line 1197 in file lib/MT/App.pm in the MT directory).

Cheers,
François Nonnenmacher
--
http://ubiquitic.com/
http://padawan.info/

Kim Daniels
We have the same problem at my company, and I was told by our service provider that if you have several blogs and are an administrator, MT calls for cookies for every blog that you have permissions for. IE's security kicks out all multiple cookie requests from the same source. Firefox kicks out all but one cookie, so you're not asked repeatedly to log in since you have at least one cookie left.

This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.