Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-638

Joomla: Synchronise Users to contacts error caused by incorrect table prefix

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 1.3
    • Fix Version/s: 1.3
    • Component/s: None
    • Labels:
      None

      Description

      Synchonisation fails in Joomla because of an incorrent table prefix. The user table in Joomla is jos_users the sync script looks for mos_users. Error is:

      Sorry. A non-recoverable error has occurred.

      Database Error Code: Table 'redrorg_db2.mos_users' doesn't exist, 1146

      Return to CiviCRM menu.

      error

      Array
      (
      [callback] => Array
      (
      [0] => CRM_Core_Error
      [1] => handle
      )

      [code] => -18
      [message] => DB Error: no such table
      [mode] => 16
      [debug_info] => SELECT id, email FROM mos_users where email != '' [nativecode=1146 ** Table 'redrorg_db2.mos_users' doesn't exist]
      [type] => db_error
      [user_info] => SELECT id, email FROM mos_users where email != '' [nativecode=1146 ** Table 'redrorg_db2.mos_users' doesn't exist]
      [to_string] => [db_error: message="DB Error: no such table" code=-18 mode=callback callback=CRM_Core_Error::handle prefix="" info="SELECT id, email FROM mos_users where email != '' [nativecode=1146 ** Table 'redrorg_db2.mos_users' doesn't exist]"]
      )

        Attachments

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              larpo David Larpent
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: