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 CiviMember (Moderator: Deepak Srivastava) »
  • Error submitting form for existing user
Pages: [1]

Author Topic: Error submitting form for existing user  (Read 2160 times)

Wonder95

  • Guest
Error submitting form for existing user
February 03, 2008, 01:59:57 pm
I have a membership signup profile created, and it is set up so it shows up in the Drupal user pages.  When I create a new user from scratch, it works just fine.  However, if just the basic Drupal user info has been entered, if I go back, edit the user, and enter the data, when I submit the form, I get this error:

Code: [Select]
Error Details:

Array
(
    [callback] => Array
        (
            [0] => CRM_Core_Error
            [1] => handle
        )

    [code] => 0
    [message] =>
    [mode] => 16
    [debug_info] =>
    [type] => PEAR_Error
    [user_info] =>
    [to_string] => [pear_error: message="" code=0 mode=callback callback=CRM_Core_Error::handle prefix="" info=""]

Here is the backtrace.

Code: [Select]
/home/campfire/public_html/members/sites/all/modules/civicrm/CRM/Core/Error.php, backtrace, 148
, handle,
/home/campfire/public_html/members/sites/all/modules/civicrm/packages/PEAR.php, call_user_func, 901
/home/campfire/public_html/members/sites/all/modules/civicrm/packages/PEAR.php, PEAR_Error, 566
/home/campfire/public_html/members/sites/all/modules/civicrm/packages/Net/Socket.php, raiseError, 143
/home/campfire/public_html/members/sites/all/modules/civicrm/packages/Net/SMTP.php, connect, 311
/home/campfire/public_html/members/sites/all/modules/civicrm/packages/Mail/smtp.php, connect, 231
/home/campfire/public_html/members/sites/all/modules/civicrm/CRM/Utils/Mail.php, send, 153
/home/campfire/public_html/members/sites/all/modules/civicrm/CRM/Core/BAO/UFGroup.php, send, 1841
/home/campfire/public_html/members/sites/all/modules/civicrm/CRM/Profile/Form.php, commonSendMail, 654
/home/campfire/public_html/members/sites/all/modules/civicrm/CRM/Profile/Form/Dynamic.php, postProcess, 128
/home/campfire/public_html/members/sites/all/modules/civicrm/CRM/Core/QuickForm/Action/Submit.php, postProcess, 77
/home/campfire/public_html/members/sites/all/modules/civicrm/packages/HTML/QuickForm/Controller.php, perform, 195
/home/campfire/public_html/members/sites/all/modules/civicrm/packages/HTML/QuickForm/Page.php, handle, 95
/home/campfire/public_html/members/sites/all/modules/civicrm/CRM/Core/Controller.php, handle, 220
/home/campfire/public_html/members/sites/all/modules/civicrm/CRM/Core/BAO/UFGroup.php, run, 527
/home/campfire/public_html/members/sites/all/modules/civicrm/drupal/civicrm.module, getEditHTML, 526
/home/campfire/public_html/members/sites/all/modules/civicrm/drupal/civicrm.module, civicrm_form_data, 412
, civicrm_user,
/home/campfire/public_html/members/includes/module.inc, call_user_func_array, 386
/home/campfire/public_html/members/modules/user/user.module, module_invoke, 2460
/home/campfire/public_html/members/modules/user/user.module, _user_forms, 1443
, user_edit,
/home/campfire/public_html/members/includes/form.inc, call_user_func_array, 218
, drupal_retrieve_form,
/home/campfire/public_html/members/includes/form.inc, call_user_func_array, 69
, drupal_get_form,
/home/campfire/public_html/members/includes/menu.inc, call_user_func_array, 418
/home/campfire/public_html/members/index.php, menu_execute_active_handler, 15

Does anybody know why this is happening?

Thanks.[/code]

Deepak Srivastava

  • Moderator
  • Ask me questions
  • *****
  • Posts: 677
  • Karma: 65
Re: Error submitting form for existing user
February 04, 2008, 12:20:14 am
Problem looks to be associated with email ID (looking at the backtrace).

Check if user has the valid email address.
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

Wonder95

  • Guest
Re: Error submitting form for existing user
February 05, 2008, 07:43:26 pm
The e-mail addresses are valid.  However, there is no e-mail address field in the profile.  I am just using the one that is entered as part of the Drupal account.

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Error submitting form for existing user
February 05, 2008, 09:46:02 pm
Where are you using this is profile ? Drupal User Registration Screen ?

Can you try to set this profile on http://sandbox.civicrm.org.

kurund
Found this reply helpful? Support CiviCRM

Wonder95

  • Guest
Re: Error submitting form for existing user
February 06, 2008, 06:11:00 pm
I am using it in two places:
1) The Drupal user registration screen
2) My contribution pages used for membership registration

I am adding it to the sandbox as "CCFS Registrations".

Thanks.

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Error submitting form for existing user
February 06, 2008, 11:27:42 pm
I was not able to replicate your problem with "CCFS Registrations", profile on sandbox. Looking at the backtrace, it is definitely smtp or invalid email address problem.

kurund
Found this reply helpful? Support CiviCRM

Wonder95

  • Guest
Re: Error submitting form for existing user
February 07, 2008, 08:26:36 pm
You were right.  My SMTP settings weren't as correct as I thought they were.  Once I fixed them, I stopped getting the error.

Gracias.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMember (Moderator: Deepak Srivastava) »
  • Error submitting form for existing user

This forum was archived on 2017-11-26.