2 of 2
2
Super Admins getting “System Offline” message after server move
Posted: 06 October 2008 02:33 PM   [ Ignore ]   [ # 19 ]  
Moderator
Avatar
RankRankRankRankRankRankRankRank
Total Posts:  32861
Joined  05-14-2004

Lee - when you moved your site, you didn’t do any direct MySQL manipulation on the data itself, did you?

 Signature 
Profile
MSG
 
 
Posted: 06 October 2008 02:52 PM   [ Ignore ]   [ # 20 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  535
Joined  02-07-2007

The only thing I did was update the user password because I forgot what it was.

I have tried creating a new user as well to see if something was wonky there, I gave the new user super admin levels and they still get the SOS.

-Lee


*Edited - I couldn’t even make sense of that sentence*

 Signature 

you’ve got that sexy Canadian thing working for you… - Derek Allard

EkJobs.ca

Clever Andy

http://twitter.com/thatleeguy

Profile
 
 
Posted: 06 October 2008 03:24 PM   [ Ignore ]   [ # 21 ]  
Moderator
Avatar
RankRankRankRankRankRankRankRank
Total Posts:  32861
Joined  05-14-2004

Working on figuring out what may be going on here, just trying to figure out what we may have missed. Will update here soon. =)

 Signature 
Profile
MSG
 
 
Posted: 06 October 2008 04:24 PM   [ Ignore ]   [ # 22 ]  
Administrator
Avatar
RankRankRankRankRankRankRank
Total Posts:  15828
Joined  06-03-2002

Lee, when you login via the Control Panel, with the system online, are you showed as being logged in on the front end?

And when you say you’re using a custom system offline message, what precisely have you modified?

As a side note, I’ve performed support on government sites before that had tightly controlled access before; in those cases the organizations just had me enter into NDA to help provide support to the development firm.  Have you inquired with the client about this?

 Signature 
Profile
MSG
 
 
Posted: 06 October 2008 04:43 PM   [ Ignore ]   [ # 23 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  535
Joined  02-07-2007

Hey Derek,

So when I login to the CP and then browse to the front page (I have to turn the system on for this right now) I am not logged in. Then when I try and go back to the CP I have been logged out from it. If I login to the front end it properly identifies me however I have to login to the CP again.

As for the NDA we are working for a firm working for the Gov and they have flat out denied my request and have basically stated that as this has already cause a days loss they might be willing to start from a clean 1.6.4 install and build out stuff back in ontop of that (Which I really don’t want to do :( )

-Lee

 Signature 

you’ve got that sexy Canadian thing working for you… - Derek Allard

EkJobs.ca

Clever Andy

http://twitter.com/thatleeguy

Profile
 
 
Posted: 06 October 2008 05:06 PM   [ Ignore ]   [ # 24 ]  
Administrator
Avatar
RankRankRankRankRankRankRank
Total Posts:  15828
Joined  06-03-2002

Can you try it with cookies only, please, Lee, for both the CP and front end?  When you are logged into the CP, you should automatically be logged into the front end.  If this isn’t occurring, then there’s definitely an issue.  Can you email me the name of the domain so I can rule out a TLD problem with the cookie?  And is there anything else about the environment that should be known?  Control Panel accessed on the same domain (not a subdomain)?  CP behind SSL?

 Signature 
Profile
MSG
 
 
Posted: 06 October 2008 05:19 PM   [ Ignore ]   [ # 25 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  535
Joined  02-07-2007

Hey Derek,

When I check the cookie info for a working site that I have I get

exp_sessionid
exp_anon
exp_userhash
exp_uniqueid
exp_expiration
exp_last_activity
exp_last_visit

When I check the broken site I get

exp_last_activity
exp_last_tracker
exp_last_visit

However the cookie domain is correct in both cases.

-Lee

 Signature 

you’ve got that sexy Canadian thing working for you… - Derek Allard

EkJobs.ca

Clever Andy

http://twitter.com/thatleeguy

Profile
 
 
Posted: 06 October 2008 05:26 PM   [ Ignore ]   [ # 26 ]  
Administrator
Avatar
RankRankRankRankRankRankRank
Total Posts:  15828
Joined  06-03-2002

exp_last_activity, exp_last_tracker, and exp_last_visit are visitor cookies and will always be set when visiting an ExpressionEngine site.  The other cookies you see on the working site are cookies only set for logged in members.  Can you switch your CP and front end to use cookies only and try again?  If you can answer the other questions in my previous post as well, please, it will be most helpful.

 Signature 
Profile
MSG
 
 
Posted: 06 October 2008 06:55 PM   [ Ignore ]   [ # 27 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  535
Joined  02-07-2007

Hey Derek,

So when I try to update the system to operate on cookies only it wont let me change from session id for the cp setting.

So during this break I have tried to move another site from the development server to an enginehosting account and sure enough I am experiencing the same issue. In the past when I moved a site from the development server to the live server we had issues with other things. I think at this point it will just be easier to rebuild from a clean build.

However Derek can you email me the support login request form and I will set you up with an account on the most recently moved site. When we find the fix for it as it has the exact same issues we might be able to fix the other one.

-Lee

 Signature 

you’ve got that sexy Canadian thing working for you… - Derek Allard

EkJobs.ca

Clever Andy

http://twitter.com/thatleeguy

Profile
 
 
Posted: 06 October 2008 07:02 PM   [ Ignore ]   [ # 28 ]  
Administrator
Avatar
RankRankRankRankRankRankRank
Total Posts:  15828
Joined  06-03-2002

You are overriding that value in your config.php file, Lee.  Email sent.

 Signature 
Profile
MSG
 
 
Posted: 06 October 2008 07:03 PM   [ Ignore ]   [ # 29 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  535
Joined  02-07-2007

I had figured that out and updated that.

It works now, however I wonder why sessions does not work on the server.

-Lee

 Signature 

you’ve got that sexy Canadian thing working for you… - Derek Allard

EkJobs.ca

Clever Andy

http://twitter.com/thatleeguy

Profile
 
 
Posted: 06 October 2008 07:07 PM   [ Ignore ]   [ # 30 ]  
Administrator
Avatar
RankRankRankRankRankRankRank
Total Posts:  15828
Joined  06-03-2002

Were your user sessions also set to Sessions Only?  If there were any cookie component, then a CP Session login would not leave you logged in on the front end.  Or if you accessed the front end without your session id in the URL.

 Signature 
Profile
MSG
 
 
Posted: 06 October 2008 07:20 PM   [ Ignore ]   [ # 31 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  535
Joined  02-07-2007

They were both set to sessions at the time.

I will dig some more and see what I can find. As it stands both sites work now and I am heading home.

Thanks for your help Derek, Lisa and Greg.

-Lee

 Signature 

you’ve got that sexy Canadian thing working for you… - Derek Allard

EkJobs.ca

Clever Andy

http://twitter.com/thatleeguy

Profile
 
 
Posted: 07 October 2008 07:08 AM   [ Ignore ]   [ # 32 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  23522
Joined  05-20-2002

Sessions only, maybe the session id was getting dropped frontend?  I’ll leave this one running in case you spot something in later digging.  Glad they got you in, though.

 Signature 

AKA rob1

Help Request TipsPro Network

Profile
 
 
Posted: 07 October 2008 05:47 PM   [ Ignore ]   [ # 33 ]  
Moderator
Avatar
RankRankRankRank
Total Posts:  1075
Joined  08-01-2002
CI Lee - 06 October 2008 07:03 PM

I had figured that out and updated that.

It works now, however I wonder why sessions does not work on the server.

-Lee

Sessions would not be an issue server side as they are fully handled by EE, EE generates and stores its own session IDs in the database, so if you could login to the cp, and were staying logged in to the CP, then sessions were working.

It still seems that, like Derek said, if you had sessions only set, your accesses to the front-end would also have to have the session ID in the URL, same as the back-end to function.  If you did not see the session ID in the front-end URL, like you would in the CP, then it would not know what session to tie your access to, and you would not be seen as a Superadmin on the front-end.

 Signature 
Profile
 
 
   
2 of 2
2
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 09:33 AM
Total Registered Members: 64912 Total Logged-in Users: 31
Total Topics: 81864 Total Anonymous Users: 22
Total Replies: 440104 Total Guests: 183
Total Posts: 521968    
Members ( View Memberlist )
Newest Members:  bjmohrAqua193Bios Elementmjpoteetguimogranwelshmrcfthenetmonkeybenekwhobutsb