Answers.Body: <p>Check to see if Drupal module automated logout is installed. I would recommmend it instead of what you're doing with cookie settings - you can specify to logout after x minutes of inactivity and set that x per role. </p>
  
  <p>Yes word replacement indeed does not work to override 'organization' -> what you need to do is use locale language setting (settings localization) instead.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-03-06T19:59:39.890Z
Answers.Text: I went through the Drupal permissions with a fine tooth comb, comparing to a similar site, and the site with a problem had two extra ticks: 'CiviCRM Contact Reference Field' and 'Administration Development Tools'. The latter one is linked to a Drupal module and used for debugging so I'm wondering if that is the culprit?
Answers.UserDisplayName: Rose Lanigan
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-03-03T15:18:05.250Z
Answers.LastActivityDate: 2017-03-03T15:18:05.250Z
Answers.UserDisplayName: KarinG - Semper IT
Answers.Body: <p>I've solved the problem with the name change:</p>
  
  <ul>
  <li>I used the word replacements function.</li>
  <li>When you check 'Administer > Contact Types' it looks like the 3rd Contact Type has changed... </li>
  <li>BUT you still need to 'Edit' and specifically change it</li>
  </ul>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-03-06T20:30:36.087Z
Answers.Text: Hey Rose - and did that stick for you? I mean when you go back to the Administer -> Contact Types -> do you still see Organisation?
Answers.UserDisplayName: KarinG - Semper IT
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-03-07T21:36:41.520Z
Answers.Text: Yes, that's fixed it permanently now. Hadn't noticed before that both needed changing - probably did it the other way round last time and changed the contact type first, and then the word replacement.
Answers.UserDisplayName: Rose Lanigan
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-03-06T19:56:19.123Z
Answers.LastActivityDate: 2017-03-06T19:56:19.123Z
Answers.UserDisplayName: Rose Lanigan
Body: <p>On one of the CiviCRM sites I've set up, it keeps logging me out every 30 minutes or so. I have set the cookies in the default.settings.php file so that I'm logged out when I close the browser but it's exactly the same as my other sites, where there's no problem. Same hosting as well. Any ideas why it's throwing me out all the time??</p>
  
  <p>I'm on Drupal 7.53 and CiviCRM 4.7.16.</p>
  
  <p>EDIT: This is still ongoing, I've restored all settings across the site that I can think of that may trigger an issue. Just today, I've had the following error message (usually it just logs you out with no warning) but I thought it may throw some light on the issue?</p>
  
  <p><a href="https://i.sstatic.net/NDqHq.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/NDqHq.png" alt="enter image description here"></a></p>
  
  <p>And this is my cookie session settings in the default.settings.php file:</p>
  
  <p><a href="https://i.sstatic.net/yPDxx.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/yPDxx.png" alt="enter image description here"></a></p>
  
  <p>----- THE FOLLOWING ISSUE HAS BEEN RESOLVED SO CAN BE IGNORED -------</p>
  
  <p>Also, same site, different issue. I've done word replacement and changed the name from Organization to Organisation but when I search for Contact Type, it's still showing Organization - regardless of whether I specify exact match or not for the word replacement? </p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-03-03T20:20:20.393Z
Comments.Text: any chance you are being flipped from http to https - not sure why that would log you out but one of those oddities in civicrm.settings.php that surprises folk
Comments.UserDisplayName: petednz - fuzion
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-03-07T03:42:48.977Z
Comments.Text: also just for SE purposes, best to keep each question to its own thread ;-)
Comments.UserDisplayName: petednz - fuzion
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-03-07T21:38:03.007Z
Comments.Text: I know - did think that but was being lazy... Promise to separate questions next time :)
Comments.UserDisplayName: Rose Lanigan
Tags: <drupal><contacts><php>
Title: Logged out periodically for unknown reason and word replacement not working
ThreadText: # Logged out periodically for unknown reason and word replacement not working
  
  (Asked by: username_0 on 2017-03-03)
  
  On one of the CiviCRM sites I've set up, it keeps logging me out every 30 minutes or so. I have set the cookies in the default.settings.php file so that I'm logged out when I close the browser but it's exactly the same as my other sites, where there's no problem. Same hosting as well. Any ideas why it's throwing me out all the time??
  
  I'm on Drupal 7.53 and CiviCRM 4.7.16.
  
  EDIT: This is still ongoing, I've restored all settings across the site that I can think of that may trigger an issue. Just today, I've had the following error message (usually it just logs you out with no warning) but I thought it may throw some light on the issue?
  
  [![enter image description here](https://i.sstatic.net/NDqHq.png)](https://i.sstatic.net/NDqHq.png)
  
  And this is my cookie session settings in the default.settings.php file:
  
  [![enter image description here](https://i.sstatic.net/yPDxx.png)](https://i.sstatic.net/yPDxx.png)
  
  ----- THE FOLLOWING ISSUE HAS BEEN RESOLVED SO CAN BE IGNORED -------
  
  Also, same site, different issue. I've done word replacement and changed the name from Organization to Organisation but when I search for Contact Type, it's still showing Organization - regardless of whether I specify exact match or not for the word replacement?
  
  **Tags:** drupal, contacts, php
  
  > **Comments:**
  > **username_1**: any chance you are being flipped from http to https - not sure why that would log you out but one of those oddities in civicrm.settings.php that surprises folk  
  > **username_1**: also just for SE purposes, best to keep each question to its own thread ;-)  
  > **username_0**: I know - did think that but was being lazy... Promise to separate questions next time :)  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_2 on 2017-03-03. Score: 0 | Accepted answer
  
  Check to see if Drupal module automated logout is installed. I would recommmend it instead of what you're doing with cookie settings - you can specify to logout after x minutes of inactivity and set that x per role.
  
  Yes word replacement indeed does not work to override 'organization' -> what you need to do is use locale language setting (settings localization) instead.
  
  > **Comments:**
  > **username_0**: I went through the Drupal permissions with a fine tooth comb, comparing to a similar site, and the site with a problem had two extra ticks: 'CiviCRM Contact Reference Field' and 'Administration Development Tools'. The latter one is linked to a Drupal module and used for debugging so I'm wondering if that is the culprit?  
  
  ---
  
  ### Answer by username_0 on 2017-03-06. Score: 1
  
  I've solved the problem with the name change:
  
  * I used the word replacements function.
  * When you check 'Administer > Contact Types' it looks like the 3rd Contact Type has changed...
  * BUT you still need to 'Edit' and specifically change it
  
  > **Comments:**
  > **username_2**: Hey Rose - and did that stick for you? I mean when you go back to the Administer -> Contact Types -> do you still see Organisation?  
  > **username_0**: Yes, that's fixed it permanently now. Hadn't noticed before that both needed changing - probably did it the other way round last time and changed the contact type first, and then the word replacement.  
  
  ---
  
  