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 »
  • Installing CiviCRM »
  • Joomla! Installations (Moderator: Deepak Srivastava) »
  • J1.6 & Civi 4.x no longer working....
Pages: [1]

Author Topic: J1.6 & Civi 4.x no longer working....  (Read 1267 times)

TheEdge

  • I post occasionally
  • **
  • Posts: 63
  • Karma: 0
  • CiviCRM version: 4.5.0
  • CMS version: Joomla 3.3.4
  • MySQL version: 5.6.17
  • PHP version: 5.4.32
J1.6 & Civi 4.x no longer working....
May 22, 2011, 06:14:39 pm
G'Day,

I had to change the username for the mySQL DB user. After changing the J! configuration all is fine (ie yearofthefarmer user can access the DB). However in the back end as soon as I click on Components > CiviCRM I get the following error. Is CiviCRM using a different DB username/password combination to the one that is configured for J!? If so where is the config file that I can change to enter the correct (revised) password?

Code: [Select]
Array
(
    [callback] => Array
        (
            [0] => CRM_Core_Error
            [1] => simpleHandler
        )

    [code] => -24
    [message] => DB Error: connect failed
    [mode] => 16
    [debug_info] =>  [nativecode=Access denied for user 'yearofthefarmer'@'localhost' (using password: YES)]
    [type] => DB_Error
    [user_info] =>  [nativecode=Access denied for user 'yearofthefarmer'@'localhost' (using password: YES)]
    [to_string] => [db_error: message="DB Error: connect failed" code=-24 mode=callback callback=CRM_Core_Error::simpleHandler prefix="" info=" [nativecode=Access denied for user 'yearofthefarmer'@'localhost' (using password: YES)]"]
)

backTrace

/home/yearofthefarmer/domains/launch.yearofthefarmer.com.au/public_html/administrator/components/com_civicrm/civicrm/CRM/Core/Error.php, backtrace, 235
, simpleHandler,
/home/yearofthefarmer/domains/launch.yearofthefarmer.com.au/public_html/administrator/components/com_civicrm/civicrm/packages/PEAR.php, call_user_func, 931
/home/yearofthefarmer/domains/launch.yearofthefarmer.com.au/public_html/administrator/components/com_civicrm/civicrm/packages/DB.php, PEAR_Error, 968
/home/yearofthefarmer/domains/launch.yearofthefarmer.com.au/public_html/administrator/components/com_civicrm/civicrm/packages/PEAR.php, DB_Error, 564
/home/yearofthefarmer/domains/launch.yearofthefarmer.com.au/public_html/administrator/components/com_civicrm/civicrm/packages/DB/common.php, raiseError, 1903
/home/yearofthefarmer/domains/launch.yearofthefarmer.com.au/public_html/administrator/components/com_civicrm/civicrm/packages/DB/mysql.php, raiseError, 252
/home/yearofthefarmer/domains/launch.yearofthefarmer.com.au/public_html/administrator/components/com_civicrm/civicrm/packages/DB.php, connect, 558
/home/yearofthefarmer/domains/launch.yearofthefarmer.com.au/public_html/administrator/components/com_civicrm/civicrm/packages/DB/DataObject.php, connect, 2287
/home/yearofthefarmer/domains/launch.yearofthefarmer.com.au/public_html/administrator/components/com_civicrm/civicrm/packages/DB/DataObject.php, _connect, 2525
/home/yearofthefarmer/domains/launch.yearofthefarmer.com.au/public_html/administrator/components/com_civicrm/civicrm/packages/DB/DataObject.php, _build_condition, 411
/home/yearofthefarmer/domains/launch.yearofthefarmer.com.au/public_html/administrator/components/com_civicrm/civicrm/CRM/Core/BAO/Setting.php, find, 209
/home/yearofthefarmer/domains/launch.yearofthefarmer.com.au/public_html/administrator/components/com_civicrm/civicrm/CRM/Core/Config.php, retrieve, 397
/home/yearofthefarmer/domains/launch.yearofthefarmer.com.au/public_html/administrator/components/com_civicrm/civicrm/CRM/Core/Config.php, _initVariables, 202
/home/yearofthefarmer/domains/launch.yearofthefarmer.com.au/public_html/administrator/components/com_civicrm/admin.civicrm.php, singleton, 48
/home/yearofthefarmer/domains/launch.yearofthefarmer.com.au/public_html/administrator/components/com_civicrm/admin.civicrm.php, civicrm_init, 59
/home/yearofthefarmer/domains/launch.yearofthefarmer.com.au/public_html/administrator/components/com_civicrm/admin.civicrm.php, civicrm_invoke, 45
/home/yearofthefarmer/domains/launch.yearofthefarmer.com.au/public_html/libraries/joomla/application/component/helper.php, require_once, 152
/home/yearofthefarmer/domains/launch.yearofthefarmer.com.au/public_html/administrator/includes/application.php, renderComponent, 154
/home/yearofthefarmer/domains/launch.yearofthefarmer.com.au/public_html/administrator/index.php, dispatch, 47

lcdweb

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1620
  • Karma: 116
    • www.lcdservices.biz
  • CiviCRM version: many versions...
  • CMS version: Joomla/Drupal
  • MySQL version: 5.1+
  • PHP version: 5.2+
Re: J1.6 & Civi 4.x no longer working....
May 22, 2011, 08:59:25 pm
Civi stores the db connection data separately from joomla, because its possible to configure civi to use a different db than the main joomla db.

you'll need to edit the settings in two files:
components/com_civicrm/civicrm.settings.php
administrator/components/com_civicrm/civicrm.settings.php

the necessary config lines are well commented, so just follow the guidance within the files.
support CiviCRM through 'make it happen' initiatives!
http://civicrm.org/mih

TheEdge

  • I post occasionally
  • **
  • Posts: 63
  • Karma: 0
  • CiviCRM version: 4.5.0
  • CMS version: Joomla 3.3.4
  • MySQL version: 5.6.17
  • PHP version: 5.4.32
Re: J1.6 & Civi 4.x no longer working....
May 22, 2011, 09:47:45 pm
Thanks heaps. That worked a treat.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Joomla! Installations (Moderator: Deepak Srivastava) »
  • J1.6 & Civi 4.x no longer working....

This forum was archived on 2017-11-26.