Answers.Body: <p>I think there are 2 separate issues here.  I'll try to tackle each.</p>
  
  <blockquote>
    <p>Using the plus [+] or minus [-] sign does not get retained when saved</p>
  </blockquote>
  
  <p>I just tested on Civi 4.4, and a minus sign is saved, a plus sign is not.  An unsigned integer is considered positive here. If this isn't what you're seeing, try to replicate your situation on the demo site.</p>
  
  <blockquote>
    <p>Oops, it looks like there is no valid membership status corresponding to the membership start and end dates for this membership. </p>
  </blockquote>
  
  <p>CiviMember works by evaluating the membership status rules in order.  The rules may overlap - for instance, a "current" member can be start date to end date, and a "new" member can be start date to (start date + 1 month) - in that case, whichever rule comes first takes priority.  However, you can NOT have a gap where no status applies.  That's what causes this error.</p>
  
  <p>Given your particulars, my guess is that your users are trying to create an "upcoming" membership - where the join/start dates are in the future.  Unless you create a membership status that covers that (e.g. "upcoming is (start date - 1 month) to start date"), you'll get this error.</p>
  
  <p>If this doesn't answer your question, please edit it with concrete numbers - what your membership status rules are, and what the join, start and end dates are for a membership that causes this error.</p>
  
  <p>UPDATE: I know this is months old - but I just saw your update.  The "Grace" period ends 12 months after the end date - but expired doesn't take effect until 13 months after the end date.  You'll see the error you're seeing for anyone whose membership ended between 12 and 13 months ago.  Set your "Expired" to take effect 12 months after the end date, to match the end of the Grace period.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-04-21T11:27:38.933Z
Answers.Text: Thanks for putting me right on the matter of the plus and minus signs.
Answers.UserDisplayName: Perry
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-06-15T02:20:55.470Z
Answers.Text: So I got the same error message - "Oops, it looks like there is no valid membership status corresponding to the membership start and end dates for this membership." and have changed the End Date for status of Terminated to nothing (from Start Date - my intent was for a new Current membership to turn that Terminated off but that was probably a bad idea).
Answers.UserDisplayName: Joe McLaughlin
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-04-18T22:39:00.460Z
Answers.LastActivityDate: 2015-09-26T14:30:01.787Z
Answers.LastEditDate: 2015-09-26T14:30:01.787Z
Answers.UserDisplayName: Jon G - Megaphone Tech
Answers.Body: <p>I agree with Jon G's diagnosis. </p>
  
  <p>You can fix the status rules by returning them to their default state and then changing them carefully one by one.</p>
  
  <p>Use the status rules from d45.demo.civicrm.org or wp45.demo.civicrm.org as your guide if you don't have a pristine v4.4 install available to you. I'm pretty sure these default status rules haven't changed in several versions.</p>
  
  <p>Please edit your question with more details of what statuses you want. </p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-04-19T00:07:29.160Z
Answers.LastActivityDate: 2015-04-19T00:07:29.160Z
Answers.UserDisplayName: Joe Murray
Body: <p>My dilemma is not being sure I have set the membership status rules correctly. One enigma is the Start/End event adjustments. An example of explanatory text goes:</p>
  
  <blockquote>
    <p>Optional adjustment period added or subtracted from the End Event.</p>
  </blockquote>
  
  <p>Using the plus [+] or minus [-] sign does not get retained when saved, so how is an integer interpreted without a sign, in those adjustments?</p>
  
  <p>The primary problem I've been alerted to is difficulty with renewing any expired memberships. Despite this helpful prompt . . .</p>
  
  <blockquote>
    <p>Renewing will add the normal membership period to the End Date of the
    previous period for members whose status is Current or Grace. For
    Expired memberships, renewing will create a membership period
    commencing from the 'Date Renewal Entered'. This date can be adjusted
    including being set to the day after the previous End Date - if
    continuous membership is required.</p>
  </blockquote>
  
  <p>. . . it seems that I have set something up incorrectly, as, when folks try to process an expired (after-grace-period-has-ended) member's renewal, the response is:</p>
  
  <blockquote>
    <p>Sorry but we are not able to provide this at the moment. Oops, it
    looks like there is no valid membership status corresponding to the
    membership start and end dates for this membership. Contact the site
    administrator for assistance.</p>
  </blockquote>
  
  <p>It seems they can't get to the point where the dates can be changed to effect continuous membership for tardy payers. I.e:</p>
  
  <blockquote>
    <p>For Expired memberships, renewing will create a membership period
    commencing from the 'Date Renewal Entered'. <em>This date can be adjusted
    including being set to the day after the previous End Date - if
    continuous membership is required.</em></p>
  </blockquote>
  
  <p>What have I done wrong and how do I fix it, please?</p>
  
  <p>v4.4 running on WordPress</p>
  
  <h2>EDIT (as requested)</h2>
  
  <p>The organisation only asked for three types: current, grace and expired.
  The present rules are:</p>
  
  <p>Status......Start Event......End Event......Member</p>
  
  <p>Current.....start date.......end date...........Yes....(weight 1)</p>
  
  <p>Grace.......end date.........end date..........Yes....(end event adj 12 months, weight 2)</p>
  
  <p>Expired.....end date..................................No....(end event adj 13 months, weight 3)</p>
  
  <p>Not sure how my attempt as columnar layout will fare, so I apologise if it's hard to read/follow.</p>
  
  <p>The requested grace period was one month. I recently changed that to 12 months, in an effort to get over the problem described in my first posting. Despite heeding the advice and looking at the WP demo, (during which nothing bit me in the eye), I do think I have a mental block with this conundrum. (aka user incompetence)</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-06-05T09:12:11.833Z
