Answers.Body: <p>Clearing cache may be the solution? If yes you can turn on 'Clean-up Temporary Data and Files' schedule job with below parameter.</p>
  <pre><code>dbCache=1
  memCache=1
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-05-06T09:49:36.023Z
Answers.LastActivityDate: 2021-05-06T09:49:36.023Z
Answers.UserDisplayName: Pradeep Nayak
Body: <p>I have an issue on creating profiles.</p>
  <p>When I create a profile with several fields such as &quot;First Name&quot; &quot;Past Name&quot; &quot;E-Mail&quot; and some Custom Fields and I set these fields to &quot;searchable&quot;, everything looks fine at first. I can check the preview and the Use - Create/Edit/Listing Modes and it works.</p>
  <p>But after a while, it suddenly doesn't work any more:</p>
  <ul>
  <li>I get for the Listing Mode the error message: &quot;No fields in this Profile have been configured as searchable. Ask the site administrator to check the Profile setup. &quot;</li>
  <li>Preview is empty</li>
  <li>Preview od searchable fields tell: &quot;Profile Field Preview This CiviCRM profile field is view only.&quot; -&gt; BUT IT IS DEFINITELY SEARCHABLE AND NOT &quot;VIEW ONLY&quot;</li>
  </ul>
  <p>for me this feels a bit like a bug. Would be nice to hear if this problem is known and if there is any fix</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-05-05T13:09:49.323Z
Comments.Text: Do you have 'Standalone Form or Directory' enabled for the profile? Does it work after CiviCRM cache clear?
Comments.UserDisplayName: Pradeep Nayak
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-05-06T08:42:55.783Z
Comments.Text: Yes, standalone is activated. As I said: At first, it was working fine. Only after a while without changing anything, it suddenly produced errors.
  Therefore, I will check your cache-suggestion, it sounds plausible.
Comments.UserDisplayName: Markus Palzer-Khomenko
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-05-06T08:47:29.563Z
Comments.Text: Ok this is weird. It works now. It did nothing since yesterday. If the problem returns, I will try clearing the cache. I seems reasonable, that this is some kind of cache problem.
Comments.UserDisplayName: Markus Palzer-Khomenko
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-05-06T09:46:20.570Z
Comments.Text: Thanks a lot. Clearing the Cach solves the issue to about 90%. I still have problems (I granted edit-permission to a role but it only gets the view-option, despite I enabled edit in the profile, in the ACL and in the Role-permissions). Probably these things will solve out over night again.
  Anyways, thanks a lot, we are a big step further.
Comments.UserDisplayName: Markus Palzer-Khomenko
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-06-07T13:20:44.890Z
Comments.Text: After some time, I can say that I still have the same problem and clearing the cache doesn't necessarily solve the issue.
Comments.UserDisplayName: Markus
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-02-25T19:43:46.210Z
Comments.Text: Where would you put the dbCache parameters?
  I am just new at setting it up and cant find where to put it
Comments.UserDisplayName: Dan
Tags: <custom-fields><profile><permissions><forms>
Title: Searchable Profile fields do not work
ThreadText: # Searchable Profile fields do not work
  
  (Asked by: username_0 on 2021-05-05)
  
  I have an issue on creating profiles.
  
  When I create a profile with several fields such as "First Name" "Past Name" "E-Mail" and some Custom Fields and I set these fields to "searchable", everything looks fine at first. I can check the preview and the Use - Create/Edit/Listing Modes and it works.
  
  But after a while, it suddenly doesn't work any more:
  
  * I get for the Listing Mode the error message: "No fields in this Profile have been configured as searchable. Ask the site administrator to check the Profile setup. "
  * Preview is empty
  * Preview od searchable fields tell: "Profile Field Preview This CiviCRM profile field is view only." -> BUT IT IS DEFINITELY SEARCHABLE AND NOT "VIEW ONLY"
  
  for me this feels a bit like a bug. Would be nice to hear if this problem is known and if there is any fix
  
  **Tags:** custom-fields, profile, permissions, forms
  
  > **Comments:**
  > **username_1**: Do you have 'Standalone Form or Directory' enabled for the profile? Does it work after CiviCRM cache clear?  
  > **username_0**: Yes, standalone is activated. As I said: At first, it was working fine. Only after a while without changing anything, it suddenly produced errors. Therefore, I will check your cache-suggestion, it sounds plausible.  
  > **username_0**: Ok this is weird. It works now. It did nothing since yesterday. If the problem returns, I will try clearing the cache. I seems reasonable, that this is some kind of cache problem.  
  > **username_0**: Thanks a lot. Clearing the Cach solves the issue to about 90%. I still have problems (I granted edit-permission to a role but it only gets the view-option, despite I enabled edit in the profile, in the ACL and in the Role-permissions). Probably these things will solve out over night again. Anyways, thanks a lot, we are a big step further.  
  > **username_2**: After some time, I can say that I still have the same problem and clearing the cache doesn't necessarily solve the issue.  
  > **username_3**: Where would you put the dbCache parameters? I am just new at setting it up and cant find where to put it  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2021-05-06. Score: 0
  
  Clearing cache may be the solution? If yes you can turn on 'Clean-up Temporary Data and Files' schedule job with below parameter.
  
  ```
  dbCache=1
  memCache=1
  
  ```
  
  
  ---
  
  