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 CiviContribute (Moderator: Donald Lobo) »
  • CiviContribute doesn't complete if includes profile with Joomla user account reg
Pages: [1]

Author Topic: CiviContribute doesn't complete if includes profile with Joomla user account reg  (Read 1260 times)

nicol

  • I post occasionally
  • **
  • Posts: 95
  • Karma: 5
  • CiviCRM version: 4.2, 4.3, 4.4
  • CMS version: Joomla 2.5.x, Joomla 3.x Wordpress 3.x, Drupal 7.x
  • MySQL version: 5.x
  • PHP version: 5.3 / 5.4
CiviContribute doesn't complete if includes profile with Joomla user account reg
March 13, 2012, 03:53:52 pm
Joomla 2.5.2 / Civi 4.1.1 / php 5.3

Hello,

Any contribution page which includes a profile containing a user registration requirement will take me no further than the confirm screen - after this I am returned to the home page which is blank. If I click back on my browser to the form itself it says 'your profile is not stored and your account is not created'. And in the database the Civi record has been created but neither the Joomla user or a uf_match record. It makes no different if using Paypal or pay later by cheque.

There has been some suggestion ( http://forum.civicrm.org/index.php/topic,23185.msg97531.html ) that this is down to Joomla's new recaptcha in the registration process, but I have both not turned this on and disabled the relevant plugin.

I have tried to test it on the demo sandbox here but cannot get user account fields to appear - so I've no idea if this is a 4.1 bug or just a conflict on my setup.

Has anyone got this working on Joomla?  And any clues for fixing?

Many thanks
Nic

d88knapp

  • I’m new here
  • *
  • Posts: 14
  • Karma: 0
    • ISF PTA
  • CiviCRM version: 4.3.1
  • CMS version: Joomla 2.5.10
  • MySQL version: 5.1.57
  • PHP version: 5.3.16
Re: CiviContribute doesn't complete if includes profile with Joomla user account reg
March 13, 2012, 04:15:32 pm
I have what could be the same issue see  "Membership Dues Contribution Page Not Creating Membership Record"

nicol

  • I post occasionally
  • **
  • Posts: 95
  • Karma: 5
  • CiviCRM version: 4.2, 4.3, 4.4
  • CMS version: Joomla 2.5.x, Joomla 3.x Wordpress 3.x, Drupal 7.x
  • MySQL version: 5.x
  • PHP version: 5.3 / 5.4
Re: CiviContribute doesn't complete if includes profile with Joomla user account reg
March 13, 2012, 05:45:18 pm
thanks - I didn't find that when searching.

gurukmlore

  • I’m new here
  • *
  • Posts: 5
  • Karma: 0
  • CiviCRM version: 3.3.3 && 3.4.8
  • CMS version: Joomla 1.5
  • MySQL version: 5.1
  • PHP version: 5.2
Re: CiviContribute doesn't complete if includes profile with Joomla user account reg
March 16, 2012, 06:31:35 am
I am facing the same issue when new registrations.

I have traced the issue and I found one solution but I am not sure is this correct way to fix it!!!!!.

Change the joomla conf 'New User Account Activation' to No. under User Manager: Users --> Options in the right side.
and change the code administrator/components/com_civicrm/civicrm/CRM/Core/BAO/CMSUser.php  approx Line 596 : from $user = JFactory::getUser( $values['username'] ); to $user = JFactory::getUser( $return );

This is due to :
1) If self activation is Yes, then the return value is 'useractive', if its No then it will return the joomla user ID.
2) JFactory::getUser( $values['username'] ); is not returning the user profile detail object, its returning empty array. instead on $values['username'] if I pass joomla user Id then its returning the correct user array object.

Please let me know if any better fix for this issue or I am missing some where in Joomla 2.5.2 or CiviCRM 4.0.8 configurations.

Thanks in advance.

nicol

  • I post occasionally
  • **
  • Posts: 95
  • Karma: 5
  • CiviCRM version: 4.2, 4.3, 4.4
  • CMS version: Joomla 2.5.x, Joomla 3.x Wordpress 3.x, Drupal 7.x
  • MySQL version: 5.x
  • PHP version: 5.3 / 5.4
Re: CiviContribute doesn't complete if includes profile with Joomla user account reg
March 16, 2012, 07:44:19 am
@LCDServices submitted a patch here http://forum.civicrm.org/index.php/topic,23620.0.html which creates a Joomla user (and allows an activation to be sent),

Tho the Joomla user ID is returning as null for me when it tries to link with Civi - I'm not sure if that's because I'm using an upgraded Civi or something else, I'll need to try on a fresh install.


Edit - the latest patch now works for me on J 2.5.2
« Last Edit: March 17, 2012, 07:34:10 am by nicol »

nzampella

  • I post occasionally
  • **
  • Posts: 61
  • Karma: 2
  • CiviCRM version: 4.5.3
  • CMS version: Joomla 3.3.6
  • MySQL version: 5.5.36
  • PHP version: 5.4.31
Re: CiviContribute doesn't complete if includes profile with Joomla user account reg
April 04, 2012, 05:42:03 pm
I had this same issue, and applied the patch to the joomla.php file.   Corrected the issue I described here:

http://forum.civicrm.org/index.php/topic,24136.0.html

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • CiviContribute doesn't complete if includes profile with Joomla user account reg

This forum was archived on 2017-11-26.