1 of 2
1
Super Admins getting “System Offline” message after server move
Posted: 06 October 2008 10:27 AM   [ Ignore ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  535
Joined  02-07-2007

Hello All,

I have a client site that is being moved from our development server to the live server. In doing so it moving from one EngineHosting account to another and changine url from some.developmentdomain.com to somelivesite.com

Since this has happened when we turn the system off every member group is shown the “System Offline” message including the super admins. In the database under “exp_member_groups” the Super Admin group has “can_view_offline_system” = y


Cookie based sessions? We have cleared browsers and whatnot and even tried with machines that have never been to that url and no luck.

Ideas?

-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 10:41 AM   [ Ignore ]   [ # 1 ]  
Moderator
Avatar
RankRankRankRank
Total Posts:  1988
Joined  05-07-2007

Lee:

Interesting.  What version/build of ExpressionEngine are you running?  Also, do you have anything set at:  CP Home ›  Admin ›  System Preferences ›  Cookie Settings

Specifically the Cookie Domain.  if you try:  “.mylivesite.com”  (notice the period) does that make a difference if you use Cookie Based sessions?

-greg

 Signature 
Profile
MSG
 
 
Posted: 06 October 2008 10:48 AM   [ Ignore ]   [ # 2 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  535
Joined  02-07-2007

Hey Greg,

I cant believe I left that stuff out :D

1.6.3 No MSM and I cannot change the cookie pref from .somedomain.com to .newdomain.com it says updated but does not change. I have even change config.php too 775 and nada.

-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 10:52 AM   [ Ignore ]   [ # 3 ]  
Moderator
Avatar
RankRankRankRank
Total Posts:  1988
Joined  05-07-2007

Do you think you could try to update to 1.6.4?  It’s a recommended security and bug update.

This is puzzling, as by default Super Admins can view the site when it’s offline.  If you log into the control panel, and in the same browser window/tab go to the new domain, do you see it?  I believe I’ve had an issue in some browsers when I log in & open a new tab or window, I’m not able to see the site.

-greg

 Signature 
Profile
MSG
 
 
Posted: 06 October 2008 11:01 AM   [ Ignore ]   [ # 4 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  535
Joined  02-07-2007

As much as I want to upgrade to 1.6.4 it is not in the scope of the project right now and I have been explicitly instructed not to do so at this time.

 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 11:08 AM   [ Ignore ]   [ # 5 ]  
Moderator
Avatar
RankRankRankRank
Total Posts:  1988
Joined  05-07-2007

As much as I want to upgrade to 1.6.4 it is not in the scope of the project right now and I have been explicitly instructed not to do so at this time.

Bummer.  Okay, as far as your config.php file, the permissions should be 666, so change that back.  Also, do you have anything within your config.php file that could be overriding sessions or cookies? 

-greg

 Signature 
Profile
MSG
 
 
Posted: 06 October 2008 11:12 AM   [ Ignore ]   [ # 6 ]  
Moderator
Avatar
RankRankRankRankRankRankRankRank
Total Posts:  32852
Joined  05-14-2004

As much as I want to upgrade to 1.6.4 it is not in the scope of the project right now and I have been explicitly instructed not to do so at this time.

Lee - not to harp on this, but 1.6.4 is a security and maintenance release and is highly recommended for all users.  I would strongly encourage that you convince whomever is in charge to move forward with this particular update.

 Signature 
Profile
MSG
 
 
Posted: 06 October 2008 11:30 AM   [ Ignore ]   [ # 7 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  535
Joined  02-07-2007

Hey Lisa,

Don’t worry you are preaching to the choir here. Unfortunately it is a Government funded project and as such all releases need to be reviewed by their own in house “IT” department to ensure that it meets their guidelines for whatever bureaucratic BS they could come up with to justify their position.

As for the config.php I have changed it back and I set the cookie to be the new domain there so atleast that is changed now in the db CP. However no change yet with login issues.

-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 11:52 AM   [ Ignore ]   [ # 8 ]  
Moderator
Avatar
RankRankRankRank
Total Posts:  1988
Joined  05-07-2007

Lee,

Can you paste your config.php file here, making sure to change “sensitive” values (eg: mysql info, etc) to something else?

-greg

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

<?php

if ( ! defined('EXT')){
exit('Invalid file request');
}

$conf[
'app_version'] = "163";
$conf['license_number'] = "XXXX x 4 ";
$conf['debug'] = "1";
$conf['install_lock'] = "1";
$conf['db_hostname'] = "192.168";
$conf['db_username'] = "ehXXXXX";
$conf['db_password'] = "XXXX";
$conf['db_name'] = "ehXXXX";
$conf['db_type'] = "mysql";
$conf['db_prefix'] = "exp";
$conf['db_conntype'] = "0";
$conf['system_folder'] = "system";
$conf['cp_url'] = "http://yyy.com/eecp/index.php";
$conf['doc_url'] = "http://expressionengine.com/docs/";
$conf['is_system_on'] = "n";
$conf['allow_extensions'] = "y";
$conf['multiple_sites_enabled'] = "n";
$conf['moblog_allow_nontextareas'] = "y";
$conf['forum_is_installed'] = "y";
$conf['user_module_key_expiration'] = "30";
$conf['cookie_prefix'] = "";
$conf['htaccess_path'] = "/.htaccess";
$conf['admin_session_type'] = "s";
$conf['cookie_domain'] = ".yyy.com";
?>

Now I noticed that the system folder does not line up with what the folder is actually named…. however when I change it to match up I have difficulties keeping sessions open it does not change the system offline status….. so I changed it back to as you see it now

-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 12:36 PM   [ Ignore ]   [ # 10 ]  
Moderator
Avatar
RankRankRankRank
Total Posts:  1988
Joined  05-07-2007

Lee:

Change the system folder to what it actually is, and can you dump or just comment out the:  $conf[‘cookie_domain’] = “.yyy.com”; line in there?

-greg

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

Ok, I have dumped the cookie setting and changed the folder to what it actually is now.

Still no change in system offline status (from here on referred to as SOS… getting tired of typing it)

Thanks for the help btw,

-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 12:56 PM   [ Ignore ]   [ # 12 ]  
Moderator
Avatar
RankRankRankRank
Total Posts:  1988
Joined  05-07-2007

Lee:

Let’s try this.

1.)  Clear the contents of the site’s cache in ./system/cache via FTP

2.)  Clear your browser cache

3.)  Go to the control panel of your “new” site.  login as a super admin.

4.)  please double check to verify your user is indeed a superadmin.

5.)  Go to:  CP Home -> Templates choose your home template group and click “View” on the index template.  When the page loads, are you still on the same domain and can you view that template?

-greg

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

Hey Greg,

So I followed the steps and when I clicked on View it took me to the proper domain (newsite.com/home/index ) and showed me the correct template…. however it was the SOS message.

Could it be that I have set a custom SOS message? Could that affect it?

-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 01:08 PM   [ Ignore ]   [ # 14 ]  
Moderator
Avatar
RankRankRankRank
Total Posts:  1988
Joined  05-07-2007

Lee:

Okay, couple more questions:

Just to reconfirm, the “live site” and the CP urls match, right? 

You don’t have an index.html page in the public_html folder, do you?

-greg

 Signature 
Profile
MSG
 
 
Posted: 06 October 2008 01:11 PM   [ Ignore ]   [ # 15 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  535
Joined  02-07-2007
Greg Aker - 06 October 2008 01:08 PM

Just to reconfirm, the “live site” and the CP urls match, right? 

Correct

Greg Aker - 06 October 2008 01:08 PM

You don’t have an index.html page in the public_html folder, do you?

Correct, when the system is turned on it all works fine.

 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 01:22 PM   [ Ignore ]   [ # 16 ]  
Moderator
Avatar
RankRankRankRank
Total Posts:  1988
Joined  05-07-2007

Lee:

please check your email associated with your ExpressionEngine account.

Thanks,

-greg

 Signature 
Profile
MSG
 
 
Posted: 06 October 2008 01:34 PM   [ Ignore ]   [ # 17 ]  
Moderator
Avatar
RankRankRankRank
Total Posts:  1988
Joined  05-07-2007

Lee,

I got your email.  Do you think you could take a few minutes to setup a fresh, clean install with a new database.  Let’s see if we reproduce the problem then.

Thanks,

-greg

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

I dont think I will have the time for that nor will I be able to accurately try and recreate the move.

I am combing through the database right now for references to the old domain.

-Lee

 Signature 

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

EkJobs.ca

Clever Andy

http://twitter.com/thatleeguy

Profile
 
 
   
1 of 2
1
 
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: 64887 Total Logged-in Users: 67
Total Topics: 81813 Total Anonymous Users: 29
Total Replies: 439845 Total Guests: 277
Total Posts: 521658    
Members ( View Memberlist )