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) »
  • Signup adds contact but throws error
Pages: [1]

Author Topic: Signup adds contact but throws error  (Read 1360 times)

drubage

  • I post occasionally
  • **
  • Posts: 32
  • Karma: 0
Signup adds contact but throws error
August 31, 2010, 08:48:20 am
We are getting the following error when a user signs up on our Drupal site (here is the error and backtrace):

Aug 31 09:36:06  [info] $Fatal Error Details = Array
(
    [message] => We experienced an unexpected error. Please post a detailed description and the backtrace on the CiviCRM forums: http://forum.civicrm.org/
   
Code: [Select]
=>
)


Aug 31 09:36:06  [info] $backTrace = C:\inetpub\wwwroot\www.ainc.org\sites\all\modules\civicrm\CRM\Core\Error.php, backtrace, 264
C:\inetpub\wwwroot\www.ainc.org\sites\all\modules\civicrm\CRM\Core\BAO\Domain.php, fatal, 85
C:\inetpub\wwwroot\www.ainc.org\sites\all\modules\civicrm\CRM\Core\BAO\MessageTemplates.php, getDomain, 391
C:\inetpub\wwwroot\www.ainc.org\sites\all\modules\civicrm\CRM\Core\BAO\UFGroup.php, sendTemplate, 1991
C:\inetpub\wwwroot\www.ainc.org\sites\all\modules\civicrm\CRM\Profile\Form.php, commonSendMail, 808
C:\inetpub\wwwroot\www.ainc.org\sites\all\modules\civicrm\CRM\Profile\Form\Dynamic.php, postProcess, 128
C:\inetpub\wwwroot\www.ainc.org\sites\all\modules\civicrm\CRM\Core\Form.php, postProcess, 250
C:\inetpub\wwwroot\www.ainc.org\sites\all\modules\civicrm\CRM\Core\QuickForm\Action\Upload.php, mainProcess, 153
C:\inetpub\wwwroot\www.ainc.org\sites\all\modules\civicrm\CRM\Core\QuickForm\Action\Upload.php, realPerform, 130
C:\inetpub\wwwroot\www.ainc.org\sites\all\modules\civicrm\packages\HTML\QuickForm\Controller.php, perform, 203
C:\inetpub\wwwroot\www.ainc.org\sites\all\modules\civicrm\packages\HTML\QuickForm\Page.php, handle, 103
C:\inetpub\wwwroot\www.ainc.org\sites\all\modules\civicrm\CRM\Core\Controller.php, handle, 263
C:\inetpub\wwwroot\www.ainc.org\sites\all\modules\civicrm\CRM\Core\BAO\UFGroup.php, run, 534
C:\inetpub\wwwroot\www.ainc.org\sites\all\modules\civicrm\drupal\civicrm.module, getEditHTML, 520
C:\inetpub\wwwroot\www.ainc.org\sites\all\modules\civicrm\drupal\civicrm.module, civicrm_register_data, 405
C:\inetpub\wwwroot\www.ainc.org\modules\user\user.module, civicrm_user, 22
C:\inetpub\wwwroot\www.ainc.org\modules\user\user.module, user_module_invoke, 338
C:\inetpub\wwwroot\www.ainc.org\modules\user\user.module, user_save, 2342
C:\inetpub\wwwroot\www.ainc.org\includes\form.inc, user_register_submit, 776
C:\inetpub\wwwroot\www.ainc.org\includes\form.inc, form_execute_handlers, 416
C:\inetpub\wwwroot\www.ainc.org\includes\form.inc, drupal_process_form, 119
, drupal_get_form,
C:\inetpub\wwwroot\www.ainc.org\includes\menu.inc, call_user_func_array, 348
C:\inetpub\wwwroot\www.ainc.org\index.php, menu_execute_active_handler, 18

The weird thing is that a user is created at Drupal and a contact is created at CiviCRM but it does not log the user in and it shows this error. At the same time, we seem to be having trouble saving configuration settings in the back-end. Like I went to the debugging page, selected some options and then saved and the next time I load the page none of those options are checked. Security settings on files/folders seem file, help!

    -Drew

drubage

  • I post occasionally
  • **
  • Posts: 32
  • Karma: 0
