Discussion Forums  >  Self Hosted Control Panels

Replies: 7    Views: 64

rossideas
Aspiring developer
Profile
Posts: 145
Reg: Jul 24, 2011
Albuquerque
1,450
06/15/14 08:54 AM (10 years ago)

Moved Server - Logs Out Constantly

Okay, I give up... need help. Moved Domain/Self Hosed Server to New Hosting (Media Temple was at GoDaddy) Since the Domain moved also and everything stayed the same, I just updated the ip at buzztouch and all good, but logs out constantly. All the urls are the same in the data base. All plugins updated. Any ideas... thanks
 
mysps
Code is Art
Profile
Posts: 2082
Reg: May 14, 2011
Palma
33,320
like
06/15/14 10:15 AM (10 years ago)
I had this problem when BT server came out. I'll have to check my old files.. ah what is your folder name? i had mine named: api or something that triggered this.
 
rossideas
Aspiring developer
Profile
Posts: 145
Reg: Jul 24, 2011
Albuquerque
1,450
like
06/15/14 11:11 AM (10 years ago)
My self hosted server directory is just domain/BT-server/ it is odd because sometimes I can work for a minute or two clicking on links, all good... then logs out. Also happens with new apps or the older apps I moved over.
 
AlanMac
Aspiring developer
Profile
Posts: 2612
Reg: Mar 05, 2012
Esher, UK
37,120
like
06/15/14 12:12 PM (10 years ago)
Could it be a browser/cookie thing?
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
06/15/14 04:43 PM (10 years ago)
Make sure your config.php has the right values; I'm leaning with Alan Mac on this... Cheers! -- Smug
 
rossideas
Aspiring developer
Profile
Posts: 145
Reg: Jul 24, 2011
Albuquerque
1,450
like
06/15/14 06:00 PM (10 years ago)
Good idea. Is there a way to verify the values: define("APP_LOGGEDIN_COOKIE_NAME", "xxxxxx"); define("APP_REMEMBER_COOKIE_NAME", "xxxxxx"); in the config.php for the installation I created? I'm pretty sure the values are the ones created during the re-install. Also, are these values related to the data base? because the data base was not new and was imported from the previous installation... thanks for the help.
 
rossideas
Aspiring developer
Profile
Posts: 145
Reg: Jul 24, 2011
Albuquerque
1,450
like
06/15/14 07:04 PM (10 years ago)
I did change the values in the data base to match the config file... no difference. I even change the define("APP_LOGGEDIN_EXPIRES_SECONDS", "-1"); -1 vs. 180 (default) should keep it logged in until logout is clicked... did not help.
 
rossideas
Aspiring developer
Profile
Posts: 145
Reg: Jul 24, 2011
Albuquerque
1,450
like
06/22/14 07:48 PM (10 years ago)
Okay took a week but got it resolved. This post is from Media Temple http://kb.mediatemple.net/questions/235/Why+am+I+experiencing+session+errors%3F#gs ...explaining how to resolve session errors by adding a tmp directory and then this to the bottom of the php.ini session.save_path = /home/00000/data/tmp (00000 is replaced by your grid #) This resolved my Self Hosted "Your logged in session has ended"
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.