CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Error messages do not output correctly.
Pages: [1]

Author Topic: Error messages do not output correctly.  (Read 487 times)

benmoreassynt

  • I post occasionally
  • **
  • Posts: 52
  • Karma: 0
  • CiviCRM version: 4.4.4
  • CMS version: Joomla 2.5.19/Wordpress 3.8
  • MySQL version: 5.5.35
  • PHP version: 5.3.10
Error messages do not output correctly.
April 03, 2014, 07:30:51 am
I notice that CiviCRM errors are getting output in a Joomla install as 'raw' HTML (in other words, the user sees the HTML code displayed in the browser, rather than formatted text).

For example

Code: [Select]
Joomla!
CiviCRM-001 - An error has occurred.

<div id="crm-container" class="crm-container" lang="en" xml:lang="en"> <style type="text/css" media="screen">@import url(/administrator/components/com_civicrm/civicrm/css/civicrm.css);</style> <style type="text/css" media="screen">@import url(/administrator/components/com_civicrm/civicrm/css/extras.css);</style> <div class="messages status no-popup"> <div class="icon red-icon alert-icon"></div> <span class="status-fatal">Sorry but we are not able to provide this at the moment.</span> <div class="crm-section crm-error-message">Mandatory key(s) missing from params array: one of (activity_name, activity_type_id, activity_label)</div> <p><a href="http://cdhalton.ca/administrator/" title="Main Menu">Return to home page.</a></p> </div> </div> <script language="JavaScript"> function toggle( element ) { var className = element.className; if ( className == 'crm-accordion-wrapper collapsed crm-fatal-error-details-block') { element.className = 'crm-accordion-wrapper crm-fatal-error-details-block'; } else { element.className = 'crm-accordion-wrapper collapsed crm-fatal-error-details-block'; } } </script>

Return to Control Panel

As you can see, this is a Joomla install, so I'm not ruling out Joomla being to blame.

Any ideas why this might happen?

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Error messages do not output correctly.

This forum was archived on 2017-11-26.