title: 500 - An error has occurred – DB function reports no errors when adding new article in Joomla
body: <p>I have an article that I want to publish on my Joomla! site. Every time I click apply or save. I get error <code>500 - An error has occurred! DB function reports no errors</code>. I have no idea why this error comes up, al I can think is that it's a server error. </p>
  
  <p>I'm using TinyMCE to type articles together with Joomla! 1.5.11. </p>
  
  <p>Updated: I turned on Maximum error reporting in Joomla! and in the article manager I tried to save the article and got these couple of errors. Please check screenshot</p>
  
  <p><img src="https://i.stack.imgur.com/zHGdO.png" alt="alt text"></p>
  
  <p>I tried adding </p>
  
  <pre><code>&lt;?php
  ini_set('error_reporting', E_ALL);
  error_reporting(E_ALL);
  ini_set('log_errors',TRUE);
  ini_set('html_errors',TRUE);
  ini_set('display_errors',true);
  ?&gt;
  </code></pre>
  
  <p>at the top of the index.php pages for Joomla! but it does not show any errors. I checked the error logs on the server and also no errors come up. </p>
  
  <p>I managed to publish the article via phpMyAdmin but then something else happens. I try to access to article from the front end, by clicking on the link to the article, but only a blank page comes up.</p>
  
  <p>This is really weird, since the error log does not show any information. So I assume the error needs to be coming from Joomla!</p>
  
  <p>This happens if I add a print_r($_POST) before <code>if (!$row-&gt;check()) {</code> on /administrator/components/com_content/controller.php (around line 693)</p>
  
  <pre><code>    Array
  (
      [title] =&gt; Test.
      [state] =&gt; 0
      [alias] =&gt; test
      [frontpage] =&gt; 0
      [sectionid] =&gt; 10
      [catid] =&gt; 44
      [details] =&gt; Array
          (
              [created_by] =&gt; 62
              [created_by_alias] =&gt; 
              [access] =&gt; 0
              [created] =&gt; 2008-10-25 13:31:21
              [publish_up] =&gt; 2008-10-25 13:31:21
              [publish_down] =&gt; Never
          )
  
      [params] =&gt; Array
          (
              [show_title] =&gt; 
              [link_titles] =&gt; 
              [show_intro] =&gt; 
              [show_section] =&gt; 
              [link_section] =&gt; 
              [show_category] =&gt; 
              [link_category] =&gt; 
              [show_vote] =&gt; 
              [show_author] =&gt; 1
              [show_create_date] =&gt; 0
              [show_modify_date] =&gt; 0
              [show_pdf_icon] =&gt; 
              [show_print_icon] =&gt; 
              [show_email_icon] =&gt; 
              [language] =&gt; 
              [keyref] =&gt; 
              [readmore] =&gt; 
          )
  
      [meta] =&gt; Array
          (
              [description] =&gt; Test.
              [keywords] =&gt; Test
              [robots] =&gt; 
              [author] =&gt; Test
          )
  
      [id] =&gt; 58
      [cid] =&gt; Array
          (
              [0] =&gt; 58
          )
  
      [version] =&gt; 30
      [mask] =&gt; 0
      [option] =&gt; com_content
      [task] =&gt; apply
      [ac1e0853fb1b3f41730c0d52de89dab7] =&gt; 1
  )
  </code></pre>
  
  <p>I had a bounty on this question, but the problem is still not resolved? <a href="https://stackoverflow.com/questions/1239975/db-function-reports-no-errors-when-adding-new-article-in-joomla">link text</a></p>
  
  <p>Any help will be appreciated!!</p>
  
  <p>Here is a link to the article (text file with the source I got from TinyMCE) <a href="http://www.logiclink.co.za/article" rel="nofollow noreferrer">Article</a></p>