Body: <p>After update to CiviCRM 4.7.10, now getting a DB Error: syntax error when trying to access CiviEvent registration links.  Any ideas would be very helpful.</p>
  
  <pre><code>- /home/carolinasgps/www/www/wp-content/plugins/civicrm/civicrm/packages/DB.php(976):
  PEAR_Error-&gt;PEAR_Error("DB Error: syntax error", -2, 16, (Array:2), "SELECT contact_a.id
  as contact_id, contact_a.contact_type  as `contact_type`,...")
  - /home/carolinasgps/www/www/wp-content/plugins/civicrm/civicrm/packages/PEAR.php(564):
  DB_Error-&gt;DB_Error(-2, 16, (Array:2), "SELECT contact_a.id as contact_id,
  contact_a.contact_type  as `contact_type`,...")
  - /home/carolinasgps/www/www/wp-content/plugins/civicrm/civicrm/packages/DB/common.php
  (1905): PEAR-&gt;raiseError(NULL, -2, NULL, NULL, "SELECT contact_a.id as contact_id,
  contact_a.contact_type  as `contact_type`,...", "DB_Error", TRUE)
  </code></pre>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-08-27T18:37:13.490Z
Comments.Text: Hi there!  To solve your problem, we'll need to see the expanded debugging information.  In CiviCRM, please go to **Administer menu > System Settings > Debugging and Error Handling**, select "Yes" to both "Enable Debugging" and "Display Backtrace", and press "Save".  Repeat the problem that caused your error, and you'll see much a much more detailed error.  Please update this question with the expanded error and backtrace - and don't forget to disable debugging/backtrace when you're done!
Comments.UserDisplayName: Jon G - Megaphone Tech
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-09-01T18:47:02.947Z
Comments.Text: Looking at the path in the error message - are the two sets of 'www' correct? If not, then something is awry with your Resource URLs or Directory paths.
Comments.UserDisplayName: Barbara Forbes-Lyons
Tags: <civievent><upgrade>
Title: CiviEvent DB Error after Update
ThreadText: # CiviEvent DB Error after Update
  
  (Asked by: username_0 on 2016-08-27)
  
  After update to CiviCRM 4.7.10, now getting a DB Error: syntax error when trying to access CiviEvent registration links. Any ideas would be very helpful.
  
  ```
  - /home/carolinasgps/www/www/wp-content/plugins/civicrm/civicrm/packages/DB.php(976):
  PEAR_Error->PEAR_Error("DB Error: syntax error", -2, 16, (Array:2), "SELECT contact_a.id
  as contact_id, contact_a.contact_type  as `contact_type`,...")
  - /home/carolinasgps/www/www/wp-content/plugins/civicrm/civicrm/packages/PEAR.php(564):
  DB_Error->DB_Error(-2, 16, (Array:2), "SELECT contact_a.id as contact_id,
  contact_a.contact_type  as `contact_type`,...")
  - /home/carolinasgps/www/www/wp-content/plugins/civicrm/civicrm/packages/DB/common.php
  (1905): PEAR->raiseError(NULL, -2, NULL, NULL, "SELECT contact_a.id as contact_id,
  contact_a.contact_type  as `contact_type`,...", "DB_Error", TRUE)
  
  ```
  
  **Tags:** civievent, upgrade
  
  > **Comments:**
  > **username_1**: Hi there!  To solve your problem, we'll need to see the expanded debugging information.  In CiviCRM, please go to **Administer menu > System Settings > Debugging and Error Handling**, select "Yes" to both "Enable Debugging" and "Display Backtrace", and press "Save".  Repeat the problem that caused your error, and you'll see much a much more detailed error.  Please update this question with the expanded error and backtrace - and don't forget to disable debugging/backtrace when you're done!  
  > **username_2**: Looking at the path in the error message - are the two sets of 'www' correct? If not, then something is awry with your Resource URLs or Directory paths.  
  
  ---
  
  ## 0 answers
  
  