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 CiviEvent (Moderator: Yashodha Chaku) »
  • Event registration problem in CiviCRM4.1 with WordPress3.4
Pages: [1]

Author Topic: Event registration problem in CiviCRM4.1 with WordPress3.4  (Read 561 times)

adiyya

  • I’m new here
  • *
  • Posts: 26
  • Karma: 0
    • Click & Pledge
  • CiviCRM version: 4.1
  • CMS version: joomla 1.7, Drupal7.0, WordPress3.4
  • MySQL version: 5.2
  • PHP version: 5.3
Event registration problem in CiviCRM4.1 with WordPress3.4
July 31, 2012, 06:10:57 am
Hi All,

I have installed WordPress3.4 and CiviCRM4.1.5. While registering after click on confirm button it stops the execution no clue to find out the error.

Could any one help in this. Iam using CiviCRM & WordPress with default settings.

Thanks in advance

Regards,
Adi T
Adi T | Click & Pledge®
Email:  tadikamalla.adiyya@clickandpledge.com

adiyya

  • I’m new here
  • *
  • Posts: 26
  • Karma: 0
    • Click & Pledge
  • CiviCRM version: 4.1
  • CMS version: joomla 1.7, Drupal7.0, WordPress3.4
  • MySQL version: 5.2
  • PHP version: 5.3
Re: Event registration problem in CiviCRM4.1 with WordPress3.4
July 31, 2012, 11:47:28 pm
Hi All,

I found that one function is missing in the CiviCRM 4.1.5 installation for WordPress3.3.1.

'updateCMSName' function in CRM\Utils\System\WordPress.php is missed. But it was called in CRM\Core\BAO\UFMatch.php line 433  $config->userSystem->updateCMSName($ufmatch->uf_id, $ufName);

I wrote the function in  CRM\Utils\System\WordPress.php
  function updateCMSName($ufID, $ufName) {
    $ufID = CRM_Utils_Type::escape($ufID, 'Integer');
    $ufName = CRM_Utils_Type::escape($ufName, 'String');
   
   
    $values = array ('ID' => $ufID, 'user_email' => $ufName);
   if( $ufID )
      wp_update_user( $values ) ;
  }

Then everything working fine.

Am I correct in this way or any other thoughts? Is any one faced the same problem?

Regards,
Adiyya T
Adi T | Click & Pledge®
Email:  tadikamalla.adiyya@clickandpledge.com

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Event registration problem in CiviCRM4.1 with WordPress3.4
August 01, 2012, 07:34:07 am

Thanx for the patch. This is now fixed for v4.1.6

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

RachelWright

  • I post occasionally
  • **
  • Posts: 78
  • Karma: 3
  • CiviCRM version: 4.2.7
  • CMS version: Joomla 2.5.17
  • MySQL version: 5.5.37
  • PHP version: 5.4.26
Re: Event registration problem in CiviCRM4.1 with WordPress3.4
August 06, 2012, 07:34:11 pm
I too had this problem and your patch was a lifesaver!!!!!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Event registration problem in CiviCRM4.1 with WordPress3.4

This forum was archived on 2017-11-26.