Answers.Body: <p>The links in the comments are helpful, but don't actually give the correct answer for the log in question.</p>
  <p>There's two ways to see the logs for your error:</p>
  <ul>
  <li>Check the ConfigAndLog directory.  You can find it here: <a href="https://civicrm.stackexchange.com/questions/15931/where-is-the-configandlog-directory">Where are the &quot;ConfigAndLog&quot; and &quot;templates_c&quot; directories?</a></li>
  <li>You can also see the error on-screen:  Go to <strong>Administer menu » System Settings » Debugging and Error Handling</strong>, and select both &quot;Enable Debugging&quot; and &quot;Display Backtrace&quot;.  Then repeat whatever issue led to the error!  Make sure to turn this off when you're done - leaving it turned on can leak information to a potential hacker, which is why they're not on by default.</li>
  <li>Install the <a href="https://civicrm.org/extensions/civicrm-log-viewer" rel="nofollow noreferrer">Log Viewer extension</a> from your <strong>Administer menu » System Settings » Extensions</strong>.  This will add a new entry under <strong>Administer menu » Administration Console</strong>.</li>
  </ul>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2016-11-21T18:12:15.360Z
Answers.LastActivityDate: 2023-01-04T14:15:38.603Z
Answers.LastEditDate: 2023-01-04T14:15:38.603Z
Answers.UserDisplayName: Jon G - Megaphone Tech
Body: <p>I am not the technical person - merely a user so I am very unfamiliar with this tool.  I am trying to find the reason for the error I receive when trying to search the contacts for all individual contacts.  The error I receive is: Sorry. A non-recoverable error has occurred.  DB Error: unknown error.</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-11-19T05:52:25.817Z
Comments.Text: http://civicrm.stackexchange.com/questions/376/where-should-one-look-for-logs-when-debugging-a-new-problem this might help you.
Comments.UserDisplayName: Sushant
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-11-19T10:28:41.040Z
Comments.Text: And this post: http://civicrm.stackexchange.com/q/6399/127
Comments.UserDisplayName: William Mortada
Tags: <contacts><search>
Title: how do I find error log to see what is causing the error
ThreadText: # how do I find error log to see what is causing the error
  
  (Asked by: username_0 on 2016-11-19)
  
  I am not the technical person - merely a user so I am very unfamiliar with this tool. I am trying to find the reason for the error I receive when trying to search the contacts for all individual contacts. The error I receive is: Sorry. A non-recoverable error has occurred. DB Error: unknown error.
  
  **Tags:** contacts, search
  
  > **Comments:**
  > **username_1**: http://civicrm.stackexchange.com/questions/376/where-should-one-look-for-logs-when-debugging-a-new-problem this might help you.  
  > **username_2**: And this post: http://civicrm.stackexchange.com/q/6399/127  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_3 on 2016-11-21. Score: 4
  
  The links in the comments are helpful, but don't actually give the correct answer for the log in question.
  
  There's two ways to see the logs for your error:
  
  * Check the ConfigAndLog directory. You can find it here: [Where are the "ConfigAndLog" and "templates\_c" directories?](https://civicrm.stackexchange.com/questions/15931/where-is-the-configandlog-directory)
  * You can also see the error on-screen: Go to **Administer menu » System Settings » Debugging and Error Handling**, and select both "Enable Debugging" and "Display Backtrace". Then repeat whatever issue led to the error! Make sure to turn this off when you're done - leaving it turned on can leak information to a potential hacker, which is why they're not on by default.
  * Install the [Log Viewer extension](https://civicrm.org/extensions/civicrm-log-viewer) from your **Administer menu » System Settings » Extensions**. This will add a new entry under **Administer menu » Administration Console**.
  
  
  ---
  
  