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 when starting Dashboard for civicrm component from Joomla
Pages: [1]

Author Topic: Error when starting Dashboard for civicrm component from Joomla  (Read 779 times)

asiams

  • Guest
Error when starting Dashboard for civicrm component from Joomla
March 06, 2010, 05:16:57 pm
Hello,

I am using civicrm on Joomla. It was working fine until yesterday. I created an event. Added several people to the event.

This morning, when I tried to get to civicrm, from the dash board showing activity report, I get this error:
Quote
Sorry. A non-recoverable error has occurred.

DB Error: syntax error

Database Error Code: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') INNER JOIN civicrm_contact_ja_JP c ON c.id = at.target_conta' at line 7, 1064

Error Details:

Quote
Array
(
    [callback] => Array
        (
           
  • => CRM_Core_Error
  • [1] => handle
            )

       
Code: [Select]
=> -2
    [message] => DB Error: syntax error
    [mode] => 16
    [debug_info] => INSERT INTO civicrm_temp_target_contact_71cefb7c9fb3dc694d76a1297af2cd60 ( activity_id, target_contact_id, target_contact_name )
                  SELECT at.activity_id,
                  at.target_contact_id ,
                  c.sort_name
                  FROM civicrm_activity_target at
                  INNER JOIN civicrm_temp_activity_details_71cefb7c9fb3dc694d76a1297af2cd60 ON ( at.activity_id = civicrm_temp_activity_details_71cefb7c9fb3dc694d76a1297af2cd60.activity_id
                    AND civicrm_temp_activity_details_71cefb7c9fb3dc694d76a1297af2cd60.activity_type_id <>  )
                  INNER JOIN civicrm_contact_ja_JP c ON c.id = at.target_contact_id [nativecode=1064 ** You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')
                  INNER JOIN civicrm_contact_ja_JP c ON c.id = at.target_conta' at line 7]
    [type] => DB_Error
    [user_info] => INSERT INTO civicrm_temp_target_contact_71cefb7c9fb3dc694d76a1297af2cd60 ( activity_id, target_contact_id, target_contact_name )
                  SELECT at.activity_id,
                  at.target_contact_id ,
                  c.sort_name
                  FROM civicrm_activity_target at
                  INNER JOIN civicrm_temp_activity_details_71cefb7c9fb3dc694d76a1297af2cd60 ON ( at.activity_id = civicrm_temp_activity_details_71cefb7c9fb3dc694d76a1297af2cd60.activity_id
                    AND civicrm_temp_activity_details_71cefb7c9fb3dc694d76a1297af2cd60.activity_type_id <>  )
                  INNER JOIN civicrm_contact_ja_JP c ON c.id = at.target_contact_id [nativecode=1064 ** You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')
                  INNER JOIN civicrm_contact_ja_JP c ON c.id = at.target_conta' at line 7]
    [to_string] => [db_error: message="DB Error: syntax error" code=-2 mode=callback callback=CRM_Core_Error::handle prefix="" info="INSERT INTO civicrm_temp_target_contact_71cefb7c9fb3dc694d76a1297af2cd60 ( activity_id, target_contact_id, target_contact_name )
                  SELECT at.activity_id,
                  at.target_contact_id ,
                  c.sort_name
                  FROM civicrm_activity_target at
                  INNER JOIN civicrm_temp_activity_details_71cefb7c9fb3dc694d76a1297af2cd60 ON ( at.activity_id = civicrm_temp_activity_details_71cefb7c9fb3dc694d76a1297af2cd60.activity_id
                    AND civicrm_temp_activity_details_71cefb7c9fb3dc694d76a1297af2cd60.activity_type_id <>  )
                  INNER JOIN civicrm_contact_ja_JP c ON c.id = at.target_contact_id [nativecode=1064 ** You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')
                  INNER JOIN civicrm_contact_ja_JP c ON c.id = at.target_conta' at line 7]"]
)
[/quote]

Mysql version 5.0.89 Community

Any suggestions?

Thanks.

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Error when starting Dashboard for civicrm component from Joomla
March 08, 2010, 03:07:06 pm
Looks like the Dashboard is not finding the CiviCRM contact record linked to your logged in Joomla user. Logging out and logging back in might fix that. Or trying running the 'Synchronize Users to Contacts' from CiviCRM >> Administer >> Manage menu.
Protect your investment in CiviCRM by  becoming a Member!

asiams

  • Guest
Re: Error when starting Dashboard for civicrm component from Joomla
March 08, 2010, 05:08:15 pm
Thank you.

Exactly that was the reason. I was able to come back without any error afterward.

Cheers!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Error when starting Dashboard for civicrm component from Joomla

This forum was archived on 2017-11-26.