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) »
  • Confirmation failure: Undefined index: id in CRM_Core_BAO_Phone::create()
Pages: [1]

Author Topic: Confirmation failure: Undefined index: id in CRM_Core_BAO_Phone::create()  (Read 1221 times)

bcobin

  • I post frequently
  • ***
  • Posts: 337
  • Karma: 9
    • InterCreative Media
  • CiviCRM version: 4.3.3
  • CMS version: Drupal 7.22
  • MySQL version: 5.5.9
  • PHP version: 5.3
Confirmation failure: Undefined index: id in CRM_Core_BAO_Phone::create()
August 31, 2012, 12:55:13 am
Hope I'm posting in the right place...

Two problems with form submission/confirmation process - using Drupal 7.15 and Civi 4.2.0

1. Submitting a form using webform_civicrm with a phone field produces the following error:

Notice: Undefined index: id in CRM_Core_BAO_Phone::create() (line 51 of [site]/sites/all/modules/civicrm/CRM/Core/BAO/Phone.php).

The contact is successfully created, but the error would freak out users. (And freaks me a bit, too.)

2. Confirmation URL in return email is malformed.  Clickable link seems to be created, but nothing happens when clicked. Here's the raw source of a representative message:

You have a pending subscription to the [Group] mailing list. To confirm this subscription, reply to this email or click on this link: http://[site].com/civicrm/mailing/confirm?reset=1&cid=4&sid=3&h=b371a00491f0f555
--=_b4d0a86e611cee43ec6cd27910f0ef88
Content-Transfer-Encoding: 8bit
Content-Type: text/html; charset=utf-8

I don't know if these are related - probably not - but, in any event, the form submission process fails.

Any ideas what might be going on here? Dead in the water until I can solve these issues... any guidance much appreciated!


Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Confirmation failure: Undefined index: id in CRM_Core_BAO_Phone::create()
August 31, 2012, 04:30:10 am
They are not related - you should log a ticket for the first one - but you should also be able to suppress it by turning E-Notice logging off - google E-Notice & settings.php  - e.g

http://sivaji.drupalgardens.com/how-prevent-php-notices-logging-watchdog

not so sure what the second one is

Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

bcobin

  • I post frequently
  • ***
  • Posts: 337
  • Karma: 9
    • InterCreative Media
  • CiviCRM version: 4.3.3
  • CMS version: Drupal 7.22
  • MySQL version: 5.5.9
  • PHP version: 5.3
Re: Confirmation failure: Undefined index: id in CRM_Core_BAO_Phone::create()
August 31, 2012, 07:07:49 am
Eileen,

You're the best. Will try the first; the second looks like it might be a reoccurence of a bug that was squashed earlier:

http://forum.civicrm.org/index.php/topic,25100.msg105905.html#msg105905

Will try now and report back... thank you!

bcobin

  • I post frequently
  • ***
  • Posts: 337
  • Karma: 9
    • InterCreative Media
  • CiviCRM version: 4.3.3
  • CMS version: Drupal 7.22
  • MySQL version: 5.5.9
  • PHP version: 5.3
Re: Confirmation failure: Undefined index: id in CRM_Core_BAO_Phone::create()
August 31, 2012, 01:49:33 pm
Thanks, Eileen - the first does, indeed, eliminate the error and the second relates to the issue in the link.

I ended up reinstalling Civi for another reason (a false alarm, as it turned out) and the issue - an extra space in the token construction - didn't appear in the codebase. Don't know how it got there the first time - perhaps a decompression error? Yikes.

Anyway, everything's working now - woo hoo! Thanks again, Eileen - a goddess indeed!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Confirmation failure: Undefined index: id in CRM_Core_BAO_Phone::create()

This forum was archived on 2017-11-26.