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 »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • Since recent 4.3.x upgrades Phone fields on profile on contrib page cause error
Pages: [1]

Author Topic: Since recent 4.3.x upgrades Phone fields on profile on contrib page cause error  (Read 1956 times)

jackrabbithanna

  • I post occasionally
  • **
  • Posts: 61
  • Karma: 3
  • Quick like bunny
    • http://www.skvare.com
  • CiviCRM version: 4.3.5
  • CMS version: Drupal 7.23
  • MySQL version: 5.1
  • PHP version: 5.3.3
Since recent 4.3.x upgrades Phone fields on profile on contrib page cause error
May 13, 2013, 02:01:44 pm
I had a join contribution page which has a profile with 2 phone fields, one for home and one for mobile.  The site got upgraded to 4.3 and now when anyone submits the form they get an unknown DB error and cannot contribute.

When I remove the phone fields from the profile, it all works smoothly. Bug in new version to do with the phone fields??

I've heard about a 4.3.2 installer bug and something about a missing db trigger? Started a thread in the profiles form here:
http://forum.civicrm.org/index.php/topic,28748.new.html#new
but felt now that this forum is more appropriate

In the drupal log i see this:
<code>
$Fatal Error Details = Array ( [callback] => Array (
    => CRM_Core_Error [1] => handle )  => -1 [message] => DB Error: unknown error [mode] => 16 [debug_info] => UPDATE civicrm_phone SET contact_id = 2272 , location_type_id = 2 , is_primary = 0 , is_billing = 0 , phone = '555-555-5555' , phone_type_id = 1 WHERE ( civicrm_phone.id = 3813 ) [nativecode=1305 ** FUNCTION skvare_awc_civicrm.civicrm_strip_non_numeric does not exist] [type] => DB_Error [user_info] => UPDATE civicrm_phone SET contact_id = 2272 , location_type_id = 2 , is_primary = 0 , is_billing = 0 , phone = '555-555-5555' , phone_type_id = 1 WHERE ( civicrm_phone.id = 3813 ) [nativecode=1305 ** FUNCTION skvare_awc_civicrm.civicrm_strip_non_numeric does not exist] [to_string] => [db_error: message="DB Error: unknown error" code=-1 mode=callback callback=CRM_Core_Error::handle prefix="" info="UPDATE civicrm_phone SET contact_id = 2272 , location_type_id = 2 , is_primary = 0 , is_billing = 0 , phone = '555-555-5555' , phone_type_id = 1 WHERE ( civicrm_phone.id = 3813 ) [nativecode=1305 ** FUNCTION skvare_awc_civicrm.civicrm_strip_non_numeric does not exist]"] )
</code>

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: Since recent 4.3.x upgrades Phone fields on profile on contrib page cause error
May 13, 2013, 02:06:58 pm

can you also do a trigger rebuild just to make sure

q=civicrm/menu/rebuild&reset=1&triggerRebuild=1

thanx

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

Slovak

  • I post occasionally
  • **
  • Posts: 89
  • Karma: 3
    • My website
  • CiviCRM version: 3.4.x, 4.2.x
  • CMS version: Drupal 6.x, 7.x
  • MySQL version: 5.5.29
  • PHP version: 5.3.10
Re: Since recent 4.3.x upgrades Phone fields on profile on contrib page cause error
May 13, 2013, 03:48:07 pm
Seems related to http://forum.civicrm.org/index.php/topic,28652.msg122768.html

jackrabbithanna

  • I post occasionally
  • **
  • Posts: 61
  • Karma: 3
  • Quick like bunny
    • http://www.skvare.com
  • CiviCRM version: 4.3.5
  • CMS version: Drupal 7.23
  • MySQL version: 5.1
  • PHP version: 5.3.3
Re: Since recent 4.3.x upgrades Phone fields on profile on contrib page cause error
May 13, 2013, 04:59:40 pm
Solution worked.

It errored the first time tried, but after giving the civicrm db user some enhanced privileges it ran and solved the issue.

jackrabbithanna

  • I post occasionally
  • **
  • Posts: 61
  • Karma: 3
  • Quick like bunny
    • http://www.skvare.com
  • CiviCRM version: 4.3.5
  • CMS version: Drupal 7.23
  • MySQL version: 5.1
  • PHP version: 5.3.3
Re: Since recent 4.3.x upgrades Phone fields on profile on contrib page cause error
June 06, 2013, 06:46:26 am
This problem keeps cropping up.....I can run the db trigger rebuild like you recommend and it will work for a few days....then all of a sudden....BOOM....my customer is calling me and reporting errors....I look and the log and its the phone problem again...Run the db triggers and it fixes it...but it has become obvious to me that this is a symptom of some deeper underlying issue...

Why should I have to rebuild the triggers every few days or week?

jackrabbithanna

  • I post occasionally
  • **
  • Posts: 61
  • Karma: 3
  • Quick like bunny
    • http://www.skvare.com
  • CiviCRM version: 4.3.5
  • CMS version: Drupal 7.23
  • MySQL version: 5.1
  • PHP version: 5.3.3
Re: Since recent 4.3.x upgrades Phone fields on profile on contrib page cause error
June 06, 2013, 11:54:29 am
     

Ok some new information on this issue....

It appears that enabling/disabling either Drupal modules or CiviCRM extensions is necessitating a trigger rebuild for us...

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • Since recent 4.3.x upgrades Phone fields on profile on contrib page cause error

This forum was archived on 2017-11-26.