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) »
  • Problem when syncing users in Joomla
Pages: [1]

Author Topic: Problem when syncing users in Joomla  (Read 948 times)

ken

  • I live on this forum
  • *****
  • Posts: 916
  • Karma: 53
    • City Bible Forum
  • CiviCRM version: 4.6.3
  • CMS version: Drupal 7.36
  • MySQL version: 5.5.41
  • PHP version: 5.3.10
Problem when syncing users in Joomla
January 31, 2008, 10:10:34 pm
I was getting the following error when I attempted to sync Joomla users with contacts (I expect that CiviCRM should create a contact for the 1 Joomla user I added) ...

unrecoverable error
    Sorry. A non-recoverable error has occurred.
    Database Error Code: Table 'xxxx.users' doesn't exist, 1146
Error Details:
Array
(
    [callback] => Array([0] => CRM_Core_Error [1] => handle)
   
Code: [Select]
=> -18
    [message] => DB Error: no such table
    [mode] => 16
    [debug_info] => SELECT id, email, username FROM users where email != '' [nativecode=1146 ** Table 'xxxx.users' doesn't exist]
    [type] => DB_Error
    [user_info] => SELECT id, email, username FROM users where email != '' [nativecode=1146 ** Table 'xxxx.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, username FROM users where email != '' [nativecode=1146 ** Table 'xxxx.users' doesn't exist]"]
)

I tried the forums and nothing matched except http://forum.civicrm.org/index.php/topic,96.0.html - I checked civicrm.settings.php as Lobo advised and it looks OK for Joomla 1.0.13 ...

define( 'CIVICRM_UF'               , 'Joomla'        );
define( 'CIVICRM_UF_VERSION'       , '1.0' );
define( 'CIVICRM_UF_USERSTABLENAME', 'jos_users' );

I also noticed under Global Settings in Administer CiviCRM there is a link to Joomla Integration settings (new in 2.0) with Joomla version set to "5.3" and Joomla Users Table set to "users". Setting these to "1.0" and "jos_users" fixes the problem.

There are 2 issues: I couldn't find any guidance on the Joomla Integration Settings; and can't the installation script set them correctly (like civicrm.settings.php)?

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Problem when syncing users in Joomla
January 31, 2008, 11:04:17 pm
Quote
I also noticed under Global Settings in Administer CiviCRM there is a link to Joomla Integration settings (new in 2.0) with Joomla version set to "5.3" and Joomla Users Table set to "users".

You need to fix above Joomla verison and User Table values.  We have moved this settings from file to db.

HTH

kurund
Found this reply helpful? Support CiviCRM

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Problem when syncing users in Joomla

This forum was archived on 2017-11-26.