Comments.Text: If this is still a problem, can you please check you membership statuses again and confirm that for the Expired status the END event adj is 13 months.
Comments.UserDisplayName: JoAnne
Tags: <civimember>
Title: How to configure Membership Status Rules so expired members can renew?
ThreadText: # How to configure Membership Status Rules so expired members can renew?
  
  (Asked by: username_0 on 2015-04-18)
  
  My dilemma is not being sure I have set the membership status rules correctly. One enigma is the Start/End event adjustments. An example of explanatory text goes:
  
  > Optional adjustment period added or subtracted from the End Event.
  
  Using the plus [+] or minus [-] sign does not get retained when saved, so how is an integer interpreted without a sign, in those adjustments?
  
  The primary problem I've been alerted to is difficulty with renewing any expired memberships. Despite this helpful prompt . . .
  
  > Renewing will add the normal membership period to the End Date of the
  > previous period for members whose status is Current or Grace. For
  > Expired memberships, renewing will create a membership period
  > commencing from the 'Date Renewal Entered'. This date can be adjusted
  > including being set to the day after the previous End Date - if
  > continuous membership is required.
  
  . . . it seems that I have set something up incorrectly, as, when folks try to process an expired (after-grace-period-has-ended) member's renewal, the response is:
  
  > Sorry but we are not able to provide this at the moment. Oops, it
  > looks like there is no valid membership status corresponding to the
  > membership start and end dates for this membership. Contact the site
  > administrator for assistance.
  
  It seems they can't get to the point where the dates can be changed to effect continuous membership for tardy payers. I.e:
  
  > For Expired memberships, renewing will create a membership period
  > commencing from the 'Date Renewal Entered'. *This date can be adjusted
  > including being set to the day after the previous End Date - if
  > continuous membership is required.*
  
  What have I done wrong and how do I fix it, please?
  
  v4.4 running on WordPress
  
  ## EDIT (as requested)
  
  The organisation only asked for three types: current, grace and expired.
  The present rules are:
  
  Status......Start Event......End Event......Member
  
  Current.....start date.......end date...........Yes....(weight 1)
  
  Grace.......end date.........end date..........Yes....(end event adj 12 months, weight 2)
  
  Expired.....end date..................................No....(end event adj 13 months, weight 3)
  
  Not sure how my attempt as columnar layout will fare, so I apologise if it's hard to read/follow.
  
  The requested grace period was one month. I recently changed that to 12 months, in an effort to get over the problem described in my first posting. Despite heeding the advice and looking at the WP demo, (during which nothing bit me in the eye), I do think I have a mental block with this conundrum. (aka user incompetence)
  
  **Tags:** civimember
  
  > **Comments:**
  > **username_1**: If this is still a problem, can you please check you membership statuses again and confirm that for the Expired status the END event adj is 13 months.  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_2 on 2015-04-18. Score: 3
  
  I think there are 2 separate issues here. I'll try to tackle each.
  
  > Using the plus [+] or minus [-] sign does not get retained when saved
  
  I just tested on Civi 4.4, and a minus sign is saved, a plus sign is not. An unsigned integer is considered positive here. If this isn't what you're seeing, try to replicate your situation on the demo site.
  
  > Oops, it looks like there is no valid membership status corresponding to the membership start and end dates for this membership.
  
  CiviMember works by evaluating the membership status rules in order. The rules may overlap - for instance, a "current" member can be start date to end date, and a "new" member can be start date to (start date + 1 month) - in that case, whichever rule comes first takes priority. However, you can NOT have a gap where no status applies. That's what causes this error.
  
  Given your particulars, my guess is that your users are trying to create an "upcoming" membership - where the join/start dates are in the future. Unless you create a membership status that covers that (e.g. "upcoming is (start date - 1 month) to start date"), you'll get this error.
  
  If this doesn't answer your question, please edit it with concrete numbers - what your membership status rules are, and what the join, start and end dates are for a membership that causes this error.
  
  UPDATE: I know this is months old - but I just saw your update. The "Grace" period ends 12 months after the end date - but expired doesn't take effect until 13 months after the end date. You'll see the error you're seeing for anyone whose membership ended between 12 and 13 months ago. Set your "Expired" to take effect 12 months after the end date, to match the end of the Grace period.
  
  > **Comments:**
  > **username_0**: Thanks for putting me right on the matter of the plus and minus signs.  
  > **username_3**: So I got the same error message - "Oops, it looks like there is no valid membership status corresponding to the membership start and end dates for this membership." and have changed the End Date for status of Terminated to nothing (from Start Date - my intent was for a new Current membership to turn that Terminated off but that was probably a bad idea).  
  
  ---
  
  ### Answer by username_4 on 2015-04-19. Score: 1
  
  I agree with Jon G's diagnosis.
  
  You can fix the status rules by returning them to their default state and then changing them carefully one by one.
  
  Use the status rules from d45.demo.civicrm.org or wp45.demo.civicrm.org as your guide if you don't have a pristine v4.4 install available to you. I'm pretty sure these default status rules haven't changed in several versions.
  
  Please edit your question with more details of what statuses you want.
  
  
  ---
  
  