×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Saving com_content settings causes error

Saving com_content settings causes error 15 years 3 months ago #5997

  • Jaime
  • Jaime's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 24
  • Thank you received: 0
Hello...

When I tried to save com_content setting, a JavaScript alert appeared telling me to select another component.

By researching, I found the cause of the problem. At line 43 of library.comment.php, this line appears:
array_unshift( $list, JHTML::_('select.option',  '', 'com_content', 'value', 'text' ) );

I changed to
array_unshift( $list, JHTML::_('select.option',  'com_content', 'com_content', 'value', 'text' ) );

and it worked

Jaime

Saving com_content settings causes error 15 years 3 months ago #6065

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
which version of joomla and joomlacomment? Php version? Mysql version?
  • Page:
  • 1
Time to create page: 0.105 seconds