Re: Signup adds contact but throws error
August 31, 2010, 01:48:46 pm
Okay more information now. I just filled out a profile and it saved everything for the contact BUT it said:

Sorry. A non-recoverable error has occurred.

We experienced an unexpected error. Please post a detailed description and the backtrace on the CiviCRM forums: http://forum.civicrm.org/

Backtrace is:

C:\inetpub\wwwroot\www.ainc.org\sites\all\modules\civicrm\CRM\Core\Error.php, backtrace, 264
C:\inetpub\wwwroot\www.ainc.org\sites\all\modules\civicrm\CRM\Core\BAO\Domain.php, fatal, 85
C:\inetpub\wwwroot\www.ainc.org\sites\all\modules\civicrm\CRM\Core\BAO\MessageTemplates.php, getDomain, 391
C:\inetpub\wwwroot\www.ainc.org\sites\all\modules\civicrm\CRM\Core\BAO\UFGroup.php, sendTemplate, 1991
C:\inetpub\wwwroot\www.ainc.org\sites\all\modules\civicrm\CRM\Profile\Form.php, commonSendMail, 808
C:\inetpub\wwwroot\www.ainc.org\sites\all\modules\civicrm\CRM\Profile\Form\Edit.php, postProcess, 228
C:\inetpub\wwwroot\www.ainc.org\sites\all\modules\civicrm\CRM\Core\Form.php, postProcess, 250
C:\inetpub\wwwroot\www.ainc.org\sites\all\modules\civicrm\CRM\Core\StateMachine.php, mainProcess, 167
C:\inetpub\wwwroot\www.ainc.org\sites\all\modules\civicrm\CRM\Core\QuickForm\Action\Next.php, perform, 64
C:\inetpub\wwwroot\www.ainc.org\sites\all\modules\civicrm\packages\HTML\QuickForm\Controller.php, perform, 203
C:\inetpub\wwwroot\www.ainc.org\sites\all\modules\civicrm\packages\HTML\QuickForm\Page.php, handle, 103
C:\inetpub\wwwroot\www.ainc.org\sites\all\modules\civicrm\CRM\Core\Controller.php, handle, 263
C:\inetpub\wwwroot\www.ainc.org\sites\all\modules\civicrm\CRM\Core\Invoke.php, run, 314
, profile,
C:\inetpub\wwwroot\www.ainc.org\sites\all\modules\civicrm\CRM\Core\Invoke.php, call_user_func, 182
C:\inetpub\wwwroot\www.ainc.org\sites\all\modules\civicrm\drupal\civicrm.module, invoke, 349
, civicrm_invoke,
C:\inetpub\wwwroot\www.ainc.org\includes\menu.inc, call_user_func_array, 348
C:\inetpub\wwwroot\www.ainc.org\index.php, menu_execute_active_handler, 18

If anyone has any clues please help. We moved our site from a Windows server to a Unix server and seemed to have everything working. Then we had to move back to the Windows machine and now we get these errors. I am not sure if there's a config file not set correctly or something but if anyone knows something from the backtrace it would be most helpful, thanks!

   -Drew

drubage

  • I post occasionally
  • **
  • Posts: 32
  • Karma: 0
Re: Signup adds contact but throws error
August 31, 2010, 01:55:39 pm
Hm, seems our domain table was empty in the database. When I tried to update the site at /civicrm/admin/setting/updateConfigBackend?reset=1 it gave me this message and nothing was saved to that domain table:

Your changes have been saved. Version information found to be missing in database. You will need to determine the correct version corresponding to your current database state.

Also, I had a lot of problems with the /sites/default/files/civicrm/templates_c/en_US/ConfigAndLog/Config.IDS.ini not updating, I always had to update it by hand. Is this normal when moving CiviCRM around?

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: Signup adds contact but throws error
August 31, 2010, 02:26:54 pm

1. an empty domain table does mean that something is wrong with the DB. the domain table is fairly important to civicrm (and holds most of the config info)

2. the instructions here:

http://wiki.civicrm.org/confluence/display/CRMDOC32/Moving+an+Existing+Installation+to+a+New+Server+or+Location

step 8, basically cleans out your templates_c directory (and hence the Config.IDS.ini directory also)

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

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Signup adds contact but throws error

This forum was archived on 2017-11-26.