Bug when posting article from front end

GK User
Fri Jun 27, 2014 10:51 am
When posting an article from the front end i get the below error,
upload1.png

this only happens when i set it to automatically post to a default category
upload2.png
User avatar
Fresh Boarder

GK User
Fri Jun 27, 2014 6:27 pm
Hello,

Please try to remove the following fragment from the html/com_content/form/edit.php file:

Code: Select all
<div class="formelm">
      <?php echo $this->form->getLabel('catid'); ?>
      <?php if($this->params->get('enable_category', 0) == 1) : ?>
      <span class="category">
      <?php echo $this->category_title; ?>
      </span>
      <?php else : ?>
      <?php echo $this->form->getInput('catid', null, $this->item->catid); ?>
      <?php endif;?>
      </div>
User avatar
Administrator


cron