title: Magento SQLSTATE[42000] on Product View
body: <p>i am currently working on a online shop with magento. Everything worked fine and went the way i wanted it to. But suddenly i got this error message when i try to get an product view.</p>
  
  <pre><code>SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1
  </code></pre>
  
  <p>The strange thing is that i only changed some layout and template files, but they had nothing to do with my single-product-view pages. I didnt change any core-related files or anything with an SQL-Query in it..
  I've looked through the pages i edited but there seems nothing wrong.</p>
  
  <p>Maybe this is some known error. On another thread i read that i had to clear my errorlog / error-table, but that did nothing.</p>
  
  <p>Any help is appreciated.
  Thanks in advance.</p>
  
  <ul>
  <li>Philipp</li>
  </ul>