A: 

500 errors are often a fatal error caused by PHP. Your server probably has error displaying disabled because users shouldn't see these errors.

Put this somewhere in your php code and check if you see any PHP errors:

<?php
error_reporting(E_ALL);
ini_set('display_errors', 1);
?>
I.devries
No errors appear when adding this at the top of the page
Roland
A: 

It's a fatal server error. We cannot solve your problem until we know what the error message is, so the first step is to look through the log files and turn on debug output to see what the error message is.

To enable all debug output add the following code to the top of your page:

<?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);
?>

It looks like you are trying to add a content article in the admin.

In components/com_content/controller.php on like 693 we see an error is raised because the data you tried to save was not valid. Either you have installed a extension that is messing up joomla, or by some other method the system is not stable.

I recommend removing extensions; if that doesn't help, reinstall Joomla to fix your problem.

deepwell
Please see my screenshot I have added
Roland
I added these lines at the top of the page and no errors come up
Roland
I created a new Joomla! install and this error happens to come up on a clean install without any additional extensions installed.
Roland
+4  A: 

The exception is being thrown here in /administrator/components/com_content/controller.php (around 693)

if (!$row->check()) {
    JError::raiseError( 500, $db->stderr() );
    return false;
}

The check() function only returns false in two cases: either the title or the introtext are empty.

What I would do in your case is edit the controller.php file above and echo a var_dump of $row before the error is raised. It might be that no data is coming in from $_POST.


Edit: It looks like there's no body of your article being sent through in your $_POST. This is most likely because of something to do with the form which is submitting the data. On the page where you are trying to create the article, take a look at the HTML source. In my Joomla installation, the textarea is named "text". Make sure it has that name, and that nothing else in that form is named "text".

nickf
I will try this and refer
Roland
Did the var_dump and the introtext is emptyobject(JTableContent)#128 (34) { ["id"]=> int(58) ["title"]=> string(67) "Broken Article." ["alias"]=> string(65) "broken-article" ["title_alias"]=> NULL ["introtext"]=> string(0) "" ["fulltext"]=> string(0) ""
Roland
...well there's your answer
nickf
But why is it setting the introtext to NULL.
Roland
Since all other articles work fine
Roland
try `print_r($_POST)` in there too.
nickf
Check my problem description, I updated that with the print_r($_POST) results
Roland
Can you post the exact article content you're trying to save?
jlleblanc
I unfortunately can't do that. Confidential information atm
Roland